{fontenc} is a package that allows the user to select font encodings, and for each encoding provides an interface to ‘font-encoding-specific’ commands for each font. Its most powerful effect is to enable hyphenation to operate on texts containing any character in the font.

learn more… | top users | synonyms

3
votes
2answers
88 views

LaTeX-Font with all UTF8 symbols defined

I'm writing a program in Java which generates a PDF for something using LaTeX. In this PDF I have to include arbitrary Unicode Characters which I get from a File. ...
2
votes
0answers
79 views

[T1]{fontenc} package makes text unselectable for Android Adobe Reader application?

Alright, here's a weird one. I'm writing a paper for my English class and am encountering some problems.** So, I put \usepackage[T1]{fontenc} in my preamble and compile it.** It works! Not so fast. I ...
1
vote
0answers
76 views

French Cursive font in English document

Why is it that when I use the packages \usepackage[default]{frcursive} and \usepackage[T1]{fontenc} in MiKTeX I get words like composimpoition for composition and transformasforation for ...
5
votes
2answers
100 views

Double chevron instead of guillemets

Here's a minimal working example: \documentclass{article} \usepackage[T1]{fontenc} \begin{document} \texttt{>>} \end{document} This makes a right guillemet. I'd like a double chevron. If I ...
4
votes
1answer
43 views

How can I have known current font encoding?

How can I have known current font encoding? I know that a list of font encodings is saved in \cdp@list macro. Last element of \cdp@list is usually the effective encoding but this is not always true; ...
3
votes
2answers
74 views

What fonts are compatible with T2A encoding?

I'm trying to figure out what fonts are compatible with T2A encoding - seems like there's no such a list known to Google. I've identified that iwona and computer roman (default) are supported. ...
8
votes
1answer
89 views

Why is the cmss font in OT1 and T1 very different?

When I compile the code below with and without the \usepackage[T1]{fontenc}, I get quite different results. The normalfonts are the same, but with T1 the characters in the section heading seem way too ...
8
votes
2answers
102 views

Dollar sign with txfonts and fontenc

I have a strange problem with the dollar sign ($) and \textbf{} when using the txfonts and fontenc packages. The dollar sign has a space after it. Both packages are required to reproduce the problem. ...
12
votes
1answer
196 views

Font encoding in LaTeX

I've been using LaTeX for a while and I've read a lot of discussion about fonts encodings. Some suggest to use T1 fonts adding \usepackage[T1]{fontenc}, other suggest to add nothing, other suggest to ...
11
votes
1answer
84 views

Should I use the font encoding LY1 with the package libertine?

I normally use \usepackage[T1]{fontenc} without giving it any thought. The package libertine seems to provide more ligatures with the LY1 encoding. \documentclass{article} \usepackage{libertine} ...
8
votes
2answers
215 views

Why does \usepackage[T2A]{fontenc} take over?

I want to produce a document with non-serif type. I also want to include Cyrillic characters. These two aims seem to be mutually exclusive. When I comment out \usepackage[T2A]{fontenc}, the document ...
1
vote
2answers
95 views

How to make dvi show cyrillic letters? [closed]

I could copy the sentence "МАТЕМАТИЧКИ ВЕСНИК" into the LaTeX, however when I press the dvi, it does not show in the dvi. How to make the dvi show the sentence "МАТЕМАТИЧКИ ВЕСНИК"?
5
votes
1answer
122 views

Embedded fonts with/without fontenc/inputenc

Well, let me explain. I tried to select a part of a text on a PDF file to copy and paste. I noticed that accented letters disappear when selected, as the image below shows. So, I decided to see the ...
1
vote
0answers
105 views

“Corrupted NFSS Tables” Using `otftotfm` and Fontenc

I have just converted some OTF fonts using otftotfm; these fonts were created using a custom encoding I wrote called EL (I needed to modify the T1 encoding to include extra ligatures). When I try to ...
4
votes
1answer
330 views

MikTeX for MS Windows seems to use Type3 (raster) fonts when instructed to use Type1 (vector)

I use MikTeX as my compiler for Windows. The problem is that it uses Type3 (raster) fonts even though I've stated: \usepackage[T1]{fontenc} in the preamble. As far as I've understood, this will ...
1
vote
0answers
85 views

How can I get a PDF with copyable text if I need to use \usepackage[T1]{fontenc}? [duplicate]

Consider the following situation: A .tex file with the following content: \documentclass{article} \usepackage[T1]{fontenc} \begin{document} Let it be. \end{document} The file is compiled by ...
15
votes
2answers
330 views

In which order should I load inputenc and fontenc?

When I’m using pdfLaTeX, my preamble usually contains \usepackage[utf8]{inputenc} and \usepackage[T1]{fontenc} Should these two be loaded in any particular order? What problems could arise if ...
4
votes
1answer
308 views

How to use otf fonts correctly?

I'm using Linux. I'd discovered that is possible to run lualatex and use my system fonts. Well, I'm trying to see how they look like. Here is my sample: \documentclass[11pt,a4paper]{amsart} ...
0
votes
0answers
74 views

Quality is poor due to loaded package [duplicate]

Possible Duplicate: Problem with siunitx and T1 fontenc I am using \usepackage[T1]{fontenc} in my document, but after compiling the quality is poor. The problem seems to be really in the ...
6
votes
2answers
314 views

\textbf and \bf within Sans Serif

I'm using \renewcommand{\familydefault}{\sfdefault} so that my entire document is in sans serif, but I'm getting peculiar results with regards to formatting. I'm a rather sparse LaTeX user, but in ...
17
votes
2answers
152 views

Why doesn't parskip=half work together with fontenc in bibliographies?

If \usepackage[T1]{fontenc} is used and parskip=half is set: Else (either \usepackage[T1]{fontenc} isn't used or parskip=half isn't set): I consider the second one the correct style. Why is ...
2
votes
2answers
147 views

How to use \polishhook symbol

I need to insert polish hook into latex document. Using comprehensive package I found, what \polishhook{E} is supported by wsuipa font package and \polhk{E} is supported by mathscinet package. There ...
2
votes
1answer
2k views

fontenc with T1 option gives error: Font … not loadable: Metric (TFM) file not found

I freshly installed 'basic' version of TeX Live 2012 (not full, only basic version). I have following line in my code: \usepackage[T1]{fontenc} I get following error: ...
16
votes
3answers
587 views

Do I need fontenc and inputenc

My question feels like a duplicate of: fontenc vs inputenc, but in that question the OP uses German and non-ascii characters. I speak and write in English exclusively. My keyboard is the standard ...
1
vote
1answer
98 views

loading fontenc breaks tipa [duplicate]

Possible Duplicate: Using TIPA with fontspec I try to get an a with a dash and a glotal stop typeset. Depending on the ordering of the loading of the packages I get either the ā or the ʔ. ...
7
votes
2answers
518 views

Pi, Kappa, Latin Small Letter Long S: problems with UTF8

I'm using Springers svmono for a book with many mathematical symbols and special characters. There are quite a few problems with characters that are simply not printed (using pdfLatex), so I tried ...
2
votes
1answer
358 views

Fonts too thin when A4 scaled down to A5 in printing

In my document I am using the same settings as in the MWE below. I need copies of the document in A4 and A5. Both have to be identical so I cannot optimise the appearance of both by using a4paper for ...
0
votes
1answer
406 views

The Latex Font Catalogue - Calligra Font

I'm trying to get the following example working: \documentclass[danish,a4paper,11pt]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{slantsc} \usepackage{array} ...
1
vote
1answer
458 views

utf-8 characters in latex math mode

I'm using utf-8 characters like "ğ" or "ı" in math-mode in LaTex, but it does not render the characters as it should. Outside of math-mode I do not have this problem. My preamble with respect to font ...
0
votes
0answers
37 views

Other font and verbatim default font [duplicate]

Possible Duplicate: How to use fonts that need different fontenc together? I need use \usepackage[B1]{fontenc} and \usepackage{auncial} but the verbatim is different font and i need the ...
13
votes
1answer
529 views

Proper use of cmap and mmap

I am curious about the differences between \usepackage{cmap} \usepackage[resetfonts]{cmap} \usepackage{mmap} (= \usepackage[useTeX]{mmap}) \usepackage[noTeX]{mmap} What are their precise ...
6
votes
2answers
346 views

best practice international template

I would like to have a template which can be internationalised (i.e. is suited for latin script languages) and uses the microtype package. I suppose that we therefore need the following packages: ...
6
votes
1answer
199 views

TikZ: Random characters with tikz, fontenc and input

I am getting random characters displayed in my TikZ images: I have just noticed this recently. I am not sure what this might be caused by. I am using the latest TikZ build from TeXample. I only ...
3
votes
2answers
355 views

Beamer itemize doesn't work

I have a document \documentclass{beamer} \usepackage[utf8x]{inputenc} \usepackage[L7x]{fontenc} \usepackage[lithuanian]{babel} \usepackage{amsmath} \begin{document} \frame{ ...
6
votes
1answer
530 views

Problem with siunitx and T1 fontenc

I'm having a slight problem with siunitx and fontencwith T1 encoding (I write a lot in Swedish and most people suggest that I should use T1). When I compile to PDF with \usepackage[T1]{fontenc} the ...
9
votes
1answer
332 views

How to use fonts that need different fontenc together?

I want to use one font for text and another for dropped capitals. Unfortunately, the font catalogue states that one needs fontenc parameter T1 and the other B1. Now, using T1 kind of works. ...
3
votes
1answer
601 views

LaTeX does not print words correctly: inputenc/fontenc problem

I'm using a MacBook Pro and TeXShop. I am writing a philosophy thesis and fairly new to LaTeX. In my preamble I have put \documentclass[a4paper,12pt]{article} \linespread{1.5} ...
4
votes
1answer
227 views

Does anyone know what a cmap file has to look like

This may be an off-topic fringe case, but I need it for pdftex... I made an encoding QS7 for ASCII+Greek and now the only thing missing is a CMAP file to enable copying text from acroread. I made ...
44
votes
4answers
10k views

fontenc vs inputenc

I just don't seem to get it. So I come from the german speaking part of Switzerland and naturally I need ä ü ö a lot when I write german texts. So in LaTeX I have the option to go via "a "u "o which ...
7
votes
1answer
395 views

TeX capacity exceeded with multiple font encodings

I work in humanities, so please forgive my lack of competence and the weirdness of my computing needs. Is there a way to make this work? I need to use three (for starters) languages in the same ...
1
vote
0answers
665 views

Ugly font rendering [closed]

I've seen several recommendations of using T1 encoding \usepackage[T1]{fontenc}, so I did. But I did notice a difference in font rendering, and it's not prettier. Old OT1: T1 encoding: I know the ...
7
votes
1answer
492 views

How do I encode foreign characters so that they are searchable in the resultant PDF file?

This may be a PDF problem rather than a LaTeX problem, but as it involves pdfLaTeX output I'm hoping I won't get my wrist slapped too hard. I'm creating a bibliography, and inevitably some of the ...
7
votes
3answers
3k views

encoding problem with \verbatiminput : Package inputenc Error: Unicode char \u8: not set up for use with LaTeX

I'm trying to import some logs files using \verbatiminput to do a automatic report from our logs. I got some encoding problem. My objective: import some logs files with various special char (included ...
1
vote
1answer
538 views

An arabic font problem [closed]

I have a problem with font in a file written in Arabic with this error message: LaTeX Font Warning: Some font shapes were not available, defaults substituted. further, I have this as an error: ...
3
votes
2answers
675 views

Using inputenc package for cp1252 encoding

I want to be able to use the ansinew characters in a latex document. According to the pdf file for the inputenc package, I can do that by putting \usepackage[cp1252]{inputenc} in my preamble. I do ...
0
votes
0answers
385 views

Bug with inputenc and fontenc in fragile frames in Beamer presentation [closed]

I use combination of inputenc package (originally using 'latin2' encoding, but using 'utf8' encoding gives the same error) and fontenc package with T1 font encoding for writing LaTeX. This ...
0
votes
1answer
825 views

Vector fonts with UTF-8 support?

In fact the situation I find myself in is a bit more complicated than the question might suggest. I need to typeset a document with various accented characters and would like some hyphenation support ...
4
votes
2answers
1k views

How to pass definitions to \AtBeginDocument?

I need to delay execution of a chuk of code to the time when other packages are loaded so I wrap it into \AtBeginDocument: \AtBeginDocument{% \def\reserved@a#1#2{% \edef\reserved@b{#1}% ...
1
vote
2answers
146 views

Curious interaction between KOMA, fontenc and hyperref when using hidden glossary entries

In this question is asked how to hide single entries from my acronyms list. The solution works fine in the minimal example from that question. However, trying to use that solution in my actual ...
1
vote
4answers
698 views

How to get \copyright when mixing T1 fonts and fontspec?

This example: \documentclass{minimal} \usepackage{fontspec} \usepackage[T1]{fontenc} \usepackage[osf]{mathpazo} \begin{document} \copyright 2011 \end{document} Gives: ! LaTeX Error: Command ...

1 2