Most Popular
1500 questions
122
votes
3 answers
Making clickable links to sections with hyperref
I would like to make a word of text, that when clicked upon in the PDF file takes me to some section. I'm using the hyperref package. I rejected \nameref because it produces the section title and I want my own link text. I also rejected…
Thomas
- 1,927
122
votes
6 answers
How to insert page number in Beamer navigation symbols?
I created a presentation with Beamer, and I used Darmstadt theme.
But, this theme doesn't have the page number.
I know that I can insert the page number in Footline with:
\setbeamertemplate{footline}[frame number]
But, how can I insert the page…
Anderson
- 2,333
- 4
- 17
- 19
121
votes
6 answers
Is There an Online Diagram Graphical Editor that Produces the Corresponding LaTeX Code?
Is there an online tool that generates the corresponding LaTeX code of a diagram which can be drawn using a graphical interface? A tool such as latexdraw but only using a web browser (like Detexify)?
Titi
- 1,211
121
votes
15 answers
Make MS Word document look like it has been typeset in LaTeX
A few years back, I used to use LaTeX for writing reports and such, and I really liked the look of them.
However, nowadays I am forced to use MS Word to write my reports, but that does not hinder me from playing around with the document…
Theodor
- 1,319
121
votes
10 answers
Specifying the width and height of a tikzpicture
Is it possible to specify the width and height of a tikzpicture? To scale a tikzpicture I use the option scale, i.e. for instance
\begin{tikzpicture}[scale = 2]
...
\end{tikzpicture}
I tried to change the width and height…
user1876
121
votes
2 answers
Two letter variable names
In math mode, TeX assumes "hidden multiplication" (so that two variable names put nearby have invisible multiplication between), so that, AFAICT, expressions like $ABC$ are rendered with small distances between letters.
Now, what to do if I have a…
user7
121
votes
10 answers
Isn't there any other way of doing double quotes in LaTeX besides `` + ''?
The standard way of writing quotes and double quotes in LaTeX is with `` and '', but I find them quite ugly. Isn't there something similar to \emph{}, but for quotes? I mean something like \quotes{quoted text goes here}.
I've been looking but…
Sophivorus
- 1,283
- 2
- 9
- 6
121
votes
1 answer
TikZ Adding Text
I'm a recent convert to TikZ from xy-pic, and am still trying to get a hang for it. I see that one can add labels to the end of arrows and the like using \node. Is there a way to add an arbitrary piece of text at a given position in the drawing,…
Skeptic
- 3,025
- 5
- 26
- 23
121
votes
5 answers
Why does \\ not return a new line in an equation?
\begin{equation*}\label{eq:pareto mle2}
A_0 = \frac{1}{(\alpha+t_x)^{r+s+x}}{}_2F_1\left(r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha + t_x} \right ) "\\\"
- \frac{1}{(\alpha+T)^{r+s+x}}{}_2F_1\left(r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha…
- \frac{1}{(\alpha+T)^{r+s+x}}{}_2F_1\left(r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha…
user3714137
- 1,363
120
votes
9 answers
How to draw Venn diagrams (especially: complements) in LaTeX
What I am up to is to write some exercises dealing with logical formulas for my students, like:
And the students should draw these formulas on Venn diagrams. At the end of the lesson, I really would like to print the correct answer for them. I…
daroczig
- 1,576
120
votes
1 answer
How do I insert a backslash inside a mathematical statement?
I'm trying to write a set subtraction operation in an AMS formatted template. In the end, what I want should look like A\B. But I'm doing this in math-mode $A\B$ and this gives me errors. I've also tried using the \diagdown symbol, but it doesn't…
Paul
- 2,610
120
votes
4 answers
What can I use to typeset MATLAB code in my document?
This question led to a new package:
matlab-prettifier
Does anybody have a quick and easy way to typeset some relatively long MATLAB code in the appendix? I looked up a few methods, and the mcode package emerged as a possibility, but it seems to be…
suzu
- 1,927
120
votes
3 answers
Tikz: Multi-line text in the node description
I use tikz to create pictures in latex.
My picture consists of set of nodes. Every node has its own text inside the node, for example, "This node is valuable":
\node (mynode) [mystyle,right=of anothernode] {This node is valuable};
When I…
Timofey
- 1,947
120
votes
1 answer
\ref Chapter Name in LaTeX
Possible Duplicate:
Get the title instead of number of a referenced chapter?
Is it possible to use \ref{chap:conclusion} to refer to the actual name of the chapter instead of the chapter counter in LaTeX? So that I can do this:
See the…
joec
120
votes
1 answer
Change align of a single cell in tabular
Possible Duplicate:
Aligning inside tabular environment, specific cell
I have a simple table with a given align. I want to know if there is a way to specify a different align for a cell. For example, in the following table, how can I make Item 3…
Marcos Roriz Junior
- 3,293