Linked Questions

426
votes
2answers
222k views

Why should I use \usepackage[T1]{fontenc}?

As a native English speaker, I've mostly been allowed the luxury of pretending that ASCII is enough, and have been able to treat font encodings as not my problem. I've seen lots of advice that I ought ...
14
votes
3answers
1k views

How can I word-wrap LaTeX warning/error output?

This question led to a new package: hardwrap In writing error messages and warnings for a package/class, I find it a pain to manually insert \MessageBreaks so that words don't get cruelly bisected ...
12
votes
1answer
769 views

draw a many edge from a node- Tree - tikz

i want to draw the tree in the following picture : i have write : \documentclass{article} \usepackage{tikz} \usepackage{color} \definecolor{red}{rgb}{1,0,0} \begin{document} \begin{...
5
votes
2answers
406 views

How to automatically put a [Go To Summary] | [Go Back] on each section?

The button [Go To Summary] should be a link to the summary page, and the [Go Back] button should perform the command to go back to the last position it was. This is very useful for file navigation, ...
2
votes
0answers
7k views

How to write the | (pipe) character without interpreting it? [duplicate]

I'm writing a LaTeX document in which I have to write many "|" characters which are not part of a mathematical formula. Simply writing test | test gives me something like (after compilation) : test - ...
1
vote
2answers
646 views

Formatting data dictionaries in LaTeX

I would like to write out some data dictionaries for a program design document in LaTeX, and I am looking for an efficient way to do this. I want to write snippets that look like: Name = ...
1
vote
0answers
993 views

Vertical bar in bold [duplicate]

I would like to create a vertical bar, as is, in a \textbf{#1} command: MWE: \documentclass{article} \begin{document} \textbf{Hello|there} \texttt{Hello|there} \end{document} which produces this: ...
1
vote
0answers
76 views

How to write pipe in text in LaTeX? [duplicate]

Minimal example: \documentclass{article} \begin{document} Helloworld this is a very long sentence Helloworld this is a very long sentence Helloworld this is a very long sentence Helloworld this is a ...
0
votes
2answers
247 views

Total number of pages of section

For all sections (or even subsections) in my document (beamer presentation), I want to show the page number only relative to the (sub)section, and also the total number of pages per (sub)section. So ...