Most Popular

1500 questions
97
votes
4 answers

How to repeat top rows (column headings) on every page

I have a big table which contains hundreds of rows. I want to repeat the top two rows on every page of the table. How can I do it in TeX?
Vinod
  • 1,351
  • 2
  • 11
  • 12
96
votes
3 answers

How can I make my text never go over the right margin by always hyphenating or breaking on word-boundaries?

I've seen several different methods that can be used to make long words not go over the right margin, but all of them have been paragraph-based. I need a solution that can apply to the entire text rather than just a piece of it of at a time. I can…
Rayne
  • 1,417
96
votes
1 answer

difference between \vspace and \vspace* for negative arguments

Is there ever a difference between \vspace{...} and \vspace*{...} if a negative argument is supplied? Most importantly, does the choice of which macro to use have an influence on page breaking behavior?
96
votes
3 answers

How to make a standalone document with one equation?

I was surprised to find that standalone package can not compile a document with an equation: \documentclass{standalone} \begin{document} \begin{equation} % not working! F(V, T) = E(V) + D(T) \end{equation} \end{document} Is there an option or some…
alfC
  • 14,350
96
votes
4 answers

MacOSX PDF viewer: Automatic reload on file modification

Is there a PDF viewer out there for MacOSX that support automatic reload of (in my case LaTex generated) PDFs when they're modified by another application?
Eric
  • 2,587
  • 5
  • 23
  • 26
96
votes
3 answers

What is the difference in citing/referencing with or without tilde?

I've seen examples referencing a table as follows: Table~\ref{table:overview} shows an overview of all the elements. What is the use of the tilde in front of \ref or \cite and when do you have to apply it?
96
votes
7 answers

How to put a framed box around text + math environment

I am looking for something like \fbox but it seems that you cannot use it when a math environment is included. However its not only a math environment (then you could use \boxed I know) but also text, I need to be in a…
bios
96
votes
1 answer

Does enumitem conflict with beamer for lists?

I am using the enumitem package in a beamer presentation. When I added a usepackage directive for it, the bullets in front of itemize lists disappeared. I tried restoring them by using \setbeamertemplate{itemize…
kloop
  • 9,684
96
votes
6 answers

How can I get Roman numerals in text?

For example: Charles's sister Bona, married the eldest son of Philip VI of France, the future John II of France, in 1335. How can I get Roman numerals?
mr.bio
  • 1,141
96
votes
4 answers

How to write letters in bold in the math mode?

In mathematics, a letter, say, g, can stand for a scalar, while a letter in bold, e.g., g stands for a vector. Here is my question: How can one turn the letter into bold in the math mode? For example, how can I turn g here into bold? $$-\nabla…
user5590
95
votes
2 answers

What does \relax do?

Possible Duplicate: What is the difference between \relax and {}? The title suggest the question. On and off, I see macros here in TeX.SE and I see the \relax command frequently. I was wondering what it does and where/when should I used…
Pouya
  • 7,269
95
votes
5 answers

avoid that figure gets its own page

I have a couple of floats in my document, which contain large Images (it consumes the half of the page). In this case, the figure get's its own page and no text goes on this page. How can I configure this? I'd like to have text before and after the…
john84
  • 1,205
95
votes
4 answers

How to write a not equal to sign in Latex pseudocode

How do I write not equal to sign (equivalent of != in C) in Latex pseudocode.
user1018562
95
votes
3 answers

What does \z@ do?

in parcolumns it has \z@ all over the space. I don't see it define it anywhere so I assume it is some internal command or something? I can't really make heads or tails of it though and I can't really search google for it(doesn't return anything…
Uiy
  • 6,132
95
votes
1 answer

How to set default style for arrow tips in TikZ?

I am creating multiple TikZ pictures within one document and would like to set the default style of arrow heads for all the pictures to the latex style, i.e. like -latex does, so that I don't have to do this every time I draw an arrow. I'm new to…
JohnD
  • 2,239
  • 3
  • 21
  • 24