Most Popular
1500 questions
149
votes
7 answers
LaTeX tables: How do I make thicker or thinner horizontal lines (typically \hline)?
The title says it all:
In LaTeX tables: How do I make bold horizontal lines (typically \hline)?
levesque
- 12,993
- 12
- 43
- 52
149
votes
3 answers
Label equation with a symbol
I would like to label an equation with an arbitrary symbol, rather than a number, or letter. Is this possible?
Alex
- 2,685
148
votes
3 answers
Creating two columns in beamer
I have searched the stackexchange for a resolution of this problem, but I am still getting an error message when I put in the following (for now neglecting other things in my document, such as documentclass, begin{document},…
user4437416
- 1,939
147
votes
4 answers
Using lower-case roman numerals in enumerate lists
when I use
\begin{enumerate}[I]
\item
...
I get
I
II
how I can get
i
ii
?
I try with
\renewcommand{\theenumi}{\roman{enumi}}
\renewcommand{\labelenumi}{\theenumi}
in the begin of file, but not fix the problem.
JuanPablo
- 2,689
147
votes
5 answers
Different command definitions with and without optional argument
I want to define a command that expands to two completely different things depending on whether I supply, or not, an optional argument. For example,
\mycmd{normal} -> something(normal)
\mycmd[optional]{normal} -> anotherthing(normal,…
Juan A. Navarro
- 62,139
- 32
- 140
- 169
147
votes
6 answers
Allowing line break at ',' in inline math mode?
In the inline math mode ($...$), if the formula is too long, LaTeX will try to break it on operators, e.g.
very long text followed by a very long equation like $a+b+c+d+e+f+g+h+i+j+k+l$ etc
may be rendered as
very long text followed
by a very long…
kennytm
- 6,392
- 6
- 27
- 18
147
votes
1 answer
How to write two dot above a letter?
the two dots above a letter represents two derivative of varible t.
My…
mma
- 1,745
- 3
- 11
- 7
146
votes
2 answers
Quote marks are backwards (using texmaker/PDFLatex)
Possible Duplicate:
What is the best way to use quotation mark glyphs
Automatically convert quotations in the form of “abc” to become ``abc"
I am (obviously) new to LaTeX and have about 40 pages of text where it seems like half the quote marks…
umbraphile
- 1,595
146
votes
1 answer
Tikz: use opacity for fill, yet leave draw (lines) untouched
When I use the tikz key opacity for a polygon in a tikzpicture, it applies to the drawn fill as well as to the draw lines.
I would like to have it this way that the lines remain untouched by the opacity key, so that they behave as if they had…
romeovs
- 9,102
146
votes
6 answers
How to put a long piece of text in a box?
I want to put a long piece of text in a box, for example
The quick brown fox jumps right over the lazy dog. the quick brown fox
jumps right over the lazy dog. the quick brown fox jumps right over the lazy
dog. the quick brown fox jumps right over…
Stone Heart
- 1,461
146
votes
3 answers
Biblatex: Get rid of ISSN, URLs and DOIs in references
My .bib files are generated by Mendley desktop and usually contain URLs, ISSN and DOIs, but I don't want those to be displayed in my list of references. How can I get rid of them (short of deleting those from the entries, I just want to not display…
Paul Koer
- 3,495
- 4
- 19
- 8
146
votes
2 answers
Matrix in Latex
I am new to Latex, and I have been trying to get the matrix of following form
[x11 x12 x13 . . . . x1n
x21 x22 x23 . . . . x2n
.
.
.
.
xd1 xd2 xd3 . . . . xdn]
Where the letters accompanying the elements are…
Lakshmi Narayanan
- 1,563
146
votes
5 answers
Is there a preference of when to use \text and \mathrm?
I'm unsure of when it is preferable to use \text versus \mathrm, is there some unwritten rule about the use of these?
For example, I saw the following code in a math post:
\frac{\mathrm{lcm}(m,n)}{\mathrm{gcd}(m,n)}\quad\text{divides}\quad…
yunone
- 3,259
145
votes
3 answers
Large negative spaces
I know about \! which creates a thin negative space but is there any native command for large negative spaces (like quad or qquad for positive spaces) ?
vanna
- 1,675
145
votes
1 answer
How to avoid numbering the first page of the document?
I have two sections before the table of contents.
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\thispagestyle{empty}
\section*{First random title} \lipsum[1]
\section*{Second random title}…
Chris
- 4,965
- 8
- 22
- 19