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

2
votes
0answers
28 views

Problem with encoding [on hold]

I have a problem with my tex file encoding. In my text in tex file I have something like this: 1. Wykonuje zaw??d z kt??rego zupe??nie nie jest zadowolony. Which should be: 1. Wykonuje zawód z ...
1
vote
0answers
57 views

Only getting strange symbols when copying from pdf to text

So the problem i am experiencing is that the encoding of the output pdf of my .tex file is somehow custom. This is the beginning of my tex file: \documentclass[a4paper,12pt]{article} ...
2
votes
1answer
60 views

Arabic characters in text

I saw there are numerous questions and answers for typesetting Arabic characters. Yet I can't get them work. I tried to replicate this answer, which is exactly what I want to obtain - few in line ...
6
votes
2answers
90 views

\usepackage[T1]{fontenc} creates warning in \tabulary

An example will speak for itself: \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage{tabulary} \begin{document} \begin{tabular}{c}aa\end{tabular} ...
2
votes
2answers
39 views

Trouble with PNAS template and accents in body and references

This has been driving me nuts. I use the PNAS template and compile with pdflatex under MacOSX 10.9.2 and MacTeX 2013 or 2014 (tried both). Here's the very simple .tex file: \documentclass{pnastwo} ...
0
votes
0answers
19 views

Setting up a document in Lyx

I use Lyx 2.1, document class : report. I want to set the document as follows: font: Times New Roman size: 12 points space between the title and paragraph : 6 before and after
4
votes
0answers
39 views

beamer doesn't compile

This is a LyX question... I updated my LyX to the latest 2.1.0 and since then it does not compile the PDF file when I use beamer (other files it compiles fine). I get the following error message: ...
1
vote
0answers
39 views

Ansi Encoding for Embedded Fonts in PDF Output

Rendering PDFs with identical fonts using InDesign versus using LuaLaTeX with fontspec in TeXworks, I have found differences in Acrobat Reader's descriptions of the embedded font types and encoding. ...
8
votes
0answers
122 views

Typesetting the Kvanta journal (Задачник «Кванта» по математике)

I've visited a colleague of mine, Karel Horák, a Czech TeXist, in Prague and he presented/gave me a nice TeX problem. He wishes to get PDF file from TeX file. It sounds easy! Issues of the Kvanta ...
2
votes
0answers
53 views

Mac CMU Garbled in Font Book [closed]

As you can see in the image, if I double click on "medium" under cmu sans serif a window opens up that looks like there's been a text encoding error. I forget if my Computer Modern was installed by ...
8
votes
1answer
74 views

space after characters with carons

If I write ďalej or ťaťa, there is a little space after characters ď and ť (and also ľ). Is it possible to remove this space ? I'm using cp1250 encoding and Slovak babel. Can somebody help, please ...
0
votes
3answers
54 views

texlive debian package error

Can anybody answering why the error - Encoding file `utf8enc.def' not found is? 111.tex input file : \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage[utf8]{fontenc} ...
6
votes
1answer
65 views

How to make ACM style pdfs searchable?

When I create pdfs using the ACM template, searching for and copying umlauts doesn't work. Using cmap gives an error "fontenc already loaded". How can this be fixed? MWE: ...
3
votes
1answer
52 views

Reliance on “default” ligatures (!`, two hyphens, two straight apostrophes, etc.)

A number of symbols seem to be normally invoked through ligature mechanisms. (Correct me if I'm wrong.) Let's have a look at which ligatures normally exist in encodings/fonts: true ligatures (for ...
3
votes
2answers
243 views

T1 Encoding causing bad PDF quality? [duplicate]

I recently noticed that some of the papers I've listed on my homepage look a lot sharper than others when rendered in a PDF viewer. Curious about this, I tracked it down to this import: ...
3
votes
1answer
39 views

Angle quotes with csquotes and T2A encoding

I'd like to get this: I can easily get this via \usepackage[T1]{fontenc} and the use of \usepackage[german=guillemets]{csquotes} But for Russian I need [T2A]{fontenc} and the inner quotes get ...
2
votes
1answer
73 views

Strange message on console

What does the warning message Overfull \hbox (1.08093pt too wide) in paragraph at lines 29--30 []\EU1/TimesNewRoman(1)/m/it/10 Sia $\OML/ztmcm/m/it/10 A$ \EU1/TimesNewRoman(1)/m/it/10 ...
0
votes
0answers
19 views

textmu in hepthesis class [duplicate]

I try to get hepthesis running but run into a problem when using \textmu Here a code example: \documentclass[oneside,a4paper]{hepthesis} \usepackage[utf8]{inputenc} \usepackage{amssymb} ...
3
votes
0answers
52 views

What is the nice FONT? [duplicate]

I really like this font, but I could not figure out what's the name of it. It looks like garamond and Linux Libertine.
0
votes
0answers
44 views

Why are there no fonts with T3 encoding outside of TIPA?

Is there a (technical or other) reason why no font packages outside of TIPA provide fonts with the T3 encoding? It would be nice to avoid being tied to Computer Modern or Times, which are the two ...
5
votes
2answers
107 views

Pound = $ if tgpagella and utf8 loaded: why?

I am trying to have the pound sign appear in text composed with TG Pagella. \documentclass[11pt]{article} \usepackage{tgpagella} % alternative to MinionPro %\usepackage[T1]{fontenc} ...
1
vote
0answers
45 views

Bad character code (-1) when i use monospace

I am working with mako, python and latex, and I want to have a monospaced font in my document! I am using this commands: \usepackage[scaled]{inconsolata} \usepackage[T1]{fontenc} ...
3
votes
1answer
39 views

Font shape errors in .cls file template

I'm using a LaTeX template I found here which looks lovely, but won't accept any in-line formatting, such as \textbf{bolded text}. When I generate the pdf I get errors such as: No file T1xjgi.fd ...
5
votes
1answer
81 views

Redefine output for a specific TS1 code point (=glyph?)

By now I know how to make \textminus in tex4ht work, but this does not seem to be enough to display a proper minus with the \num macro of siunitx. Joseph Wright provided a workaround, but I'd like to ...
5
votes
2answers
208 views

Yen (¥) character (\textyen) in LaTeX - proper encoding

I am trying to type yen (¥) symbol in LateX. I am using UTF8 encoding: \usepackage[utf8]{inputenc} I tried to type this directly as ¥. When I try to compile file with pdflatex I get this error: ...
6
votes
2answers
375 views

ï & î font encoding

I've one problem in my scrbook, ï and î don't work when I compile my \printbibliography. But the problem come only with these 2 accents… I export my .bib from Papers2 for Mac application, & I ...
3
votes
2answers
125 views

LuaLaTeX: german special character ß with `newpxtext`

I use the font Palatino from the package newpxtext in combination with LuaLaTeX. With this package it is not possible to set the german special character ß directly: % Magic comments for TeXstudio % ...
3
votes
2answers
454 views

greek encodings under lyx

In my newly installed linux machine (Fedora 19), editing a formerly working document under lyx, I get: Package fontenc Error: Encoding file 'lgrenc.def' not found and in fact I see that the dir ...
3
votes
2answers
146 views

ConTeXt: How to redefine the euro sign glyph?

Introduction I am writing a document using the TeX Gyre Pagella font. Unfortunately, the glyph for the euro sign (UTF-8 character U+20AC) in this font does not comply with the official euro sign ...
2
votes
0answers
48 views

Change font via `ERT` at LyX

I want to change font at LyX via ERT (e.g. for one of the Culmus Hebrew fonts). I remeber that was one command like \set...{fontname} and then the font change to fontname (What was before this command ...
8
votes
1answer
167 views

How does \_ work if OT1 is default encoding for LaTeX?

Fair warning: I know approximately zero things about fonts and font encodings, so this is perhaps another naive question on my part. Recently, I asked about the behavior of \detokenize{_}, as one ...
4
votes
1answer
150 views

What is the default font type (OT1, T1, T3, etc.) used in AMS document classes (amsart, etc.)

Today I read several articles that suggested using Type 1 fonts in LaTeX (and they claim that Type 3 fonts are the default in LaTeX, which lead to terribly rendered PDF documents). Personally I didn't ...
0
votes
0answers
74 views

T2A does not have some font sizes

Here is the minimal code. I need to use the encoding T2A for Cyrillic characters. But the problem is that some font sizes are not available. I discovered that I should use also T1 after T2A. But using ...
5
votes
1answer
120 views

Strange behaviour with \detokenize and underscore

I just learned about \detokenize, so this question is likely a naive one. Nonetheless, based on what I thought that I understood about \detokenize, I would have expected \detokenize{_} to render as ...
7
votes
1answer
47 views

nameref + fontenc causes umlauts in aux-File

I wrote a small new command that makes use of \@currentlabelname and \nameref. When I have Umlauts in the labelname (the argument of \@currentlabelname) everything works fine until I use the fontenc ...
6
votes
1answer
118 views

Why to use [T2A, T1] when [T2A] is enough?

I am writing some seminar in Cyrillic for university \documentclass[a4paper,14pt]{extarticle} \usepackage[T2A,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{droid} ...
5
votes
1answer
142 views

Document in Spanish with IPA and Greek, failing in PDFLaTeX and XeLaTeX

I was passing some documents I had in HTML to LaTeX for a better printout. While the main language of those documents is Spanish (and a few more are in English) there have snips in other languages, ...
1
vote
0answers
98 views

Input Encoding bugged on Windows 7 WinEdt?

When my girlfriend processes her code in WinEdt on Windows 7, she gets awkward looking "special" letters. (Precisly, these are Serbian letters -- from our home country.) She used: \usepackage[T1, ...
2
votes
1answer
231 views

Substitute \mathbb fonts in Minion Pro with Blackboard Bold from Lucida Bright fonts

I would like to substitute Blackboard Bold fonts from Lucia Bright (that I have installed on my systems) in documents using Minion Pro. If I simply use Minion Pro style, I get the \mathbb fonts from ...
4
votes
1answer
36 views

Wrong hyphenation with LY1 font ecoding?

Here I found the statement that no special hyphenation patterns are needed with LY1 font encoding. Yet I stumbled upon different hyphenation in connection with non-letters (such as quotation marks) in ...
6
votes
1answer
195 views

Weird text when copying from PDF

\documentclass[12pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[swedish]{babel} \usepackage{fullpage} \begin{document} åäö \end{document} Making a PDF from this creates a ...
0
votes
0answers
53 views

tikz-timing & T1 fontenc

When using \usepackage[T1]{fontenc}, the text output produced by tikz-timing is rastered; the following MWE \documentclass{article} \usepackage{tikz-timing} \usepackage[T1]{fontenc} ...
4
votes
3answers
131 views

Can't write Greek RecipeName in xcookybooky

I am using xcookybooky to create my own cookbook in greek. Until now I was using iso-8859-7 encoding in all my documents and it was working fine. With xcookybooky there is an issue with this ...
7
votes
2answers
194 views

Can't make greek sign of question “;” shown right

I tried to make a greek text in Latex. But there is a small problem the sign of question ";" shows as upper dot. \documentclass[twoside,a5paper,12pt]{book} \usepackage[T1]{fontenc} ...
0
votes
0answers
47 views

character in the PDF

Here is my MWE: \documentclass{scrartcl} \usepackage{beramono} \usepackage[T1]{fontenc} \begin{document} \begin{verbatim} ' only a test \end{verbatim} \end{document} If I copy the text from the PDF ...
0
votes
1answer
5k views

ERROR: Please use \mathaccent for accents in math mode

Why do I get an "ERROR: Please use \mathaccent for accents in math mode." for the following code? \[c=439 450\times10^6\frac{\mathrm{millimètre}}{\mathrm{seconde}}\] I am guessing ...
5
votes
1answer
85 views

Problem displaying en-dash in imported bibliography items!

I am importing a large bibliography from a citation manager and it seems that the character – is not displayed correctly in latex. It is supposed to be an en-dash though. I wouldn't want to change ...
4
votes
1answer
151 views

Recode LY1 encoding to T1 (berenis font and polish letters)

Some fonts in standard latex distributions are supplied in LY1 encoding, so the letters ąę, śćńźŚĆŃŹ are constructed in situ with unproper kerning. I had raised a question for solution and a few ...
4
votes
1answer
225 views

Problem using the German letter “eszett” ß in theorem environment

I have the following problem(s) using some special German letters: I would like to keep the two lines \usepackage[latin1]{inputenc} \usepackage[ngerman]{babel} Unfortunately, the symbol ß is not ...
3
votes
1answer
116 views

Searchable text and math, encoding

Im running into a problem with text and math font encoding. First off, the goal at the end of the day is to have a .pdf and .tex which can be searched and copied. The document is compiled in XeTex, ...