Linked Questions

166
votes
12answers
570k views

Underscores in words (text)

How can I produce the text Word_one_two in LaTeX? I tried: Samp\_Dist\_Corr But, it doesn't quite look right. Also, I want it in the typewriter font, so actually, I'm doing: \texttt{Samp\_Dist\...
216
votes
8answers
98k views

Suggest a “nice” font family for my basic LaTeX template (text and math)

My goal is to choose a "nice" font family (serif, sans serif, monospace, and "math") for my basic LaTeX template. I know the default setting (Computer Modern's family) is a very good choice. However, ...
244
votes
4answers
469k views

Why do the less than symbol (<) and the greater than symbol (>) appear wrong as upside down exclamation (¡) or question mark (¿)?

When typing < or > in LaTeX and compiling with pdflatex, the less than and greater than symbols appear at upside down exclamation points. I'm not in math mode.
173
votes
4answers
135k 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 ...
68
votes
4answers
70k views

How to insert pipe symbol in (La)TeX?

How to insert pipe symbol | in TeX (LaTeX)? I have tried this sample with pdflatex tmp.tex \documentclass{extarticle} \begin{document} \textpipe \end{document} And it give undefined control ...
61
votes
4answers
18k views

Why are Bitmap-Fonts used automatically?

I have the following LaTeX-document: \documentclass[a4paper,11pt]{article} \usepackage[utf8x]{inputenc} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \title{Sample} \author{Litb} \begin{...
27
votes
5answers
3k views

Are the original CM fonts better than the current type1 fonts?

What are the differences between the original (rasterized) CM fonts and the current (smooth PDF-friendly) type1 versions of these fonts? It seems to me that the originals are much better looking. ...
37
votes
4answers
23k views

Straight quotes?

How do I get a straight quote instead of curly quotes? I’m not inside verb or listing or any other special environments, and I’m not using XeLaTeX or anything—just normal LaTeX. I don’t want to change ...
26
votes
3answers
55k views

How to type French character in LaTeX

I would like to insert "ç". Tried including \usepackage[utf8]{inputenc}, and type \c {c} , but doesn't work.
20
votes
3answers
7k views

How to insert a nice tilde in a lstlisting?

How do I insert a nice tilde that is centered in the middle in a lstlisting? I found another thread about tildes but I can't apply it because the method described there only works outside of ...
22
votes
3answers
5k 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 en-...
12
votes
4answers
5k views

Incompatibilities of cmap with fontenc/hyperref?

The following code doesn't compile (with pdflatex) \documentclass{article} \usepackage{cmap} \usepackage[T1]{fontenc} \usepackage[pdfa=true]{hyperref} \begin{document} Hello. \end{document} ...
11
votes
4answers
670 views

What is the reason behind why > and < don't display properly without T1 font encoding?

I've read a number of posts that ask about why the symbols > and < show up incorrectly as ¡ and ¿. The solution is to use the T1 font encoding. Okay. I'd like to learn about why these symbols show ...
21
votes
2answers
11k 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: \usepackage[...
6
votes
4answers
8k views

German character not rendered to pdf

I just started using LaTeX, and need to use the character "ü". I already have this in main file : %%% Sprach- und zeichensatzspezifische Pakete \usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} \...

15 30 50 per page