Most Popular

1500 questions
200
votes
4 answers

Show inline math as if it were display math (and vice versa)

I'm very familiar with how symbols display differently in inline mode (with $ ... $) vs. how display math shows them (with \[ ... \] or $$ ... $$). Two examples would be with limits $\lim_{n\rightarrow \infty}f(x)$ vs. \[ \lim_{n\rightarrow…
akdom
  • 2,325
200
votes
4 answers

Get width of a given text as length

Is there a TeX command that returns the width of a given text as length value, so that I can use the result directly as a length argument of another command? I mean, I would like to have a command \getWidth{my text} and want to use the result…
200
votes
2 answers

Using BibTeX/biblatex to make a list of references without having citations in the body of the document?

Is there any way to have BibTeX or biblatex insert a bibliography without having citations in the body of the document itself? Maybe a way to hide the in-text citations, so that BibTeX still sees them and includes them in the bibliography, but does…
TJ Ellis
  • 3,314
  • 3
  • 25
  • 14
199
votes
4 answers

How can I make a clickable Table of Contents?

Possible Duplicate: How to make clickable links and cross-references in pdfs produced by LaTeX? I need links for the Table of Contents, so that I can navigate fast to different sections. I apparently need some package. I tried the package url…
199
votes
8 answers

Correctly typesetting a tilde

How do I set the tilde (~) character correctly in LaTeX? There’s a question discussing that on Stack Overflow, with a lot of answers. But dare I say it? They all suck: \textasciitilde is too high, \texttildelow is too low. $\sim$ can be tweaked to…
Konrad Rudolph
  • 39,394
  • 22
  • 107
  • 160
198
votes
5 answers

\Rightarrow vs. \implies, and "does not imply" symbol

Is it better to use \Rightarrow or \implies to symbolize logical implications? Why? Also, if I write \not \Rightarrow, I get a symbol that means "does not imply." But if I type \not \implies, it doesn't look right. How do I get the corresponding…
jamaicanworm
  • 29,114
198
votes
4 answers

How to change font size for bibliography?

I want to use a smaller font size for the bibliography, e.g., \footnotesize. What is the easiest way to achieve this? I currently do \renewenvironment{thebibliography}... and copy the definition from report.cls but with the \footnotesize inserted…
Jitse Niesen
  • 2,083
  • 2
  • 13
  • 7
198
votes
46 answers

What are the most common mistakes that beginners of (La)TeX and Friends make?

I want to collect the most common mistakes, misconceptions, pitfalls, etc that (La)TeX and Friends users make. Please one answer for each mistake, misconception, pitfall, etc. I am only interested in more technical, objective cases rather than…
197
votes
25 answers

Grammar-checking tool for use with LaTeX?

I am looking for a grammar-checking tool, i.e., something that checks for mistakes such as "two dog" or "a books". It has to work on Linux (Ubuntu). Also, since I use macros to generate some of the prose, it has to somehow work with LaTeX. I…
197
votes
6 answers

What exactly do \csname and \endcsname do?

What exactly do \csname and \endcsname do? What are their job? I have glanced at the Texbook and some other books, but none of them was clear enough to me. Can anyone please give a simple example to clarify this issue?
197
votes
6 answers

Cannot determine size of graphic

I'm trying to include graphics in my Latex-file, which I compiled with latex+dvipdf on OS X. Latex however returns this error: "Cannot determine size of graphic" My graphic is exported from PowerPoint, so I have tried both .pdf and .png. I get the…
user5371
197
votes
1 answer

How to write N x N (with a multiplication symbol, for matrix dimensions)?

I need to write something like NxN in LaTeX but I do not get how... How to do such thing?
user4703
197
votes
2 answers

\Rightarrow with text above it

When using the command \Rightarrow is there any way to put text above it? I have tried \overbrace but is there a way to do it without this?
user27857
196
votes
7 answers

How to remove the whitespace BEFORE itemize/enumerate?

I'm somewhat of a LaTeX noob, and this is driving me completely nuts. When I type \documentclass{article} \usepackage{enumitem} \begin{document} Some text \begin{itemize}[noitemsep] \item Item 1 \item Item 2 \item…
user541686
  • 9,547
196
votes
5 answers

Itemize without bullets

I want to use the itemize environment exactly as it works by default, but hide the bullets that would otherwise appear. Is there an easy way to do this?
jamaicanworm
  • 29,114