{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.

learn more… | top users | synonyms (1)

0
votes
0answers
25 views

Fix encoding for ligatures of fonts in XeTeX / LuaLaTeX (specifically for Minion Pro)

Ligatures in the MWE below are not encoded properly when compiling with LuaLaTeX or XeLaTeX. Copying "The difference" from the pdf to a text editor renders "e di erence". I am aware this has been ...
2
votes
0answers
24 views

Warning: uncodable character in LyX lstlisting

The problem I'm trying to insert the output of the tree command into a Program Listing field of LyX. The text is the following: exampleFolder/ ├── 01.mp4 ├── 02.avi ├── 03.mov └── 04.mpg If this ...
2
votes
1answer
18 views

Problem with Icelandic characters in Beamer

I am doing a Beamer presentation based on an article, so I do a lot of copy and paste from one document to another. Basically everything is working fine, but for some reason, the Icelandic special ...
1
vote
0answers
34 views

How to keep ampersand in a different font?

\documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage[T1]{fontenc} \usepackage[math]{iwona} %nice font \renewcommand{\mathsterling}{\textrm{\textsterling}} \usepackage{hyperref} ...
4
votes
3answers
440 views

<< and >> do not give « » (guillemets)

Context ~$ latex --version pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) kpathsea version 6.2.1 with this *.tex file \documentclass[12pt]{article} %Gummi|065|=) \title{\textbf{Test ULysse}} ...
3
votes
0answers
66 views

Using Microsoft word fonts in latex

I have a document written in Microsoft Word with Greek, Coptic and Hebrew in addition to Arabic and Hieroglyph languages. For Greek I used the font Greek, for Coptic I used the fonts CS Avva Shenouda ...
2
votes
1answer
62 views

Undefined control sequence. \begin{document} when compiling via Xelatex

This question has been asked several times before, but I think every individual's experience is a bit different. I have tried 3 latex templates, all of them giving the same error. Just for a ...
1
vote
1answer
22 views

mmap/cmap package does not affect on some fonts

The cm-super \bfseries\sffamily looks ugly, in my opinion. But, when I change fonts by strings \renewcommand{\sfdefault}{fos} \renewcommand{\bfdefault}{b} text in PDF become unsearchable with this ...
2
votes
1answer
36 views

Using lstlisting with T2A

I would like to display a code listing using the package listings. It all work nice, except if I had the fontenc T2A. When I do, the listing stop being displayed using \ttfamily font and is shown ...
1
vote
1answer
94 views

why neither \bf nor \textbf works in this?

I have used \bf, \bfseries and \textbf for some particular texts in my answer sheet yet I am unable to detect what makes these fail to work in this document. Could you help to find it? ...
3
votes
1answer
58 views

Conversion from math mode of the form $x_a$ to text?

I want to convert from italic math mode $x_a$ to upright. So I thought \text{x_a} would do. But due to the underscore sign it doesn’t work. Any ideas?
3
votes
2answers
121 views

How to change the greek symbol $\nu$ into upright bold

How can I change the font of the Greek symbol \nu into upright bold?
1
vote
3answers
53 views

Font shape not available with `newpx`

Have a document with newpx and use bold, small caps and large text (with MikTeX 2.9). \documentclass{article} \usepackage[largesc]{newpxtext} \begin{document} Normal \textbf{Bold textbf} {\bfseries ...
2
votes
1answer
98 views

How many font styles of $x$ and $X$ can we use?

I want to use different variable styles in my dissertation. I'm currently using $x$ for a single random variable, $\mathbf{x}$ for a set of random variables and $\mathcal{X}$ for a state space. I also ...
0
votes
1answer
28 views

linguistic options of JabRef 3.2

I am puzzled with some foreign languages such as Czech and Polish, because author names are often written with characters which are ignored by JabRef. Is there a mean to code them in order that they ...
2
votes
2answers
59 views

What about \cyrdash in EU1 and EU2 encodings?

cyrdash is defined in T2A, T2B, T2C and some other legacy encodings but seems to escape from EU1 (xetex) and EU2 (luatex) encodings. cyrdash should, by idea, print something intermediate between ...
0
votes
2answers
76 views

beramono and texttt : angle brackets show as inverted exclamation mark and inverted question mark symbols (upside-down signs, like in spanish)

Angle brackets < and > in \texttt render as inverted exclamation mark and inverted question mark (spanish punctuation marks): \documentclass{article} \usepackage{beramono} \begin{document} ...
2
votes
0answers
63 views

Beamer Headers/Footers with Alegreya Sans [closed]

In the following MWE, the spaces for section title and date on the top/bottom of the slide are too small for the Alegreya Sans font. \documentclass{beamer} \usetheme{AnnArbor} ...
0
votes
1answer
27 views

Only the main part of the document has the right encoding

Been having this problem for a bit and haven't been able to short it out whatever I do. I'm writing my thesis in LaTeX which is writen in Spanish, therefore it needs to have accentuation in some ...
0
votes
0answers
19 views

Font Letter - Particular style [duplicate]

How can I write this letter: in Latex ? I don't know if it is a particular font, or particular symbol.
0
votes
0answers
26 views

A section of my document doesn't process spanish accentuation

So I have the following problem, one of the section of my document does not use the right encoding or something like that as it doesn't add the accentuation which is characteristic in the spanish ...
1
vote
1answer
89 views

fontenc description OT1, EU1

I have a simple question about LaTeX. What does it mean when you write \usepackage[OT1,EU1]{fontenc} and where can I find the description? \documentclass{article} \usepackage{fontspec} ...
2
votes
1answer
69 views

European Accents not showing correctly [duplicate]

When i type " é " directly with the appointed key, or use a key combination of "´ + e" (where I press the ´ first, the character doesn't show up, and then I pres e and the accent appears) it doesn't ...
1
vote
1answer
40 views

moderncv in AUCTeX doesn't produce accented vowel, why?

I'm trying to write a resumé with the moderncv class in AUCTEX (special LaTeX mode in emacs). I actually wrote the *.tex file in TeXmaker months ago then recently tried to re-ran the file with AUCTEX. ...
1
vote
1answer
78 views

footnote with smaller characters

How can I write a footnote with smaller characters? How can I write a formula in a footnote, with the same character size (fonts) as the main text of the footnote? Example: \footnote{${}^1$}% ...
7
votes
3answers
660 views

Why does inputenc abandon so quickly under “utf8 based engines”?

Why do I need to do the extra work starting with \ifdefined in order to get my French guillemets correct in the pdf output, when using xelatex with a source specifying the use of T1-encoded fonts ? ...
1
vote
1answer
42 views

Using 'kmath' in XeLatex

I'm using the Kerkis font family in XeLatex, but math-mode uses the default font. I have installed the OTF font files and it works fine for text when I am specifying it as the main font like this: ...
28
votes
6answers
2k views

What is the history of the ß (Eszett) in the T1 encoding of Computer modern?

In the default font (Computer modern) the ß looks ugly to me. It really sticks out on a page as if it would come from a different font. Here's an image: What is the history of this character? ...
23
votes
2answers
1k views

TeX history: what was the diagonal dash at codepoint 32 in cmr10 intended for?

The answers to this useful question explain how to show the encoding of a TeX font. And this is the default encoding used in the default TeX font, cmr10: What was the strange diagonal dash ...
0
votes
0answers
113 views

Use a font that is temporarily loaded in memory on Windows

I use XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/W32TeX). I purchased a license for the software package Indica Unicode, along with the Unicode fonts that are bundled with it. The software ...
1
vote
1answer
48 views

Change default bold series for teletype only

Consider this example: \documentclass{article} \usepackage{lmodern} %% see below \usepackage[T1]{fontenc} %% \begin{document} Hello \textbf{World \texttt{of} Code!} %% ...
4
votes
1answer
98 views

T1 font encoding and math fonts

For specific reasons, I'd like to typeset an equation in \mathrm{...}. Also, the document uses T1 font encoding. Now a greek Delta in an equation gets typeset as "`" instead unless I use OT1 font ...
3
votes
1answer
58 views

What does fontenc do and when is it applied? Based on an example of creating my own package

After quite a time of using LaTeX, I am now trying to understand how it works. The following example concerns the functionality of fontenc. In order to not have to write down the inclusions of all ...
1
vote
1answer
39 views

package chemnum incompatible with [T1]{fontenc}?

If I use the fontenc package, I do not see compound numbers in the scheme: \documentclass{report} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage[crop=off]{auto-pst-pdf} ...
1
vote
0answers
37 views

How to Compile with Embedded Font in Latex and Preserve Figures?

Using kile in linux platform and IEEE Transaction document type. I need to include some figures from matlab eps format, with complicated formattings inside the figures. So I am using a command like ...
1
vote
2answers
142 views

Encoding problem when generating umlaut code from batch [closed]

This is my setting. I have a main tex-file: % TextTest.tex \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} % in order to be able to write åäö. \input{name.tex} \begin{document} ...
4
votes
1answer
78 views

Ångström sign not outputting correctly with libertine OT1 font

I have this document: \documentclass{article} \usepackage[OT1]{fontenc} \usepackage{libertine} %\UndeclareTextCommand{\l}{OT1} %\DeclareTextSymbolDefault{\l}{T1} %\UndeclareTextCommand{\AA}{OT1} ...
3
votes
1answer
122 views

Xelatex bad encoding on output

I'm using the 'xgreek' package and compiling the document with XeLaTeX (xetex); I can't find out why toc, date etc. seems corrupted (should be in greek) ...
2
votes
1answer
28 views

Escaped characters showing up incorrectly

I'm using the SIGCHI (https://github.com/sigchi/Document-Formats) conference paper template in LaTeX. That template includes the package: \usepackage[T1]{fontenc} This package, however, is causing ...
4
votes
2answers
101 views

TeX accents on XeLaTeX without fontspec

I'm trying to use XeLaTeX with BibTeX8 without fontspec, but I'm getting my bibliography wrongly accented as with the files. \begin{filecontents}{\jobname.bib} @Book{Aristoteles2000mf, Title ...
3
votes
0answers
35 views

Unrecognized special character with comment package [duplicate]

Why are the character with accent not recognized ? \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage{comment} ...
3
votes
1answer
112 views

How to solve encoding issues with Zotero-generated BibTeX file?

I'm using Zotero to manage and export reference lists. Sometimes text fields contain an accent, circumflex, umlaut etc. When I used such bib files in LyX (tried the plain and unsrturl styles), I get ...
1
vote
0answers
58 views

Accessing Characters with pdfTeX

My goal. I want to use pdfTeX to access characters that appear in the fonts I am using, beyond the ones I can type with 7-bit ASCII text characters. For example: copyright symbol ellipsis accented ...
2
votes
1answer
191 views

LaTeX Error: Encoding Scheme `15' unknown

So I just finished a document I need to turn in before midnight, but I can't export to PDF for some reason. It keeps showing me this picture: My guess is that I'm missing some kind of package? The ...
3
votes
1answer
1k views

Error in MacTex – Font … not loadable: Metric (TFM) file not found

This question is exactly the same as this one, but for Mac OS. My error is: Font OT1/pcr/m/n/9=pcrr7t at 9.0pt not loadable: Metric (TFM) file not found So I tried the answer in the linked ...
1
vote
1answer
50 views

Troubles with opening a project made in BaKoMa

I've faced the situation where I should open a tex project which consists of a number of chapters and parts. There are a lot of files in a huge number of folders. As I understand they can be compiled ...
2
votes
1answer
114 views

Embedding Only TrueType Fonts Using XeLaTeX

Background: I'm writing my thesis and per the department guidelines, I have to use TrueType fonts and they need to be embedded in the PDF. Now, I have managed to change everything into Computer ...
7
votes
1answer
116 views

Problems with comment package when comment contains diacritical characters

I often use comment package to include various comments to have possibility of creating output with omitting various temporarily comments However, recently I found out that I have problems when ...
1
vote
1answer
35 views

Using cmssdc10 in PDFLaTeX and T1 fontenc

I'd like to use the cmssdc10 font in PDFLaTeX with a T1 encoding to ensure that hyphenation still works well in German. It seems that the T1 encoding is not supported. Any suggestions? Without T1 ...
2
votes
1answer
104 views

Tufte-book error with mtpro2 and fontenc

I want to create a book in greek language in tufte style using mtpro2 package and xetex. \documentclass[twoside]{tufte-book} \usepackage{mtpro2} \usepackage{amsmath} ...