Linked Questions

467 votes
65 answers
102k views

What packages do people load by default in LaTeX?

I'm getting the impression from reading the answers written by some of the real experts here that there are quite a few little packages that just tweak LaTeX2e's default behaviour a little to make it ...
310 votes
15 answers
355k views

Entering Unicode characters in LaTeX

How do I enter Unicode characters in LaTeX? What packages do I need to install and what escape sequence do I type to specify Unicode characters in an ASCII source file?
John D. Cook's user avatar
  • 3,331
209 votes
4 answers
169k 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 ...
Philipp's user avatar
  • 5,088
51 votes
4 answers
10k views

What is the difference between font encoding and input encoding?

From list of obsolete packages and classes we must avoid, I found 2 terminologies, i.e., font-encoding and input-encoding. What is the difference between them?
Display Name's user avatar
  • 47.1k
32 votes
7 answers
6k views

LaTeX baffled by BOM---Unicode's byte order mark.

Unicode applies the convention of using a byte order mark as signature at the beginning of a text stream, identifying the encoding used within it. The following three bytes at the beginning of a file: ...
Yossi Gil's user avatar
  • 16k
36 votes
3 answers
47k views

Use biblatex and utf8

For my thesis, I use biblatex for the bibliography. As seen here, biblatex is not compatible, with \usepackage[utf8x]{inputenc}. It was reported as close but I still have the same problem with my ...
Martin Trigaux's user avatar
23 votes
2 answers
49k views

How to easily use UTF-8 with LaTeX?

Editor's note: This question addresses a specific case of UTF-8 character not working in LaTeX documents. Refer to Entering Unicode characters in LaTeX for other cases. It's probably a stupid ...
Karel Bílek's user avatar
2 votes
5 answers
2k views

Why use both fontenc and inputenc in the same document? [duplicate]

What's the point of using both fontenc and inputenc in the same preamble? Why would anyone want to specify an input encoding (with inputenc) and an output encoding (with fontenc) that don't coincide? ...
Evan Aad's user avatar
  • 11.1k
16 votes
2 answers
19k views

What is the function \usepackage[utf8]{inputenc} used for and why we should add this in latex document?

As I'm new to LaTeX and learning it, I often came across \usepackage[utf8]{inputenc} and would like to know what this command does and why we should use this?
user268629's user avatar
6 votes
1 answer
7k views

How to use math mode and siunitx with arial

I have to use arial within the whole document. My code: \documentclass[ngerman]{scrartcl} \usepackage[T1]{fontenc} \usepackage{ lmodern, babel, uarial,%from https:/...
Su-47's user avatar
  • 2,518
13 votes
1 answer
669 views

inputenc is no longer needed?

by mistake I noticed that my text (UTF-8 encoded, contains german special characters ä, ö, ü, ß) is compiled without errors although I forgot the inputenc (\usepackage[utf8]{inputenc}). Here is a ...
Nobody-86's user avatar
  • 321
3 votes
3 answers
459 views

Box around tikz-cd

About this code, I'd like to create two boxes around these tikz-cds. Is it possible? Thank you so much. The code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[a4paper,top=3cm,bottom=...
Puck's user avatar
  • 1,212
3 votes
2 answers
433 views

Troubles with listings and polish characters (lualatex)

How I can display properly polish characters in code of programming language using listings package and lualatex compiler? main.cpp: //Zażółć gęślą jaźń #include <iostream> int main() { std::...
constantin_d's user avatar
5 votes
0 answers
836 views

File names with spaces stopped working in \includepdf and \includegraphics in TeX Live 2016 if compiled with LuaLaTeX

The following used to work in TeX Live 2015 compiled with LuaLaTeX, but does not work in TeX Live 2016: \documentclass{minimal} \usepackage{grffile} % Extended file name support for graphics \...
Alexey's user avatar
  • 2,129
0 votes
0 answers
51 views

Is it possible to typeset cyrillic characters as vector graphics? [duplicate]

All examples here seems to be vector graphics. I also have the E-book The LaTeX Companion, 2nd edition. The examples on pages 357/358 and 416/417 seems to be vector graphics too. With my MWE: \...
Su-47's user avatar
  • 2,518