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
1answer
25 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
50 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
79 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
55 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
57 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
80 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
31 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
50 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
28 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
50 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
58 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
27 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
68 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
72 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
67 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
75 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
45 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
82 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
55 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
28 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 ...
4
votes
1answer
170 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
35 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?
0
votes
0answers
19 views

What causes mmap to get to “\show\cmap@f@encoding % this is not accessed normally”, and how do I fix this?

I'm trying to revive an old (previously-compiling) development that produces a pdf from some Agda files. I am somehow managing to hit the line \show\cmap@f@encoding % this is not accessed normally in ...
0
votes
0answers
62 views

Error with phv font family

I was just testing the template that the faculty has left me to do the work when I come across a compilation error. Debugging the code, I have come to isolate the problem, which is given by something ...
2
votes
1answer
23 views

Use of phfqit package: doubt

This morning I have discovered this package named: phfqit. At the page 4 there is, for example, an example \Hmin‘\Big{\bigotimes_i A_i}[B] with a character ‘. I have tried to use fontenc, inputenc, ...
4
votes
3answers
381 views

How to typeset this Euro sign from Cochineal font

The euro symbol in my documents that use cochineal font looks really bad, however in the font tables in the cochineal documentation there's an euro sign which looks decent. Here's the € I get: \...
0
votes
1answer
88 views

EB Garamond initials and hyperref package

Consider the following MWE (to be compiled with XeLaTeX): % TEX program = xelatex \documentclass{article} \usepackage[T1]{fontenc} \usepackage{ebgaramond} \usepackage{hyperref} \begin{document} \...
1
vote
1answer
163 views

T3 fonts being used for no reason?

When I use pdflatex test.tex to compile the simple file: \documentclass{article} \begin{document} Hello \S world! \end{document} the symbol \S is rendered using the (rasterized) T3 font: <C:\...
1
vote
0answers
31 views

Text selection adds extra spaces in Sumatra PDF

The following document: \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} Hello world \end{document} result in the following weird ...
1
vote
1answer
98 views

How to typeset the German letter ß in \address with amsart

I would like to typeset an author's address which contains the German letter ß, but \ss keeps typesetting as "ss". Here is a MWE: % !TEX encoding = UTF-8 Unicode \documentclass{amsart} \...
2
votes
1answer
47 views

Problem with Latex encoding - Force Latex to accept character and ignore Errors?

I have somewhat of an unusual problem. I'm trying to write the quote There are three hard problems in computer science: 1) Converting from PDF, 2) Converting to PDF, and 3) O̳̳̳̳̳̳̳̳̳̳̳̳̳̳̳̳̳Ҙ҉҉҉ʹʹ҉...
0
votes
1answer
51 views

Conflicts between usepackage {inputenc} and {fontenc} by BibLateX

In previous questions (see Special character \oe and BiblateX with XeLateX andProblem of compilation with XelateX (Package soul error), I presented my problem related to the taking into account of the ...
0
votes
1answer
61 views

Segoe UI Historic a non-displaying number

I have created a MWE of the (rare) font Segoe UI Historic. Number 13001 works (see in between A and B below) but one thousand numbers after, at 14001 (see between B and C below), it displays an empty ...
0
votes
0answers
48 views

luatex: get straight quotation and non-unicode \dots without T1

As this thread discusses, lualatex has some problems with T1 fontenc. On the other hand, without T1 fontenc \documentclass{article} % \usepackage[T1]{fontenc} \begin{document} "\dots" ``\...
3
votes
1answer
53 views

change font for table and within text

I have the following table \documentclass{article} \usepackage{amsmath} \newcommand*{\myfont}{\fontfamily{qcr}\selectfont} \begin{document} Lorem {\myfont ipsum} {\myfont \begin{table}[h] \...
2
votes
1answer
84 views

Setting Document Font to sylfaen

Could you please recommend how can i set PDFLatex Document font to Sylfaen for Georgian language. Below is my current setup which doesn't work. \documentclass [a4paper, georgian, 12pt]{article} \...
0
votes
0answers
37 views

How to remove the Type 3 error from Pdflatex?

I finished preparing a book in latex (Texmaker). When I submitted the pdf file to the press, they showed type 3 font error: Font F44, F45 is a Type 3 font (239x on pages 16...337) I don't understand ...
0
votes
1answer
122 views

Chinese RMB symbol converted to dollar sign instead

MWE: \documentclass{article} \usepackage{ctex} \usepackage[table]{xcolor} \begin{document} ¥ \end{document} output: It only works with XeLaTeX. Doesn't even compile using Latex. Error message:...
0
votes
1answer
118 views

How do I make default's monospace font smaller? [duplicate]

I thought the task would be so easy I will be able find an answer in a second. As it turned out, I can't make my verb| | look smaller without changing the "global" settings (which isn't what ...
1
vote
2answers
115 views

Special characters, cmap, copy-paste pdf text to text editor

I have pretty bad issue with special characters. When I copy-paste the text from my pdf file to some other text programs I obtained: t˛e klas˛e zwi˛azków n˛a and I expect: tę klasę związków ną. I don'...
1
vote
1answer
40 views

T1 fontenc with utf8 inputenc don't behave well together in the output pdf

if I use the following document \documentclass[11pt, a4paper, english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \begin{document} Why is this output so strange öäü at zoom ...
3
votes
2answers
73 views

What is the Brill font encoding? Or: \DeclareTextComposite in XeLaTeX

I want to redefine \' for a few characters (e.g., so that \'t maps to t’). I once did this with \DeclareTextComposite (I think), which requires me to specify the encoding (T1, OT1, etc.). What is the ...
0
votes
0answers
646 views

Command \textminus unavailable in encoding OT1

When I try to compile my document I get the error as in the title. I guess it is related to the Matlab code I submit, but I do not know how to correct this. \documentclass[3p,times]{elsarticle} \...
0
votes
0answers
39 views

Replace letters in math font

How can I find the slots (like {"01}) in \DeclareMathSymbol{}{\mathord}{Greekletters}{"01}. Does anyone have a list of symbol numbers?
1
vote
2answers
42 views

Many glyph enconding / one program. What is the importance of the concommitance of OT1 and OML?

Briefly about LaTeX/TeX, Why would be useful to have two glyphs encodings for the same document/data processing in the same contextual time (eg. OT1 and OML)? Why two font encondings for the same ...
0
votes
2answers
115 views

Can I use multiple languages using fontenc?

I'm a Serbian native speaker, and for my needs I found that \usepackage[OT2]{fontenc} works best. But I can't figure out how to switch between [OT2] and [T1]. For example I use OT2 so most of my work ...
0
votes
0answers
52 views

Math upright without changing font to roman?

I would like to have a “math upright” command that would automatically conform to the “normal” math typeface of the document. By “normal” math typeface here I mean the typeface that is used if I just ...
0
votes
1answer
39 views

includepdf addtotoc bookmark encoding

When I use includepdf addtotoc option with pdflatex, bookmarks generated by this command produce gibberish: This is the code: \documentclass[a4paper]{memoir} \usepackage[T1,T2A]{fontenc} \...
1
vote
1answer
60 views

Cyrillic letters ACM template

I'm trying to use Cyrillic letters in the ACM Official Master Template. To use Cyrillic letters it is necessary to use the T2A font encoding, so I set \usepackage[T1, T2A]{fontenc} because I use both, ...
5
votes
0answers
1k views

Font shape declaration has incorrect series value `mc'

I know this issue has been solved for the phv font family and updated via CTAN/miktex console but I get the same error for eurosans.sty. (pdfTeX, Version 3.14159265-2.6-1.40.21, MiKTeX 2.9.7400 64-bit)...

1
2 3 4 5
12