2022 Developer Survey is open! Take survey.

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
0 votes
1 answer
52 views

T4 Font encoding

This is an excerpt of a script I found and I have a question about the font. I think for this type you need the command \usepackage[T4]{fontenc} I tried applying this and the result was almost ...
user avatar
0 votes
0 answers
68 views

tableofcontents, chapter, etc. showing up in weird font

PROBLEM SOLVED, SEE EDITS 2 AND 3. so i have several files written in bulgarian that are set up to compile into one PDF however in the process of doing so, several errors popped up despite me ...
user avatar
1 vote
1 answer
56 views

package commercial fonts into custom latex package

For a corporate template I am building, I need to make the commercial fonts available, which our corporate design guide dictates. These fonts are availabe to me as truetype font files, which are ...
user avatar
  • 187
1 vote
0 answers
40 views

Trying to Use Both Cabin and Baskerville Fonts in the Same Document

In the following code, I invoke both the cabin and baskervald packages. I am able to start off with the cabin font by simply specifying \cabin; however, when I want to begin using the baskervald font ...
user avatar
3 votes
0 answers
44 views

Why is this usage of the package MnSymbol raising an error?

Why does the following document raise an error? \documentclass{article} \newsavebox\aeaesigbox \savebox{\aeaesigbox}{$AE$AE} \usepackage{MnSymbol} \newsavebox\aebox \savebox\aebox{\fbox{$\...
user avatar
  • 48.8k
1 vote
0 answers
24 views

Latin Modern under T1 encoding, "lighttt" setting, and "lmtt/m/sl" in place for italic: Error at apostrophe "\textquotesingle"

The MWE: \documentclass{article} \usepackage[lighttt]{lmodern} \usepackage[T1]{fontenc} \ttfamily \DeclareFontFamily{T1}{lmtt}{} \DeclareFontShape{T1}{lmtt}{m}{it}{ <-> ssub * lmtt/m/sl }{} ...
user avatar
1 vote
0 answers
75 views

What is the most up-to-date indicated/suggested way to typeset Greek?

I typically type on an English keyboard, but I use a Greek keyboard when it comes to typing Greek characters. I have my personal workaround through the pdfLaTeX engine, but as LaTeX evolves it seems (...
user avatar
  • 447
0 votes
0 answers
32 views

Math in compiled pdf has different encodings for different compiler. When are no unicode characters used?

When selecting and copying math in the compiled pdf I noticed it isn't always matching the original symbols. There are three different scenarios I can remember. Two of which I was able to reproduce: ...
user avatar
  • 1
0 votes
0 answers
47 views

pdfTex error: invalid font identifier. Metric (TFM) file not found

I am using the LawTeX template: LawTeX. When I try to compile the PDF, I get a pdfTeX error: invalid font identifier. Font T1/pnc/m/n/10-pncr8t at 10.Opt not loadable: Metric (TFM) file not found. ...
user avatar
0 votes
2 answers
66 views

Latin Modern Math doesn't have a bold font, but does have glyphs for Unicode block Mathematical Alphanumeric Symbols. Can \boldmath output them?

It is known that Latin Modern Math does not have a standalone bold font. If you load Latin Modern Math with package unicode-math, and try to use \boldmath, the fontshape with be substituted with the ...
user avatar
2 votes
1 answer
150 views

MLModern with fontspec using LuaLaTeX

I'd like to typeset a document in MLModern's fonts (serif, sans serif, teletype, etc.), then later change the teletype font to a different custom font whose TTF I provide (Iosevka, in the example ...
user avatar
  • 722
0 votes
0 answers
18 views

tufte-class and Cyrillic (for example)

Is there a way to use Cyrillic in the tufte-class without breaking the formatting (observe that fontenc with the T2A option breaks the formatting)? \documentclass{tufte-handout} \usepackage[T2A]{...
user avatar
  • 2,401
2 votes
0 answers
52 views

Defining opentype fonts for beamer themes

I am working to adapt the jhsph beamer theme (https://github.com/jfiksel/jhsphbeamer ) to work more generally for other JHU departments, ideally making the theme at least approximate JHU's "...
user avatar
0 votes
0 answers
17 views

Why does a combination of fontenc and inputenc creates a dim text [duplicate]

I wrote the following and got a dim text in TEX maker: \documentclass[11pt]{article} \usepackage[a4paper,left=2.0cm,right=2.0cm,top=\dimexpr15mm+1.5\baselineskip,bottom=2cm]{geometry} \usepackage[T1]{...
user avatar
1 vote
0 answers
27 views

Defining different opentype fonts for title and main text in a beamer theme

I am working on amending the helpful jhsph beamer theme (https://github.com/jfiksel/jhsphbeamer ) to match my university's font guidelines. The guidelines call for using Quadon for titles, headlines, ...
user avatar
2 votes
1 answer
136 views

Which TeX-Live package contains "ly1enc.def"? [duplicate]

I am distributing a LaTeX package containing templates for our organization. I am developing on Windows and we have an automated build process established for Linux, which also does some basic testing....
user avatar
  • 4,286
1 vote
0 answers
45 views

Package fontenc not working on beamer

In LaTeX, using the \documentclass{article}, I've used the packages inputenc as utf8 and fontenc for T1. For papers, these packages have been great in allowing me to type especial characters (in math ...
user avatar
  • 323
3 votes
1 answer
56 views

Accessing characters with \symbol

I'm trying to use the \symbol{} command to output UTF8 haracters, but I can't get access any characters higher than 0x7E The following code just outputs a tilde. \documentclass[a4paper,10pt]{article} \...
user avatar
0 votes
1 answer
72 views

Incorrect display of a dash [duplicate]

I have next problem: I can't compile code after I copied and paste it in editor, because dashes on the left side of picture are not the same as on the right. but if I replace "−" to "−&...
user avatar
0 votes
1 answer
46 views

package clash: fontenc package with lilypond environment

I'm working with lilypond (lyluatex package) within LaTeX to write scores. I'm using a wide variety of packages within my file (as you can see below and they're all used in the original document), but ...
user avatar
  • 1
1 vote
1 answer
62 views

Arabic text inside of listings

Background I am trying to get Arabic text to show inside of HTML code tags using the listings package. The code does not generate any errors, but does not show the Arabic text either. The below ...
user avatar
  • 2,603
0 votes
0 answers
35 views

Which mappings are used if glyphtounicode/pdfgentounicode are not used

Consider the following MWE: \documentclass{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[croatian]{babel} \input{glyphtounicode} % * \pdfgentounicode=...
user avatar
  • 977
2 votes
1 answer
42 views

Is it possible to use private unicode positions in encoding files?

I am currently in the process of converting a large icon font into something usable for LaTeX. So far everything worked well, I wrote a script that converts the accompanied documentation into encoding ...
user avatar
  • 4,286
0 votes
0 answers
48 views

Setting an accessible character encoding

I'm using pdflatex/Overleaf for my thesis, and running an accessibility check with Foxit PDF Editor. Below is part of the result: Ignoring tagging for now, right now I'm trying to fix the character ...
user avatar
  • 153
3 votes
2 answers
89 views

Text label in MetaPost: language support

I am working with the example: beginfig(1); label.urt("Текст на русском.", origin); label.llft("Text in English.", origin); endfig; The output contains: Missing character: There ...
user avatar
  • 515
1 vote
1 answer
59 views

How to use the ellipsis glyph from TeX Gyre Termes in pdfLaTeX?

The font TeX Gyre Termes has a dedicated ellipsis glyph. It can be seen, for example, by opening the file qtmr.pfb in fontforge; it is the glyph number 133 (in base ten), corresponding to Unicode U+...
user avatar
1 vote
1 answer
145 views

All section heading sans serif font overleaf

I'm using overleaf and trying to get the body to use the serif version of Alegreya, but the titles and headings to use the sans. Quite a few questions about this, but didn't find the solution. Looked ...
user avatar
  • 95
2 votes
1 answer
129 views

Fontenc T1 changes underscores

When using \usepackage[T1]{fontenc} to get correct umlauts, underscores are displayed much wider and subscript than without it and backslashes are much more angled and taller. Is there a way to revert ...
user avatar
  • 145
1 vote
0 answers
121 views

Adding a Flourish to a Word

Consider, say, the word which was produced by the following MWE code: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{pbsi} \usepackage{scalefnt} \begin{document} \thispagestyle{empty} \...
user avatar
  • 4,969
0 votes
2 answers
92 views

Switching up two font types (Lato and Raleway) in one body of text

I would like to switch up between the two font types: Lato and Raleway in one body of text. I spent some time to search for answer but no success. If I set one as default cannot change the selected ...
user avatar
  • 199
1 vote
1 answer
77 views

Why I cant see the Hebrew titles?

I'm trying to write a document that contains English, so I put: \begin{english} % Some lines.... \end{english} And then, if I put TOC at the beginning, this is the result: No titles of parts, ...
user avatar
  • 2,377
1 vote
1 answer
106 views

Why does my formatting break when I change compiler from pdfLaTeX to LuaLaTeX?

I'm writing a document in Overleaf using a document template I've been given, and I need to use the formatting style set out in that template. I've had to change the compiler I'm using from pdfLaTeX ...
user avatar
  • 115
3 votes
2 answers
78 views

I can't type anything with FreeMonoTengwar font

I've successfully installed the FreeMonoTengwar font and the keyboard layout, and it works perfectly on simple programs such as Notepad: but for some reason when I follow the steps given in this ...
user avatar
1 vote
1 answer
34 views

Math and German characters in make4ht

I have the problem of using make4ht to compile my file which contains both math symbols and special German characters. If I use option -u I get charset="utf-8" in the head section and teh ...
user avatar
0 votes
0 answers
25 views

fonts, style, color, for a thesis writing [duplicate]

I am sorry to ask this as this may be difficult to know, but any idea what fonts, colour, or in general, what kind of set-up has been used to write this thesis? Thank you very much.
user avatar
  • 247
2 votes
2 answers
212 views

Typesetting a single word with TeX Gyre Pagella at T5, using Palatino for everything else

I need to typeset a single Vietnamese word in my otherwise English document. My document is in Palatino, which doesn't support T5, so after I switch to T5, it uses a different font. So far, this is ...
user avatar
  • 945
2 votes
0 answers
60 views

Redefining \dh gives problem with hyperref

I would like to define \renecommand{\dh}{d.\,h.\xspace} which would help me to enter d.h. correctly in a German text. Problem: doing this before hyperref gives the T1-default, doing it after hyperref ...
user avatar
  • 607
0 votes
0 answers
22 views

Selecting font for a specific section with options

I can use \usepackage[charter]{mathdesign} to change the font of the entire document. But I only want this to be done for a certain section. What command should be used for this?
user avatar
0 votes
0 answers
50 views

Strange artefacts in PDF output with cm-super package

The following code: \documentclass[11pt,a4paper]{article} \usepackage[T1]{fontenc} \begin{document} \textbf{U} \end{document} Compiled without the cm-super package, produces a PDF, which in Adobe ...
user avatar
0 votes
0 answers
47 views

Searchable umlauts without any font change

I have a document with some (very few) umlauts, for example: \documentclass[11pt,a4paper]{article} \begin{document} This is the Hölder inequality: $$ \Vert f g \Vert_1 \leq \Vert f \Vert_p \Vert g \...
user avatar
0 votes
0 answers
39 views

Do I need utf8 inputenc when I am already using T1 fontenc? [duplicate]

For German texts I use T1 fontenc so that the search option in my pdf preview can also find the umlauts. When I count the number of words using TeXcount, it tells me that the text is encoded in utf8. ...
user avatar
0 votes
2 answers
42 views

How to have Polish characters and not affect language of table of contents, etc

I am trying to add some Polish characters as part of an acknowledgement section (I am using Texmaker). I have tried using \usepackage[T1]{fontenc} and \usepackage{polski} - the use of the T1 encoding ...
user avatar
  • 101
3 votes
1 answer
65 views

Using \textquotedbl with make4ht

I help maintain a document which is built, among other ways, with make4ht --utf8 --lua document.tex for HTML output. In order to typeset command line excerpts, the document sometimes uses \...
user avatar
  • 21.4k
0 votes
1 answer
81 views

Plain LuaTeX unicode letters with PiTeX

I'm trying to isolate fonts.ptxlua from pitex to access Open/True-Type fonts with the YaX interface. I can load the font correctly; however, as I tried to typeset some proofs, I found that now LuaTeX ...
user avatar
  • 3,993
4 votes
1 answer
45 views

Defining new math symbols and specify how they behave under commands such as \mathrm

I want to define a math symbol \dbar which will display its italic version normally, but display upright when it appears inside \mathrm. My naïve attempt is something like this \documentclass{article} ...
user avatar
  • 41
0 votes
0 answers
17 views

Error: pdflatex.exe (file aealmateen): Font aealmateen at 1080 not found

I ma runnin the following script on WinShell on Windows 10. I receive this error: Error: pdflatex.exe (file aealmateen): Font aealmateen at 1080 not found How to fix this issue? Here is the script: \...
user avatar
1 vote
0 answers
41 views

The name of this font [closed]

Can you tell me please, the name of this font
user avatar
0 votes
0 answers
88 views

African letters in latex

I am trying to put the following letter: ɖ in my latex file. I thought, I could use maybe $\textdtail$, but it doesn't work. My preamble contains already \usepackage[T1]{fontenc}, so I tried also to ...
user avatar
  • 461
2 votes
2 answers
187 views

How to get accented letters (ogonek) in a specific font?

I need to use a specific font (New Aster LT Standard), and I am running into issues with 2 characters in my text. One is the polish ogonek on the name "Dąbrówka", the other is an accented ...
user avatar
6 votes
1 answer
167 views

T1 font encoding, beamer, and mathrm

Beamer uses a sans-serif font to typeset math. While I like the aesthetics of it, in a math context I find capital I and capital Pi significantly harder to read without the serifs. Without T1 encoding,...
user avatar

1
2 3 4 5
13