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
2
votes
2answers
171 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 ...
1
vote
0answers
35 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 ...
0
votes
0answers
13 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?
0
votes
0answers
42 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 ...
0
votes
0answers
39 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 \...
0
votes
0answers
36 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. ...
0
votes
2answers
22 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 ...
3
votes
1answer
28 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 \...
0
votes
1answer
63 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 ...
4
votes
1answer
42 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} ...
0
votes
0answers
14 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: \...
1
vote
0answers
40 views

The name of this font [closed]

Can you tell me please, the name of this font
0
votes
0answers
53 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 ...
2
votes
2answers
83 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 ...
6
votes
1answer
95 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,...
0
votes
0answers
18 views

Broken dash output in listings (noto font)

I'm trying to use the "noto-sans" font found in the LaTeX Font Catalog, unfortunately each dash (-) produces a tombstone (▯) as output. Here is an MWE: %!TEX program = xelatex \documentclass{...
0
votes
0answers
32 views

Symbol is not showing > within my code [duplicate]

Result: If $X_{1},...,X_{n}$ are iid $f(x;\theta_{0})$, then P[L($\theta_{0}$;$\undertilde{X}$) > L($\theta;\undertilde{X}$)] Everything shows up fine, but the ">" sign comes out as ...
2
votes
0answers
192 views

Inputenc Error: Invalid UTF-8 byte "FC

When compiling my code in Texmaker I get this error: Error Package inputenc Error: Invalid UTF-8 byte "FC. I don't know why. Can somebody help me? \documentclass[11pt,a4paper,oneside,titlepage]{...
4
votes
1answer
186 views

Ancient greek characters do not appear with Times New Roman

I'm using XeLaTeX and the polyglossia package to write text in italian and ancient greek. My problem is that ,when I use e.g. the **CMU Serif** font, the greek text appears correctly, but ,when I ...
0
votes
1answer
19 views

Probably misdiagnosed “Command textiota unavailable in encoding T1” error

I'm writing which is overall in English but with a few quotes with Greek characters in-between. Now I'm getting a strange error saying ""Command textiota unavailable in encoding T1" (if ...
1
vote
1answer
45 views

figure environment isn't compiling with babel and hebrew in pdflatex

I have a project that is written both in Hebrew and in English, which is compiled with pdfLatex on Overleaf. Since this compiler is not a Unicode engine, one has to declare the Hebrew letters ...
0
votes
2answers
76 views

How to get CMU small caps as a separate font?

CMU bold small capitals work for me with \usepackage[T1]{fontenc} but not with \usepackage{fontspec}. Is there a way to get a separate CMU font that only has small capitals? When I buy fonts they come ...
5
votes
1answer
114 views

Gödel versus G\"odel [duplicate]

I have created two test documents. Here's foo.tex: \documentclass{article} \usepackage[T1]{fontenc} \begin{document} Gödel \end{document} And here's foo2.tex: \documentclass{article} \usepackage[T1]{...
1
vote
1answer
38 views

IEEE conference template opens with strange characters in Mac

I am trying to open a template in LaTex for IEEE conferences with TexShop and I am getting a message that says. "This file was opened with ISOLatin9 encoding. The file could not be opened with ...
6
votes
1answer
377 views

Nice font from a 1959 French article

Here's an excerpt from a 1959 French article I've found: (title: "Points rationnels sur certaines courbes et surfaces cubiques", by François Châtelet, from L'Enseignement Mathématique, here)...
2
votes
2answers
91 views

Helvetica-matching math-version

I have the strong conviction that I have only understood 1% of how LaTeX selects (math) fonts, so I guess that most of my problems come from that, apart from the lack of a proper math font matching ...
1
vote
1answer
40 views

unicode-math gobbling up glyphs from other package

I would like Times New Roman as my default font for text and mathematics, and after having tried out several I've found TeX Gyre to have the best coverage. But by using unicode-math for the ...
1
vote
2answers
134 views

Different rendering of µ (micro) and other unicode symbols when compiling with XeTeX

This is not a "how-to" question but rathe a "why" question. I'm working on re-writing a MS Word document in LaTeX to be compiled with XeTex. I noticed some symbols not showing, ...
0
votes
1answer
28 views

Double equal sign - Problem with \usepackage[T1]{fontenc}

I have made a macro to type a double equal sign but the signs are thinner when I use \usepackage[T1]{fontenc} (see the picture and the code below). How can I fix this? \documentclass[12pt,a4paper]{...
3
votes
1answer
55 views

How to make sure that the PDF file has NO unembedded font?

I know that one can easily see which fonts are embedded in a PDF. However, the conference I am submitting to requires that ALL of the fonts should be embedded. Acrobat DC shows me the fonts that are ...
0
votes
0answers
182 views

Compiler throws error after Miktex update from February 10, 2021

After yesterdays update to hyperref version packed February 10, 2021, I get this error using Lualatex: ("C:/Program Files/MiKTeX 2.9/tex/latex/hyperref/hyperref.sty" Package: hyperref 2021-...
0
votes
1answer
110 views

math font pixelated for concmath fonts [duplicate]

I am using the concmath package (ultimately I only need the concrete font in the math environments but lets do it globally for now). My issue is: In the math environment I get a pixelated font. See ...
0
votes
0answers
71 views

Use any unicode character in source with pdfLaTeX (without XeLaTeX or LuaLaTeX)

I'm writing a script that converts .md files into latex source code and compiles it to a .pdf. I've been using pdfLaTeX and would rather not refactor this late in the game. I want to be able to handle ...
1
vote
0answers
81 views

Single word color in mathematica [closed]

When we give color to a word in latext, e.g., if we need red color to a word "Moon", we write \textcolor{red}{Moon}. How we can do same in a mathematica when we are writing text inside a ...
2
votes
1answer
34 views

Where is \textthreequartersemdash defined in xelatex/lualatex?

I cannot find where and how \textthreequartersemdash is defined for xelatex and lualtex. Its definition is absent from TU encoding but \textthreequartersemdash prints always dash of same width ...
0
votes
0answers
134 views

Changing default font for \mathcal in “Pages” equations (Mac)

Sorry if this question is not too relevant to LaTeX. LaTeX doesn't have good support for my language so I'm writing my paper in Mac's "Pages". I am using version 10.3.5 (7029.5.5) and using ...
0
votes
0answers
37 views

charter package: broken umlauts with fontenc package and T1 encoding

I want to use the fontenc package in combination with the charter font package (using pdflatex for compiling). With \usepackage[TI]{fontenc} included, however, the capital versions of german umlauts ...
0
votes
0answers
61 views

How does LaTeX compute the bounding box of a character?

Consider the following document: \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \renewcommand{\familydefault}{\sfdefault} \begin{document} \def\text{0} \newlength\len \...
-4
votes
1answer
61 views

What is the way to do text for functions? [closed]

I would prefer not to have a bunch of \newcommands or whatever can I just do text{} or something?
0
votes
0answers
62 views

latexmk fails with Invalid UTF-8 byte sequence even though I already used multiple tools to convert file to utf-8!

I would like to use latexmk in Visual Studio Code with the LaTeX plugin but I am facing some issues regarding encoding: Package inputenc: Invalid UTF-8 byte "A4. Package inputenc: Invalid UTF-8 ...
0
votes
1answer
104 views

How to change font encoding in pdflatex?

Consider two identical tex files file1.tex and file2.tex: \documentclass[10pt]{article} \begin{document} Hello World \end{document} The following two methods can be used to generate a pdf file ...
0
votes
1answer
97 views

**LaTeX** insert Unicode Characters (relational Database chars)

I recently tried to insert the Characters for the relational Algebra (left/right (semi) join, ...) but failed up to now. I know that it is problematic with Unicode and ASCII encoding, but I thought ...
1
vote
2answers
78 views

Locally and one-slot-oriented font encoding definition change

Related to "Ð vs Đ": Wrong mappings when copying from PDF with \pdfgentounicode with newtx. I have even tried changing /Eth to /Dcroat in lm-ec.enc and tested new MWE using lmodern and ð Ð đ ...
2
votes
1answer
89 views

How do I get ligatures and guillemets with Libertine and PDFLaTeX?

I want: my document to be rendered in the Libertine (or Libertinus) typeface with all the default ligatures enabled (including Th and Qu); use guillemets (»«) and other special characters directly in ...
1
vote
1answer
107 views

Italic is not working in the given template

I use following template: https://github.com/RUB-NDS/exposee_layout I added following code at the end of the "Related Work"-Chapter: \textit{TESTTESTTESTTESTTEST} {\itshape abcdefgh} non-...
0
votes
0answers
104 views

How to know if my file is inserted correctly `glyphtounicode`

In several suggestions for making pdflatex output copy-and-pasteable, is part of the suggestion to insert the code, \input glyphtounicode.tex \pdfgentounicode=1 \pdfcompresslevel=0 TeXstudio marks in ...
0
votes
0answers
63 views

Correct preamble with T1 font encoding

I am wondering if I have set up a correct preamble. In particular I must use T1 encoding, because I am writing in Portuguese. \documentclass[english,portuguese]{article} \usepackage[portuguese]{babel} ...
1
vote
1answer
40 views

Problem with using gb4e export of linguistic examples & unicode

I am new to LaTex - total rookie here, sorry if I'm not saying things properly lol! - and I am facing some problems with it. I am working with a web-based program called Dative for linguistic analysis ...
5
votes
1answer
208 views

Is it still necessary to use packages T1 and utf8 in editor TeXstudio?

I have an old TEX file where we used \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} I figured out form here that T1 is needed for |, < and >. But do I still need utf8? I am on windows, I ...
0
votes
0answers
47 views

Different font face

I tried using \usepackage{lmtt}, along with other font faces, in the preamble, and I've come up with nothing most of the time. Is it that TexMaker doesn't support this feature?

1
2 3 4 5
12