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

3
votes
1answer
40 views

Conflict between UTF8 and UTF-CJK

I appear to be having a conflict with font encodings. I am currently using LyX 2.1.1 (under Linux Mint 17). I have Chinese text scattered throughout most chapters, but I receive the following error ...
1
vote
0answers
39 views

How should I fix the “Option clash for package babel” connected with “undefined control sequence” with hyperref? [on hold]

I have these two problems: Option clash for package babel. \usepackage (followed by: [T1]{fontenc}) (...) Texlipse Build Error Undefined control sequence: \ProcessKeyvalOptions{Hyp} (followed ...
0
votes
1answer
34 views

Set default sans serif font in XeLaTeX

How can I set the default sans serif font to the default in this example in XeLaTeX? I can only get Helvetica with \documentclass{article} \usepackage[a4paper,margin=5pt]{geometry} ...
5
votes
2answers
67 views

Command \texteuro unavailable in encoding T1

I want to know how does LaTeX figures out if the Eurosymbol (€) is a glyph of a given T1 font. I tried \iffontchar but it seems the value is not unique. AFAIK it's not a standard symbol of the 256 ...
1
vote
1answer
38 views

BibTeX encoding problem migrating from Windows to OSX

I haven't used JabRef in a long time, basically ever since I moved from Microsoft OS to Mac. Now I am writing my dissertation in LaTeX, and whenever I refer to an entry in my old .bib bibliography, ...
2
votes
0answers
28 views

Problem with encoding [closed]

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
67 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
74 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
94 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
46 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
20 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
42 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
45 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
124 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
57 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
76 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
67 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
67 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
54 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
290 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
43 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
74 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
20 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
46 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
112 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
47 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
40 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
234 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
391 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
128 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
514 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
152 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
168 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
157 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
75 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
122 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
48 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
120 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
145 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
101 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
237 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
199 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
134 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
200 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
50 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 ...