Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [font-encodings]

{font-encodings} is about the various font or output code pages like T1 (for Latin) or T2*x* (for Cyrillic) which tell the compiler where to find a particular glyph (character) in a font file, hereby supporting correct hyphenation of words. A popular package for pdfLaTeX is fontenc.

6
votes
1answer
94 views

Why does additional encoding T2A make text fonts lighter weight?

I need to use the T2A encoding along with babel to include some Russian names in an English-language document. However, including \usepackage[T1,T2A]{fontenc} in the preamble makes all the text ...
1
vote
1answer
29 views

Possible to use$ \C$ for complex numbers with T2A encoding?

In using pdflatex on a document in English that will include some Cyrillic text. For math, I'd like to use $\C$ for the set of complex numbers. But the T2A encoding needed for babel with its russian ...
0
votes
0answers
28 views

My latex document can't seem to decode properly accentuated and other special french characters

My editor (TexMaker) is using utf-8 by default and when i try to use it in my preamble instead of latin it gives me errors! and right now i'm using latin and it dosen't decode properly my document! ...
8
votes
2answers
125 views

'\v{C}' character not rendered in fonts which don't have 'Č' with T1 encoding

I'm trying to typeset a word that contains a 'Č', and due to context, it has to appear in a sans, bold, quattrocento font. However, whenever I have the fontencoding set to T1, then the character ...
0
votes
1answer
22 views

Greek letters in cmcsc

There is no small caps font available for the math mode. However there are still relevant glyphs with ASCII 0x00 to 0x0a in cmcsc. I wonder what they are and how to TeX them.
6
votes
1answer
88 views

How to find the tex encoding of specific fonts?

While encoding for common fonts is easy to find, encoding for less common ones are fairly hard to obtain. I know that the encoding for cmr is OT1 and the encoding for cmmi is OML. However I can't find ...
1
vote
1answer
31 views

Ligatures and line breaks in OT2

I am trying to write a paper in Cyrillic using OT2, but the ligatures (nj-њ, lj-љ, dj-ђ) get broken in line breaks. Here's an example: \documentclass{memoir} \usepackage[utf8]{inputenc} \usepackage[...
5
votes
2answers
74 views

“sh” gets rendered as “7” using OT2

I am trying to write a paper in Cyrillic using OT2, but in some cases instead of rendering "sh" as "ш", it renders it as "7". Here's an example. \documentclass{memoir} \usepackage[utf8]{inputenc} \...
0
votes
1answer
60 views

Command `\Gamma' already defined

I am working on my PhD thesis and I get this error, I have no clue why. I think is a duplicate package but google suggested to use %\usepackage{fontenc} but then I got the error "The fontspec package ...
0
votes
1answer
51 views

Using different fonts for multiple languages in Overleaf

I'm using Twenty Seconds Resume template in overleaf https://www.overleaf.com/latex/templates/twenty-seconds-resume-slash-cv/mhyfwrmwjkbc But I met a problem and I can't solve it after trying for ...
0
votes
1answer
26 views

Texmaker editor and others show incorrect cyrillic symbols

I'm trying to build a template from this russian journal. But no editor can recognize what encoding is used. It is supposed to be 'cp866' but it looks like this à ®æ¥áá ®ä®à ¬«¥­¨¨ ...
2
votes
0answers
11 views

How to use T2A with newtxtext? [duplicate]

The MWE below produces a warning LaTeX Font Warning: Font shape `T2A/ntxtlf/m/n' undefined (Font) using `T2A/cmr/m/n' instead on input line 4. I tried to locally change the font to CMR ...
0
votes
1answer
27 views

Operator font with lualatex not changing correctly

I'm using newpx as my document font. However I'm having some problems when compiling with lualatex because the font of math operators does not change to newpx and Computer Modern is shown instead. ...
5
votes
1answer
274 views

TikZ rotated text looks washed

I got that issue that a rotated text looks washed when you use the package: \usepackage[T1]{fontenc} Sadly I can't reject the fontenc-package because it has a lot of dependencies to the rest of the ...
0
votes
0answers
117 views

Texmaker does not import overleaf project

Can i import project(.zip) from overleaf on Texmaker? Every time i try to open the .zip, Texmaker ask me to choose a enconding and even if i choose utf8 (I'm using utf8 in overleaf) all my text turn ...
3
votes
2answers
68 views

Bold italic swashed z does not show up in mtpro2 complete

I am using the MathTime Professional 2 fonts from PCTeX. Unfortunately, my problem is testable only to those who have purchased the Complete version. The Lite version is available on CTAN, ...
2
votes
1answer
49 views

Incompatiblity of Adobe font and xpinyin package?

One of font package (i.e. Adobe Garamond Pro) is not compatible with vowels encoding using xpinyin package. Can I exclude these fonts? \documentclass[margin=10pt]{standalone} \usepackage{xeCJK,...
0
votes
0answers
36 views

What's the correct way to import a symbol from another font compatible with XeLaTeX/LuaLatex? [duplicate]

EDIT: Apparently I wasn't very clear since I linked the question this supposedly duplicates in the first sentence so I could ask about the robustness of that solution.. I want to know if the method ...
1
vote
2answers
90 views

How to convert all hyphenation patterns from Unicode to T1 in lualatex?

I'm trying to use lualatex with old, 8-bit, non-Unicode fonts: \documentclass[a4paper]{article} \usepackage[utf8]{luainputenc} \usepackage{t1enc} \usepackage{lmodern} \def\myhelvetica{\fontfamily{phv}...
1
vote
1answer
597 views

UTF-8 characters not rendered properly

I have a problem with some of the UTF-8 characters that are in my Tex file. Although I am saving the file in UTF-8 and my text editor (Atom) is displaying all of the characters properly, LaTeX throws ...
2
votes
1answer
46 views

\H{u} and \H{o} do not appear in the lualatex output PDF

The following .tex source file has been working fine for me for decades using pdflatex: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{t1enc} \usepackage{lmodern} \def\...
4
votes
1answer
149 views

Equivalent of fontenc in LuaLaTex

I'm writing a paper, and have recently switched to LuaLaTex. In pdfLaTex I've used \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} now how should I replace these, ...
4
votes
1answer
202 views

How can I select one No-unicode symbol from one font?

I am using Asea font http://users.teilar.gr/~g1951d/Textfonts.zip From http://users.teilar.gr/~g1951d/ And I want to pick some characters that are not encoded in unicode, but are present in the font,...
0
votes
0answers
133 views

“Font T1/cmr/m/n/12=ecrm1200 at 12.0pt not loadable” error when compiling

I have problem in executing LaTeX files by terminal in Mac due to missing files and unknown modification of TeX directory. As I am new user, I don't want to make too changes in system files and ask ...
0
votes
1answer
123 views

\usepackage[T1]{fontenc} doesn't use cm-super or cm-super unicode despite being installed

Some Bitmap font is being used instead. Minimal working example: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lipsum} \begin{document} \lipsum \end{document} Expected output: Pretty ...
2
votes
1answer
110 views

Ogonek rejected in bibilography

I am trying to compile a bibliography that will not accept someone's name that has an ogonek in it. I am not using \k, which I need for something else, so I did \let\ogonek\k and \newcommand{\eogonek}{...
1
vote
0answers
96 views

Error using a color box with xelatex

I have used this colorbox in a Document: \newtcolorbox{Titolo}[2][]{ enhanced before skip=2mm,after skip=2mm, colback=black!5,colframe=black!50,boxrule=0.2mm, attach boxed title to top left={xshift=...
0
votes
2answers
759 views

Use XeLaTeX in Mac OsX

I use Mac OSX 10.13 with MacTex. For editing I use VSCode and the extension LaTeX-workshop. I have been told that with XeLaTex you can use more fonts. But I can't find the docs of this package/...
1
vote
0answers
73 views

How to escape “->” (ASCII hyphen and greater than sign) in Latex [duplicate]

I have been trying to find a way to escape the "-" and ">" characters. I have looked at the \verbatim{} but this creates a new paragraph. As I have seen in other posts, my greater than sign shows up ...
4
votes
3answers
143 views

Is there a package to set the default font encoding of cyrillic to T2A?

Consider this for Greek \documentclass{article} \usepackage[LGR,T1]{fontenc} \usepackage{textalpha} \begin{document} φύσις \end{document As the default font supports LGR encoding, it renders ...
2
votes
0answers
84 views

Combining multiple diacritics in Linux Libertine [closed]

In several Native American languages, nasal vowels are marked with an ogonek and can take an acute accent. I'm using XeLaTeX to put together a proceedings volume, and for some reason, I cannot get a ...
0
votes
0answers
79 views

LaTeX fonts with math and utf8 support [duplicate]

Although I like Computer Modern font families I'd like to be able to make documents look like they were made by "normal person" and still be able to benefit from the TeX powers*. In short the solution ...
1
vote
1answer
27 views

Biblatex: Two bibliographies with different styles and sortings II Part 2

The approach of gusbrs to my question Biblatex: Two bibliographies with different styles and sortings II, which is based on the solution of Biblatex: Two bibliographies with different styles and ...
2
votes
1answer
87 views

fontspec: Defining a new font family using TeX Gyre Pagella causes error [closed]

I just updated my packages through the MikTeX console, and when I try to define a new font family with TeX Gyre Pagella, I get a mysterious error (below). Just defining the new font family leads to ...
0
votes
1answer
62 views

Font became rasterized after reinstall

The following code produces a rasterized font: \documentclass{beamer} \usepackage[OT2,OT1]{fontenc} \newcommand{\cyr}{% \renewcommand\encodingdefault{OT2}% \normalfont\selectfont} \newcommand{\lat}{...
1
vote
1answer
153 views

XeLaTeX + cleveref + cyrillic fonts = Command unavailable

I'm trying to write a document in Ukrainian, but somehow I can't use cleveref package anymore. Here is my example: \documentclass[twocolumn]{article} \usepackage{fontspec} \usepackage{polyglossia} \...
2
votes
1answer
425 views

Error: Command \texteuro unavailable in encoding OT1. However, \texteuro or € is never used in my text

I recently begun getting the following error during my thesis writing: ! LaTeX Error: Command \texteuro unavailable in encoding OT1. See the LaTeX manual or LaTeX Companion for explanation. Type H &...
0
votes
1answer
66 views

How to use mtpro2 together with other math-font?

for example, load mtpro2 and XITS-Math for different paragraph But it seems, mtpro2 und unicode-math can not be loaded together Error like: LaTeX error: "kernel/command-already-defined" ! ! ...
2
votes
1answer
521 views

Getting fontspec Fonts with pdfLaTeX

I have to make a document, which was originally written in LuaLaTeX, compatible for both pdfLaTeX and LuaLaTeX. Everything works except that the fonts differ. How can I force pdfLaTeX/fontenc to use ...
1
vote
1answer
233 views

Font \bodyfont=Calibri at 10.0pt not loadable: Metric (TFM) file or installed font not found. \begin{document}

I am getting the error shown in the title five times in a row at the beginning of the logs when trying to compile my document with XeLaTex through TexStudio (command used: xelatex -synctex=1 -...
1
vote
0answers
126 views

xelatex could not find MinionPro.sty

I have installed Minion Pro fonts followed this post https://kieranhealy.org/blog/archives/2012/11/10/installing-minion-pro/. And I ended up compiling mnsymbol-test.tex and minionpro-test.tex ...
1
vote
0answers
97 views

Broken German Umlaut ü [closed]

I worte a letter in scrlttr2 but finally had to write an email. Thus I copied the text from the PDF I already got. The spell checker of the mail client complained on some words – the ones containing ...
2
votes
1answer
341 views

Font markup issues (\textbf \emph \textit not working)

I seem to have an issue in using many of text markings in my document (\textbf{} \emph{} \textit{} don't add any effect to text, but i.e. \sout works). There's a few relevant compile warning messages,...
1
vote
1answer
31 views

How to set a language for a column of table in a multi-language document?

I want to make a table contains both English and Bengali text. Using \setlanguage{english} I can ensure the computer modern font for English text. But, each time using this command is boring as I ...
3
votes
2answers
512 views

fontenc vs fontspec with XeLaTeX

I have encountered something I fail to understand. I have read that I should use fontspec and not fontenc when I use XeLaTeX, but this causes some problems for me when I use the cochineal font package....
1
vote
1answer
71 views

\fontseries{b} does not work in math mode

The file is typeset in LaTeX, encoding T2A: \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[greek,english]{babel} Everything works perfect, excepting bold in some formulae. I tried ...
0
votes
1answer
57 views

Why is MnSymbol not loading Type 1 fonts?

I am trying to typeset a document with only Type 1 fonts in the resulting PDF. I'm using the MinionPro package, which calls MnSymbol for math fonts. Even though the Type 1 MnSymbol fonts are installed ...
6
votes
3answers
203 views

Issue with Bera font and fontenc package

I'm using \usepackage[T1]{fontenc} to typeset an article in LaTeX. Using the default font, the input Erd\H{o}s produces the desired Erdős in the output, which I can copy and paste properly. Based ...
1
vote
2answers
223 views

How can I set a font from PSNFSS distribution families as the main math font?

The declaration \DeclareMathAlphabet{cmd}{encoding}{family}{series}{shape} works to create a new command whose argument would be a font as specified in the declaration. PSNFSS distribution families ...
6
votes
2answers
488 views

XeLaTeX compiles too slow

See poker package here. This is the slowest stage. It takes about 2 minutes to compile... to go from2 to [3] and etc \documentclass[a4paper,12pt]{article} \usepackage{pst-plot} \usepackage{auto-...