How to add support of several unicode letters inside a document?UTF-8 (BMP character set) support in listings.Latin Extended: Latin Capital Letter A With StrokeHow to allign brackets with the text?Typesetting a document using Arabic scriptHow to add unicode (devanagari) text to a LaTeX document without using XeTeX or LuaTeX?Simple transliteration in LaTeX (for Latin)Doubts for customize classicthesisUnicode support for em-dashRussian for biblerefAccented letters, Unicode and LaTeX accentsType direct several languages in Xelatex using unicodeHow to support unicode characters in metapost?Add unicode character to document
Could I be denied entry into Ireland due to medical and police situations during a previous UK visit?
Biblical Basis for 400 years of silence between old and new testament
Comment dit-on « I’ll tell you what » ?
If Sweden was to magically float away, at what altitude would it be visible from the southern hemisphere?
Why does the 6502 have the BIT instruction?
Creating Fictional Slavic Place Names
Do you play the upbeat when beginning to play a series of notes, and then after?
Socratic Paradox
Can non-English-speaking characters use wordplay specific to English?
Does `declare -a A` create an empty array `A` in Bash?
What is the intuition behind uniform continuity?
Smart people send dumb people to a new planet on a space craft that crashes into a body of water
How can I prevent interns from being expendable?
What does "Marchentalender" on the front of a postcard mean?
What does it mean when you think without speaking?
Why is A union B also called "A or B"?
US entry in Atlanta airport (ATL) together with a US citizen
Is there an evolutionary advantage to having two heads?
What is/are this/these giant NASA box(es)?
Yandex programming contest: Alarms
How can I include a header file that contains `>` in its name?
How to properly maintain eye contact with people that have distinctive facial features?
Infinitely many hats
In what episode of TOS did a character on the bridge make a comment about raising the number 1 to some power?
How to add support of several unicode letters inside a document?
UTF-8 (BMP character set) support in listings.Latin Extended: Latin Capital Letter A With StrokeHow to allign brackets with the text?Typesetting a document using Arabic scriptHow to add unicode (devanagari) text to a LaTeX document without using XeTeX or LuaTeX?Simple transliteration in LaTeX (for Latin)Doubts for customize classicthesisUnicode support for em-dashRussian for biblerefAccented letters, Unicode and LaTeX accentsType direct several languages in Xelatex using unicodeHow to support unicode characters in metapost?Add unicode character to document
I have a few dozens of letters that I want to use inside document without auxiliary symbols (as a plain text).
How should I tune up latex for it?
I.e. As I see babel package allows to solve the same problem with a predefined sets of letters (usepackage[russian, german, french]babel). I want to have a kind of a set with other letters.
Thank you for an answer.
symbols babel unicode languages
add a comment |
I have a few dozens of letters that I want to use inside document without auxiliary symbols (as a plain text).
How should I tune up latex for it?
I.e. As I see babel package allows to solve the same problem with a predefined sets of letters (usepackage[russian, german, french]babel). I want to have a kind of a set with other letters.
Thank you for an answer.
symbols babel unicode languages
If we would know the letters or langauge, we might be able to help you better? With a unicode engine and a OTF font that has the letters, there shouldn't be real problems. What have you got?
– Johannes_B
May 15 at 13:03
@Johannes_B I need these letters to be used: АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNnOoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
– Егор Карпов
May 15 at 13:17
add a comment |
I have a few dozens of letters that I want to use inside document without auxiliary symbols (as a plain text).
How should I tune up latex for it?
I.e. As I see babel package allows to solve the same problem with a predefined sets of letters (usepackage[russian, german, french]babel). I want to have a kind of a set with other letters.
Thank you for an answer.
symbols babel unicode languages
I have a few dozens of letters that I want to use inside document without auxiliary symbols (as a plain text).
How should I tune up latex for it?
I.e. As I see babel package allows to solve the same problem with a predefined sets of letters (usepackage[russian, german, french]babel). I want to have a kind of a set with other letters.
Thank you for an answer.
symbols babel unicode languages
symbols babel unicode languages
asked May 15 at 13:00
Егор КарповЕгор Карпов
61
61
If we would know the letters or langauge, we might be able to help you better? With a unicode engine and a OTF font that has the letters, there shouldn't be real problems. What have you got?
– Johannes_B
May 15 at 13:03
@Johannes_B I need these letters to be used: АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNnOoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
– Егор Карпов
May 15 at 13:17
add a comment |
If we would know the letters or langauge, we might be able to help you better? With a unicode engine and a OTF font that has the letters, there shouldn't be real problems. What have you got?
– Johannes_B
May 15 at 13:03
@Johannes_B I need these letters to be used: АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNnOoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
– Егор Карпов
May 15 at 13:17
If we would know the letters or langauge, we might be able to help you better? With a unicode engine and a OTF font that has the letters, there shouldn't be real problems. What have you got?
– Johannes_B
May 15 at 13:03
If we would know the letters or langauge, we might be able to help you better? With a unicode engine and a OTF font that has the letters, there shouldn't be real problems. What have you got?
– Johannes_B
May 15 at 13:03
@Johannes_B I need these letters to be used: АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNnOoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
– Егор Карпов
May 15 at 13:17
@Johannes_B I need these letters to be used: АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNnOoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
– Егор Карпов
May 15 at 13:17
add a comment |
4 Answers
4
active
oldest
votes
You can do almost all of those characters with pdflatex (I changed the Cyrillic A and a into the Latin ones). The only ones not covered in the default setup are Ŧ and ŧ, but it's not difficult to add suitable definitions for them.
documentclassarticle
usepackage[T1]fontenc
%usepackage[utf8]inputenc% not needed in recent LaTeX
usepackagegraphicx
DeclareUnicodeCharacter0166barredT
DeclareUnicodeCharacter0167barredt
DeclareRobustCommandbarredTbarredTt0.50.051.5T
DeclareRobustCommandbarredtbarredTt0.401.15t
newcommandreducedhyphen[2]%
raisebox#1exscalebox#2[0.5]-%
newcommandbarredTt[4]%
begingroup
vphantom#4%
ooalign%
#4cr
hidewidthkern#2emreducedhyphen#1#3hidewidthcr
%
endgroup
begindocument
newcommandcharlist%
parnoindent
A a Á á Ä ä Å å B b C c Č č D d Đ đ E e É é Ë ë Ě ě Ę ę F f
G g Ĝ ĝ H h I i Ï ï Ǐ ǐ Į į J j K k L l M m N n O o Ó ó Ö ö
Ô ô Ò ò P p R r Ř ř S s Ŝ ŝ Š š T t Ŧ ŧ U u Ú ú Ü ü Ų ų Ŭ ŭ
V v Y y Z z Ž žpar
charlist
textbfcharlist
textitcharlist
enddocument

add a comment |
I don't really understand what needs to be tuned up.

documentclass[twocolumn]article
usepackagemwepage
usepackagefontspec
usepackagelibertine
begindocument
noindent А
а
Á
á
Ä
ä
Å
å
B
b
C
c
Č
č
D
d
Đ
đ
E
e
É
é
Ë
ë
Ě
ě
Ę
ę
F
f
G
g
Ĝ
ĝ
H
h
I
i
Ï
ï
Ǐ
ǐ
Į
į
J
j
K
k
L
l
M
m
N
n
O
o
Ó
ó
Ö
ö
Ô
ô
Ò
ò
P
p
R
r
Ř
ř
S
s
Ŝ
ŝ
Š
š
T
t
Ŧ
ŧ
U
u
Ú
ú
Ü
ü
Ų
ų
Ŭ
ŭ
V
v
Y
y
Z
z
Ž
ž
enddocument
Hmm... There are no mwepage and libertine packages available (Error: File `mwepage.sty' not found. usepackage)
– Егор Карпов
May 15 at 13:56
@ЕгорКарпов Oh sorry, that is a leftover not meant to be in the MWE. It is just for the yellowish background of the image. You can remove it. Packagelibertineshould be available though.
– Johannes_B
May 15 at 14:05
libertineis just a font package. You could choose any font that actually contains the glyphs (letters). If the font designer didn't bother to create a matching glyph, it won't be included in the font and the spot will remain empty.
– Johannes_B
May 15 at 14:07
I cannot compile document with the following letters: Đ đ Ę ę Į į Ŧ ŧ Ų ų (error: Command k unavailable in encoding OT1. ų and Package inputenc Error: Unicode char ŧ (U+167)(inputenc) not set up for use with LaTeX. ŧ). Other letters are OK.
– Егор Карпов
May 15 at 14:24
Are you compiling the document as posted? The input encoding beeing utf8?
– Johannes_B
May 15 at 14:31
|
show 5 more comments
cm-unicode has all the glyphs (not Latin Modern):
documentclassarticle
usepackagefontspec
setmainfontCMU Serif
begindocument
АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNn OoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
enddocument

This also requires xelatex.
– Егор Карпов
May 15 at 15:18
add a comment |
In XeLaTeX or LuaLaTeX, usepackagefontspec to enable all Unicode characters. If you use the babelfont command after loading babel, this will also load fontspec. Make sure the font you select contains all the characters you need. For example, you mentioned Russian and the default Latin Modern Roman does not contain Cyrillic, but Computer Modern Unicode does, so you might write it this way:
documentclassarticle
usepackagebabel
usepackagefontspec
babelprovide[import=ru, main]russian
babelprovide[import]german
babelprovide[import=fr]french
% Versions of babel prior to 2019 incorrectly ignored all default features.
% As a workaround, you could specify them as options.
defaultfontfeaturesScale = MatchLowercase
babelfontrm[Scale=1.0]CMU Serif
babelfontsfCMU Sans Serif
babelfontttCMU Typewriter Text
begindocument
otherlanguagegermanFrauenfußball
otherlanguagefrenchfootball féminin
otherlanguagerussianженский футбол
enddocument
(You can add the Language=Default font feature to any of the fonts to suppress the harmless error message about a language not being “available with” a script.)
In PDFLaTeX, start by setting the correct font encodings for the glyphs you use, if babel doesn’t already. Western European languages use T1 and Russian uses T2A or X2. You generally also want to usepackagetextcomp to get other commonly-used symbols from the text-companion encoding. When you usepackage[utf8]inputenc (which has been the default since the spring of 2018), LaTeX will understand any Unicode characters from the standard encodings that you select.
If you need any other Unicode characters that you cannot support this way (because you need to load them from another font or fake them with a command), you can declare them with the newunicodechar package, e.g. newunicodechar🄯reflectboxtextcopyright.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f490966%2fhow-to-add-support-of-several-unicode-letters-inside-a-document%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can do almost all of those characters with pdflatex (I changed the Cyrillic A and a into the Latin ones). The only ones not covered in the default setup are Ŧ and ŧ, but it's not difficult to add suitable definitions for them.
documentclassarticle
usepackage[T1]fontenc
%usepackage[utf8]inputenc% not needed in recent LaTeX
usepackagegraphicx
DeclareUnicodeCharacter0166barredT
DeclareUnicodeCharacter0167barredt
DeclareRobustCommandbarredTbarredTt0.50.051.5T
DeclareRobustCommandbarredtbarredTt0.401.15t
newcommandreducedhyphen[2]%
raisebox#1exscalebox#2[0.5]-%
newcommandbarredTt[4]%
begingroup
vphantom#4%
ooalign%
#4cr
hidewidthkern#2emreducedhyphen#1#3hidewidthcr
%
endgroup
begindocument
newcommandcharlist%
parnoindent
A a Á á Ä ä Å å B b C c Č č D d Đ đ E e É é Ë ë Ě ě Ę ę F f
G g Ĝ ĝ H h I i Ï ï Ǐ ǐ Į į J j K k L l M m N n O o Ó ó Ö ö
Ô ô Ò ò P p R r Ř ř S s Ŝ ŝ Š š T t Ŧ ŧ U u Ú ú Ü ü Ų ų Ŭ ŭ
V v Y y Z z Ž žpar
charlist
textbfcharlist
textitcharlist
enddocument

add a comment |
You can do almost all of those characters with pdflatex (I changed the Cyrillic A and a into the Latin ones). The only ones not covered in the default setup are Ŧ and ŧ, but it's not difficult to add suitable definitions for them.
documentclassarticle
usepackage[T1]fontenc
%usepackage[utf8]inputenc% not needed in recent LaTeX
usepackagegraphicx
DeclareUnicodeCharacter0166barredT
DeclareUnicodeCharacter0167barredt
DeclareRobustCommandbarredTbarredTt0.50.051.5T
DeclareRobustCommandbarredtbarredTt0.401.15t
newcommandreducedhyphen[2]%
raisebox#1exscalebox#2[0.5]-%
newcommandbarredTt[4]%
begingroup
vphantom#4%
ooalign%
#4cr
hidewidthkern#2emreducedhyphen#1#3hidewidthcr
%
endgroup
begindocument
newcommandcharlist%
parnoindent
A a Á á Ä ä Å å B b C c Č č D d Đ đ E e É é Ë ë Ě ě Ę ę F f
G g Ĝ ĝ H h I i Ï ï Ǐ ǐ Į į J j K k L l M m N n O o Ó ó Ö ö
Ô ô Ò ò P p R r Ř ř S s Ŝ ŝ Š š T t Ŧ ŧ U u Ú ú Ü ü Ų ų Ŭ ŭ
V v Y y Z z Ž žpar
charlist
textbfcharlist
textitcharlist
enddocument

add a comment |
You can do almost all of those characters with pdflatex (I changed the Cyrillic A and a into the Latin ones). The only ones not covered in the default setup are Ŧ and ŧ, but it's not difficult to add suitable definitions for them.
documentclassarticle
usepackage[T1]fontenc
%usepackage[utf8]inputenc% not needed in recent LaTeX
usepackagegraphicx
DeclareUnicodeCharacter0166barredT
DeclareUnicodeCharacter0167barredt
DeclareRobustCommandbarredTbarredTt0.50.051.5T
DeclareRobustCommandbarredtbarredTt0.401.15t
newcommandreducedhyphen[2]%
raisebox#1exscalebox#2[0.5]-%
newcommandbarredTt[4]%
begingroup
vphantom#4%
ooalign%
#4cr
hidewidthkern#2emreducedhyphen#1#3hidewidthcr
%
endgroup
begindocument
newcommandcharlist%
parnoindent
A a Á á Ä ä Å å B b C c Č č D d Đ đ E e É é Ë ë Ě ě Ę ę F f
G g Ĝ ĝ H h I i Ï ï Ǐ ǐ Į į J j K k L l M m N n O o Ó ó Ö ö
Ô ô Ò ò P p R r Ř ř S s Ŝ ŝ Š š T t Ŧ ŧ U u Ú ú Ü ü Ų ų Ŭ ŭ
V v Y y Z z Ž žpar
charlist
textbfcharlist
textitcharlist
enddocument

You can do almost all of those characters with pdflatex (I changed the Cyrillic A and a into the Latin ones). The only ones not covered in the default setup are Ŧ and ŧ, but it's not difficult to add suitable definitions for them.
documentclassarticle
usepackage[T1]fontenc
%usepackage[utf8]inputenc% not needed in recent LaTeX
usepackagegraphicx
DeclareUnicodeCharacter0166barredT
DeclareUnicodeCharacter0167barredt
DeclareRobustCommandbarredTbarredTt0.50.051.5T
DeclareRobustCommandbarredtbarredTt0.401.15t
newcommandreducedhyphen[2]%
raisebox#1exscalebox#2[0.5]-%
newcommandbarredTt[4]%
begingroup
vphantom#4%
ooalign%
#4cr
hidewidthkern#2emreducedhyphen#1#3hidewidthcr
%
endgroup
begindocument
newcommandcharlist%
parnoindent
A a Á á Ä ä Å å B b C c Č č D d Đ đ E e É é Ë ë Ě ě Ę ę F f
G g Ĝ ĝ H h I i Ï ï Ǐ ǐ Į į J j K k L l M m N n O o Ó ó Ö ö
Ô ô Ò ò P p R r Ř ř S s Ŝ ŝ Š š T t Ŧ ŧ U u Ú ú Ü ü Ų ų Ŭ ŭ
V v Y y Z z Ž žpar
charlist
textbfcharlist
textitcharlist
enddocument

answered May 15 at 15:54
egregegreg
744k8919493288
744k8919493288
add a comment |
add a comment |
I don't really understand what needs to be tuned up.

documentclass[twocolumn]article
usepackagemwepage
usepackagefontspec
usepackagelibertine
begindocument
noindent А
а
Á
á
Ä
ä
Å
å
B
b
C
c
Č
č
D
d
Đ
đ
E
e
É
é
Ë
ë
Ě
ě
Ę
ę
F
f
G
g
Ĝ
ĝ
H
h
I
i
Ï
ï
Ǐ
ǐ
Į
į
J
j
K
k
L
l
M
m
N
n
O
o
Ó
ó
Ö
ö
Ô
ô
Ò
ò
P
p
R
r
Ř
ř
S
s
Ŝ
ŝ
Š
š
T
t
Ŧ
ŧ
U
u
Ú
ú
Ü
ü
Ų
ų
Ŭ
ŭ
V
v
Y
y
Z
z
Ž
ž
enddocument
Hmm... There are no mwepage and libertine packages available (Error: File `mwepage.sty' not found. usepackage)
– Егор Карпов
May 15 at 13:56
@ЕгорКарпов Oh sorry, that is a leftover not meant to be in the MWE. It is just for the yellowish background of the image. You can remove it. Packagelibertineshould be available though.
– Johannes_B
May 15 at 14:05
libertineis just a font package. You could choose any font that actually contains the glyphs (letters). If the font designer didn't bother to create a matching glyph, it won't be included in the font and the spot will remain empty.
– Johannes_B
May 15 at 14:07
I cannot compile document with the following letters: Đ đ Ę ę Į į Ŧ ŧ Ų ų (error: Command k unavailable in encoding OT1. ų and Package inputenc Error: Unicode char ŧ (U+167)(inputenc) not set up for use with LaTeX. ŧ). Other letters are OK.
– Егор Карпов
May 15 at 14:24
Are you compiling the document as posted? The input encoding beeing utf8?
– Johannes_B
May 15 at 14:31
|
show 5 more comments
I don't really understand what needs to be tuned up.

documentclass[twocolumn]article
usepackagemwepage
usepackagefontspec
usepackagelibertine
begindocument
noindent А
а
Á
á
Ä
ä
Å
å
B
b
C
c
Č
č
D
d
Đ
đ
E
e
É
é
Ë
ë
Ě
ě
Ę
ę
F
f
G
g
Ĝ
ĝ
H
h
I
i
Ï
ï
Ǐ
ǐ
Į
į
J
j
K
k
L
l
M
m
N
n
O
o
Ó
ó
Ö
ö
Ô
ô
Ò
ò
P
p
R
r
Ř
ř
S
s
Ŝ
ŝ
Š
š
T
t
Ŧ
ŧ
U
u
Ú
ú
Ü
ü
Ų
ų
Ŭ
ŭ
V
v
Y
y
Z
z
Ž
ž
enddocument
Hmm... There are no mwepage and libertine packages available (Error: File `mwepage.sty' not found. usepackage)
– Егор Карпов
May 15 at 13:56
@ЕгорКарпов Oh sorry, that is a leftover not meant to be in the MWE. It is just for the yellowish background of the image. You can remove it. Packagelibertineshould be available though.
– Johannes_B
May 15 at 14:05
libertineis just a font package. You could choose any font that actually contains the glyphs (letters). If the font designer didn't bother to create a matching glyph, it won't be included in the font and the spot will remain empty.
– Johannes_B
May 15 at 14:07
I cannot compile document with the following letters: Đ đ Ę ę Į į Ŧ ŧ Ų ų (error: Command k unavailable in encoding OT1. ų and Package inputenc Error: Unicode char ŧ (U+167)(inputenc) not set up for use with LaTeX. ŧ). Other letters are OK.
– Егор Карпов
May 15 at 14:24
Are you compiling the document as posted? The input encoding beeing utf8?
– Johannes_B
May 15 at 14:31
|
show 5 more comments
I don't really understand what needs to be tuned up.

documentclass[twocolumn]article
usepackagemwepage
usepackagefontspec
usepackagelibertine
begindocument
noindent А
а
Á
á
Ä
ä
Å
å
B
b
C
c
Č
č
D
d
Đ
đ
E
e
É
é
Ë
ë
Ě
ě
Ę
ę
F
f
G
g
Ĝ
ĝ
H
h
I
i
Ï
ï
Ǐ
ǐ
Į
į
J
j
K
k
L
l
M
m
N
n
O
o
Ó
ó
Ö
ö
Ô
ô
Ò
ò
P
p
R
r
Ř
ř
S
s
Ŝ
ŝ
Š
š
T
t
Ŧ
ŧ
U
u
Ú
ú
Ü
ü
Ų
ų
Ŭ
ŭ
V
v
Y
y
Z
z
Ž
ž
enddocument
I don't really understand what needs to be tuned up.

documentclass[twocolumn]article
usepackagemwepage
usepackagefontspec
usepackagelibertine
begindocument
noindent А
а
Á
á
Ä
ä
Å
å
B
b
C
c
Č
č
D
d
Đ
đ
E
e
É
é
Ë
ë
Ě
ě
Ę
ę
F
f
G
g
Ĝ
ĝ
H
h
I
i
Ï
ï
Ǐ
ǐ
Į
į
J
j
K
k
L
l
M
m
N
n
O
o
Ó
ó
Ö
ö
Ô
ô
Ò
ò
P
p
R
r
Ř
ř
S
s
Ŝ
ŝ
Š
š
T
t
Ŧ
ŧ
U
u
Ú
ú
Ü
ü
Ų
ų
Ŭ
ŭ
V
v
Y
y
Z
z
Ž
ž
enddocument
answered May 15 at 13:46
community wiki
Johannes_B
Hmm... There are no mwepage and libertine packages available (Error: File `mwepage.sty' not found. usepackage)
– Егор Карпов
May 15 at 13:56
@ЕгорКарпов Oh sorry, that is a leftover not meant to be in the MWE. It is just for the yellowish background of the image. You can remove it. Packagelibertineshould be available though.
– Johannes_B
May 15 at 14:05
libertineis just a font package. You could choose any font that actually contains the glyphs (letters). If the font designer didn't bother to create a matching glyph, it won't be included in the font and the spot will remain empty.
– Johannes_B
May 15 at 14:07
I cannot compile document with the following letters: Đ đ Ę ę Į į Ŧ ŧ Ų ų (error: Command k unavailable in encoding OT1. ų and Package inputenc Error: Unicode char ŧ (U+167)(inputenc) not set up for use with LaTeX. ŧ). Other letters are OK.
– Егор Карпов
May 15 at 14:24
Are you compiling the document as posted? The input encoding beeing utf8?
– Johannes_B
May 15 at 14:31
|
show 5 more comments
Hmm... There are no mwepage and libertine packages available (Error: File `mwepage.sty' not found. usepackage)
– Егор Карпов
May 15 at 13:56
@ЕгорКарпов Oh sorry, that is a leftover not meant to be in the MWE. It is just for the yellowish background of the image. You can remove it. Packagelibertineshould be available though.
– Johannes_B
May 15 at 14:05
libertineis just a font package. You could choose any font that actually contains the glyphs (letters). If the font designer didn't bother to create a matching glyph, it won't be included in the font and the spot will remain empty.
– Johannes_B
May 15 at 14:07
I cannot compile document with the following letters: Đ đ Ę ę Į į Ŧ ŧ Ų ų (error: Command k unavailable in encoding OT1. ų and Package inputenc Error: Unicode char ŧ (U+167)(inputenc) not set up for use with LaTeX. ŧ). Other letters are OK.
– Егор Карпов
May 15 at 14:24
Are you compiling the document as posted? The input encoding beeing utf8?
– Johannes_B
May 15 at 14:31
Hmm... There are no mwepage and libertine packages available (Error: File `mwepage.sty' not found. usepackage)
– Егор Карпов
May 15 at 13:56
Hmm... There are no mwepage and libertine packages available (Error: File `mwepage.sty' not found. usepackage)
– Егор Карпов
May 15 at 13:56
@ЕгорКарпов Oh sorry, that is a leftover not meant to be in the MWE. It is just for the yellowish background of the image. You can remove it. Package
libertine should be available though.– Johannes_B
May 15 at 14:05
@ЕгорКарпов Oh sorry, that is a leftover not meant to be in the MWE. It is just for the yellowish background of the image. You can remove it. Package
libertine should be available though.– Johannes_B
May 15 at 14:05
libertine is just a font package. You could choose any font that actually contains the glyphs (letters). If the font designer didn't bother to create a matching glyph, it won't be included in the font and the spot will remain empty.– Johannes_B
May 15 at 14:07
libertine is just a font package. You could choose any font that actually contains the glyphs (letters). If the font designer didn't bother to create a matching glyph, it won't be included in the font and the spot will remain empty.– Johannes_B
May 15 at 14:07
I cannot compile document with the following letters: Đ đ Ę ę Į į Ŧ ŧ Ų ų (error: Command k unavailable in encoding OT1. ų and Package inputenc Error: Unicode char ŧ (U+167)(inputenc) not set up for use with LaTeX. ŧ). Other letters are OK.
– Егор Карпов
May 15 at 14:24
I cannot compile document with the following letters: Đ đ Ę ę Į į Ŧ ŧ Ų ų (error: Command k unavailable in encoding OT1. ų and Package inputenc Error: Unicode char ŧ (U+167)(inputenc) not set up for use with LaTeX. ŧ). Other letters are OK.
– Егор Карпов
May 15 at 14:24
Are you compiling the document as posted? The input encoding beeing utf8?
– Johannes_B
May 15 at 14:31
Are you compiling the document as posted? The input encoding beeing utf8?
– Johannes_B
May 15 at 14:31
|
show 5 more comments
cm-unicode has all the glyphs (not Latin Modern):
documentclassarticle
usepackagefontspec
setmainfontCMU Serif
begindocument
АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNn OoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
enddocument

This also requires xelatex.
– Егор Карпов
May 15 at 15:18
add a comment |
cm-unicode has all the glyphs (not Latin Modern):
documentclassarticle
usepackagefontspec
setmainfontCMU Serif
begindocument
АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNn OoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
enddocument

This also requires xelatex.
– Егор Карпов
May 15 at 15:18
add a comment |
cm-unicode has all the glyphs (not Latin Modern):
documentclassarticle
usepackagefontspec
setmainfontCMU Serif
begindocument
АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNn OoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
enddocument

cm-unicode has all the glyphs (not Latin Modern):
documentclassarticle
usepackagefontspec
setmainfontCMU Serif
begindocument
АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNn OoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
enddocument

answered May 15 at 15:16
BernardBernard
180k780212
180k780212
This also requires xelatex.
– Егор Карпов
May 15 at 15:18
add a comment |
This also requires xelatex.
– Егор Карпов
May 15 at 15:18
This also requires xelatex.
– Егор Карпов
May 15 at 15:18
This also requires xelatex.
– Егор Карпов
May 15 at 15:18
add a comment |
In XeLaTeX or LuaLaTeX, usepackagefontspec to enable all Unicode characters. If you use the babelfont command after loading babel, this will also load fontspec. Make sure the font you select contains all the characters you need. For example, you mentioned Russian and the default Latin Modern Roman does not contain Cyrillic, but Computer Modern Unicode does, so you might write it this way:
documentclassarticle
usepackagebabel
usepackagefontspec
babelprovide[import=ru, main]russian
babelprovide[import]german
babelprovide[import=fr]french
% Versions of babel prior to 2019 incorrectly ignored all default features.
% As a workaround, you could specify them as options.
defaultfontfeaturesScale = MatchLowercase
babelfontrm[Scale=1.0]CMU Serif
babelfontsfCMU Sans Serif
babelfontttCMU Typewriter Text
begindocument
otherlanguagegermanFrauenfußball
otherlanguagefrenchfootball féminin
otherlanguagerussianженский футбол
enddocument
(You can add the Language=Default font feature to any of the fonts to suppress the harmless error message about a language not being “available with” a script.)
In PDFLaTeX, start by setting the correct font encodings for the glyphs you use, if babel doesn’t already. Western European languages use T1 and Russian uses T2A or X2. You generally also want to usepackagetextcomp to get other commonly-used symbols from the text-companion encoding. When you usepackage[utf8]inputenc (which has been the default since the spring of 2018), LaTeX will understand any Unicode characters from the standard encodings that you select.
If you need any other Unicode characters that you cannot support this way (because you need to load them from another font or fake them with a command), you can declare them with the newunicodechar package, e.g. newunicodechar🄯reflectboxtextcopyright.
add a comment |
In XeLaTeX or LuaLaTeX, usepackagefontspec to enable all Unicode characters. If you use the babelfont command after loading babel, this will also load fontspec. Make sure the font you select contains all the characters you need. For example, you mentioned Russian and the default Latin Modern Roman does not contain Cyrillic, but Computer Modern Unicode does, so you might write it this way:
documentclassarticle
usepackagebabel
usepackagefontspec
babelprovide[import=ru, main]russian
babelprovide[import]german
babelprovide[import=fr]french
% Versions of babel prior to 2019 incorrectly ignored all default features.
% As a workaround, you could specify them as options.
defaultfontfeaturesScale = MatchLowercase
babelfontrm[Scale=1.0]CMU Serif
babelfontsfCMU Sans Serif
babelfontttCMU Typewriter Text
begindocument
otherlanguagegermanFrauenfußball
otherlanguagefrenchfootball féminin
otherlanguagerussianженский футбол
enddocument
(You can add the Language=Default font feature to any of the fonts to suppress the harmless error message about a language not being “available with” a script.)
In PDFLaTeX, start by setting the correct font encodings for the glyphs you use, if babel doesn’t already. Western European languages use T1 and Russian uses T2A or X2. You generally also want to usepackagetextcomp to get other commonly-used symbols from the text-companion encoding. When you usepackage[utf8]inputenc (which has been the default since the spring of 2018), LaTeX will understand any Unicode characters from the standard encodings that you select.
If you need any other Unicode characters that you cannot support this way (because you need to load them from another font or fake them with a command), you can declare them with the newunicodechar package, e.g. newunicodechar🄯reflectboxtextcopyright.
add a comment |
In XeLaTeX or LuaLaTeX, usepackagefontspec to enable all Unicode characters. If you use the babelfont command after loading babel, this will also load fontspec. Make sure the font you select contains all the characters you need. For example, you mentioned Russian and the default Latin Modern Roman does not contain Cyrillic, but Computer Modern Unicode does, so you might write it this way:
documentclassarticle
usepackagebabel
usepackagefontspec
babelprovide[import=ru, main]russian
babelprovide[import]german
babelprovide[import=fr]french
% Versions of babel prior to 2019 incorrectly ignored all default features.
% As a workaround, you could specify them as options.
defaultfontfeaturesScale = MatchLowercase
babelfontrm[Scale=1.0]CMU Serif
babelfontsfCMU Sans Serif
babelfontttCMU Typewriter Text
begindocument
otherlanguagegermanFrauenfußball
otherlanguagefrenchfootball féminin
otherlanguagerussianженский футбол
enddocument
(You can add the Language=Default font feature to any of the fonts to suppress the harmless error message about a language not being “available with” a script.)
In PDFLaTeX, start by setting the correct font encodings for the glyphs you use, if babel doesn’t already. Western European languages use T1 and Russian uses T2A or X2. You generally also want to usepackagetextcomp to get other commonly-used symbols from the text-companion encoding. When you usepackage[utf8]inputenc (which has been the default since the spring of 2018), LaTeX will understand any Unicode characters from the standard encodings that you select.
If you need any other Unicode characters that you cannot support this way (because you need to load them from another font or fake them with a command), you can declare them with the newunicodechar package, e.g. newunicodechar🄯reflectboxtextcopyright.
In XeLaTeX or LuaLaTeX, usepackagefontspec to enable all Unicode characters. If you use the babelfont command after loading babel, this will also load fontspec. Make sure the font you select contains all the characters you need. For example, you mentioned Russian and the default Latin Modern Roman does not contain Cyrillic, but Computer Modern Unicode does, so you might write it this way:
documentclassarticle
usepackagebabel
usepackagefontspec
babelprovide[import=ru, main]russian
babelprovide[import]german
babelprovide[import=fr]french
% Versions of babel prior to 2019 incorrectly ignored all default features.
% As a workaround, you could specify them as options.
defaultfontfeaturesScale = MatchLowercase
babelfontrm[Scale=1.0]CMU Serif
babelfontsfCMU Sans Serif
babelfontttCMU Typewriter Text
begindocument
otherlanguagegermanFrauenfußball
otherlanguagefrenchfootball féminin
otherlanguagerussianженский футбол
enddocument
(You can add the Language=Default font feature to any of the fonts to suppress the harmless error message about a language not being “available with” a script.)
In PDFLaTeX, start by setting the correct font encodings for the glyphs you use, if babel doesn’t already. Western European languages use T1 and Russian uses T2A or X2. You generally also want to usepackagetextcomp to get other commonly-used symbols from the text-companion encoding. When you usepackage[utf8]inputenc (which has been the default since the spring of 2018), LaTeX will understand any Unicode characters from the standard encodings that you select.
If you need any other Unicode characters that you cannot support this way (because you need to load them from another font or fake them with a command), you can declare them with the newunicodechar package, e.g. newunicodechar🄯reflectboxtextcopyright.
answered May 15 at 16:13
DavislorDavislor
8,1591534
8,1591534
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f490966%2fhow-to-add-support-of-several-unicode-letters-inside-a-document%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If we would know the letters or langauge, we might be able to help you better? With a unicode engine and a OTF font that has the letters, there shouldn't be real problems. What have you got?
– Johannes_B
May 15 at 13:03
@Johannes_B I need these letters to be used: АаÁáÄäÅåBbCcČčDdĐđEeÉéËëĚěĘęFfGgĜĝHhIiÏïǏǐĮįJjKkLlMmNnOoÓóÖöÔôÒòPpRrŘřSsŜŝŠšTtŦŧUuÚúÜüŲųŬŭVvYyZzŽž
– Егор Карпов
May 15 at 13:17