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.

Filter by
Sorted by
Tagged with
1
vote
1answer
264 views

Compilation problem fontenc-Latex

When i compile with LaTex the file \documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \begin{document} Test \end{document} i'v got this message error in the ...
5
votes
1answer
68 views

What is Identity-H encoding, should it be avoided and if so, how?

When I create a document with multiple fonts (using xelatex and xeCJK), subsets of all these fonts are included in the document. The document’s properties shown in evince, in the Fonts tab, show the ...
0
votes
1answer
25 views

Texnansi encoding breaks bold font

I have some problems with custom font encoding, mainly texnansi. I made a custom font from ttf. Since I have heavy usage of Umlauts, I figured out that texnansi may be the right choice. Maybe I am ...
5
votes
3answers
164 views

Underbrace using STIX2 math font

The problem speaks for itself, here is the sample: \documentclass[12pt]{article} %% Language of the document \usepackage{polyglossia} \setmainlanguage{spanish} \usepackage{unicode-math} %% Text ...
2
votes
1answer
90 views

T1 fontenc - text not searchable

Whenever I use the T1 fontenc, the text of the output PDF cannot be searched. You can find a MWE below, the pdflatex output here and the log file here. \documentclass{article} \usepackage[utf8]{...
2
votes
1answer
46 views

Why LAE font encoding isn't needed to write arabic with babel (pdflatex)

The manual of arabi package mention that you need LAE font encoding via \usepackage[LAE]{fontenc} to write Arabic with babel (pdflatex), but with a texlive2019 we can get a correct result without ...
2
votes
1answer
25 views

Loading fontenc T1 removes emphasis from journal titles in references

I have to work with APA standards (I am using apacite) and write text in Spanish (need á é í ó ú). For some reason, if I use \usepackage[OT1]{fontenc} not even typing \'a will get me an á, but I get ...
0
votes
1answer
43 views

letters with accents gone

Today I used Dropbox to transfer all my tex-files from my computer to my new Laptop (same OS). In all the tex-files, my letters with accents (é, è, à, etc.) are gone and I get the error "Package ...
0
votes
0answers
23 views

Drastically different boldness between Latin and Cyrillic encoding of the same font

They want me to typeset English and Russian translations of the same text in the exact same font and style. I loaded UTF8 encoding with babel for Russian and the main font is coming out identical, ...
0
votes
0answers
81 views

Adding a TTF font to LaTeX: Which encoding?

The TTF font called Remeslo is available at several sites including Wfonts. I tried to follow posts on this site to add it by generating the following files: Remeslo.tfm Remeslo.afm Remeslo.vpl ...
5
votes
2answers
234 views

Serbian Latin & Cyrillic Script

I am using the fontenc package in order to write texts in either Serbian Latin script (OT1 encoding) or Serbian Cyrillic script (OT2 encoding). My objective is to typeset an appreciable quantity of ...
0
votes
1answer
164 views

Package fontenc Error: Encoding file `ot2enc.def' not found

I am looking for a solution. I know that packages can be downloaded from CTAN, but I never realized where to put the files to install them. I am using TeXmaker 5.0.2, but I don't know exactly where it ...
0
votes
0answers
43 views

Input/output encoding for symbols in Latex for conversion to Microsoft Word using Pandoc

I am using Texmaker to produce .tex files that I want to convert into .docx files using Pandoc. I have some math symbols in the paragraphs of the document. My workaround was to use, for example, $\...
1
vote
1answer
55 views

Low quality font using xwatermark, TikZ and \newsavebox in combination with [T1]{fontenc} and lmodern

Some time ago at the link Transparent foreground watermark, I learned from Gonzalo Medina's answer how to make transparent water maker with the package xwatermark. And it was awesome. On the other ...
2
votes
1answer
67 views

How to get the \normalsize or \small font baselineskip size?

My documents uses memoir with \OnehalfSpacing and I am trying to get the \normalfont \f@baselineskip to set the \footnotesep with \SingleSpacing. I could just keep the default value of \footnotesep, ...
0
votes
1answer
54 views

How can I see the line spacing between lines?

I have this command: \newcommand{\showfont} {% (\foreignlanguage{english} {% encoding: \f@encoding{}, family: \f@family{}, series: \f@series{}, shape: \f@shape{...
4
votes
1answer
53 views

How to read (and use) LaTeX font encoding charts?

Could you please explain how to read the LaTeX font encoding charts? What is the meaning of the coordinates, and how can one use them while working with (La)TeX?
4
votes
2answers
206 views

How do I write in Georgian with PDFLaTeX?

I found these packages but no clear instruction on installing them and using them. No mention of whether I need LaTex, LuaTex or XeTex https://www.ctan.org/pkg/georgian https://www.ctan.org/pkg/...
0
votes
1answer
67 views

Reproducing Twitter's font / case study for font-enconding

How would I get the following example to work (that is, uncomment %\fontspec...? The thought process that has gone into it is in the remarks: first I was looking for a font that mimic's Twitter, then.....
0
votes
0answers
52 views

Decoration text (tikz). Problems with utf-8 (cyrillic)

Perhaps someone knows how to solve the following encoding problem (cyrillic) when using the package tikz? When using the library decoration, a compilation problem occurs with texts in the Cyrillic. I ...
0
votes
0answers
33 views

Output not looking good with fontenc package?

I am writing my thesis and what I have observed that by turning off the fontenc package, the font color of the generated pdf is full black (like MS Word). But, when I turned on this package, the font ...
8
votes
3answers
1k views

Georgian capital letter “Ⴒ” (“tar”) in pdfLaTeX

I am trying to use “Ⴒ” (Georgian capital "tar" {U+10b2}) and “ք” (Armenian "keh" {U+0584}) as special variable names in a document compiled with pdflatex on Overleaf. The document is 100% English. I ...
2
votes
2answers
136 views

Little Yus (Cyrillic) in LaTeX

I tried to write a "Little yus" letter (Ѧ, ѧ) in LaTeX using X2 package. But there is only Big Yus letter in it. How to use a little one? Thanks.
0
votes
1answer
33 views

Why is cmss/m/it silently replaced by cmss/m/sl with T1, but warns with OT1?

This is my MWE: % \RequirePackage{fix-cm} \documentclass{article} % \usepackage{lmodern} % \usepackage[T1]{fontenc} % \usepackage[OT1]{fontenc} \begin{document} \sffamily\textit{Hi!} \sffamily\...
1
vote
1answer
43 views

cut letter with package T1 fontenc

With the package fontenc and option T1, I sometimes get a letter that is "cut" or "stepped over" by its neighbor. For instance, with this code : \documentclass[12pt]{article} \usepackage[T1]{fontenc}...
1
vote
1answer
61 views

Why does changing the encoding not work in pdfTeX for Type1 fonts?

Using pdftex on the following file changes encoding for bitmap font (this can be checked by copy-pasting the text from resulting PDF): \pdfmapline{=cmr10 <cmr10.enc} `hello world' \end where ...
2
votes
2answers
55 views

What are rules for naming encodings?

Consider this line from map file: zpopr Optima "MyEncoding ReEncodeFont" <myenc.enc What is the meaning of MyEncoding? Where is it used? Should this name have any particular format (for example ...
-1
votes
1answer
53 views

Make easier to use $\C$ for complex numbers: clashes with T2A, mismath, and babel

My strong preference is to use $\C$ to denote the set of complex numbers, just as I use $\R$ to denote the real numbers — whether with \mathbb or \mathbf. Several other packages use their own ...
8
votes
1answer
176 views

Map all ASCII characters in document to Nemeth Braille

My goal is to type regular LaTeX input, and remap the fonts to produce Nemeth Braille. One answer to the question LaTeX to Braille was to download the font http://www.searchfreefonts.com/free/braille....
1
vote
1answer
49 views

Mismatch between LX standard font and typewriter font size

I'm using lxfonts in a beamer presentation, and I noticed that whenever I use \texttt{foo}, the typewriter font is much smaller than the regular font. I also noticed that the problem goes away if I ...
0
votes
0answers
24 views

Using the MICR E13-B font with XeLaTeX

After a number of searches I can't seem to find an obvious answer to this so I'm hoping someone can help me. What is the correct / most straightforward way to use the E13-B font for printing MICR ...
3
votes
1answer
61 views

How to implement tabular-lining with Cabin font?

In my TOC, I'm getting proportionally aligned numbers (see screen-capture). How do I implement Cabin's tabular-lining figure style, knowing that I only use Cabin for my headings? https://ctan.org/...
1
vote
2answers
89 views

arabtex library delete sections numbers in Spring template

I'm using Springer template which is the one in the following link: https://www.springer.com/gp/computer-science/lncs/conference-proceedings-guidelines To download the template: ftp://ftp....
6
votes
1answer
181 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 ...
2
votes
1answer
101 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
37 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
281 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
50 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
106 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
53 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
91 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
190 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
117 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
36 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
14 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
40 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
294 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 ...
1
vote
0answers
430 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
88 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
63 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,...

1 2 3 4 5 11