Most Popular

1500 questions
263
votes
12 answers

List of available TikZ libraries with a short introduction

Quick links: Summary ❧ Intersections library ❧ Arrow tips library ❧ Decorations libraries ❧ Calc library ❧ Mindmap library ❧ Shapes library ❧ Paper Folding library ❧ Chains library ❧ Shapes library ❧ Miscelaneous contributions to…
Marco Daniel
  • 95,681
263
votes
1 answer

Remove Indentation for a Single Paragraph

Is there a way to remove the indentation at the beginning of a paragraph for a single paragraph. I know I could do \setlength{\parindent}{0cm} This is my paragraph. Blah blah blah. \setlength{\parindent}{default} Where default is whatever the…
261
votes
3 answers

Big Parenthesis in an Equation

I have an equation contained inside \[...\], which automatically makes a \sum with sub- and superscripts turn big--so that the summation sign looks awkward inside parenthesis. Any idea how to make the parenthesis completely enclose the whole…
jamaicanworm
  • 29,114
260
votes
12 answers

What is the best symbol for vector/matrix transpose?

What is the best or most popular symbol for vector/matrix transpose? I have used simply ^T, for example $c^T x$. I think it is ugly, mainly because it is a little too big compared with vector variables usually denoted by lower-case characters. Can…
Chang
  • 9,528
259
votes
23 answers

Speeding up LaTeX compilation

Usually I don't mind about LaTeX's compilation speed, because a paper of less than 20 pages is compiled rather fast. However, I am working on a large document - A report with more than 80 pages. Compilation times are starting to slow me down. I…
257
votes
5 answers

How to scale a tikzpicture including texts?

It seems that the scale option scales only the length of lines, but not the size of texts. For instance, 1 and true and not scaled in the following code. \begin{tikzpicture}[thick, scale=0.6] \draw [dashed] (1,12) -- (11,12); \node[above] at (4,11)…
SoftTimur
  • 19,767
254
votes
8 answers

How to prevent LaTeX from hyphenating the entire document?

I can't find where I can remove any kind of hyphenation and just have LaTeX just do a line break. edit: Honestly speaking I just don't like to read hyphenation anywhere and that's the only reason why I wanted to remove it. It is a matter of style,…
Splashy
  • 5,915
253
votes
3 answers

What's the difference between \mathrm and \operatorname?

I apparently can't see the difference in a compilation (pdflatex) between \mathrm and \operatorname. So, as in the title the question is: is there a difference? Which one is preferable in what occasions?
Andy
  • 2,645
252
votes
4 answers

Changing the font size in a table

What's the recommend way of changing the font size in a particular table? Is there a better way than enclosing all values with, for example, the \tiny function.
csgillespie
  • 5,218
251
votes
4 answers

xmark that complements the ams checkmark

I am looking to have a xmark that complements the \checkmark symbol in the amsmath package. I've had a look at some in symbols-a4.pdf but can't seem to find the matching one! What symbol works well?
Tom Deakin
  • 2,625
251
votes
8 answers

How can I manually install a package on MiKTeX (Windows)

I'm new to LaTeX, investigating using it for some work projects. I'm using MiKTeX on Windows. My employer's locked-down network blocks the application's automatic installation function. I can take my laptop home and successfully install from…
mbmcavoy
  • 2,773
251
votes
4 answers

How to write ceil and floor in latex?

Is there a macro in latex to write ceil(x) and floor(x) in short form? The long form \left \lceil{x}\right \rceil is a bit lengthy to type every time it is used.
danny
  • 2,717
250
votes
8 answers

Making the bibliography appear in the table of contents

I need to make my (BibTeX) references section appear in the table of contents of my LaTeX document (documentclass: article), with section numbering too. My approach until now has been making a new section and including the bibliography…
Genba
  • 2,603
249
votes
6 answers

Symbols instead of numbers as footnote markers

How can I make LaTeX use symbols (*, †, ‡, and so on) instead of numbers to mark footnotes? (The numbers are confusing because I use superscripted numbers for citations.)
Vebjorn Ljosa
  • 22,437
  • 17
  • 43
  • 32
249
votes
10 answers

How do you get \mathbb{1} to work (characteristic function of a set)?

I am trying to get the digit one printed the \mathbb{} font in math mode, however the command \mathbb{1} outputs some rubbish. I certainly saw the character I am after in some pdf's generated from latex, hence my question: how do you get it to…
Grzenio
  • 9,465