Most Popular

1500 questions
118
votes
3 answers

Best way to install packages for TeXLive in Ubuntu?

I want to install a package (specifically xlop). I'm using TeXLive on Ubuntu, and I don't really know my way around LaTeX. Can apt-get install or something similar be used?
Eric Wilson
  • 1,283
118
votes
5 answers

How can I make internal links both colored and underlined?

I would like the internal hyperlinks generated by hyperref to be colored and underlined. Reading some of the package documentation, I know that these \hypersetup keys exist: colorlinks: when true, color the link; when false, draw a border around…
Matthew Leingang
  • 44,937
  • 14
  • 131
  • 195
118
votes
5 answers

Problem with compiling BibTex: "no \citation commands" error

I'm really new to BibTex, I just wonder what is going wrong when I have this kind of error when I try to compile my bibliography file. I found no \citation commands---while reading file masterthesis.aux I have put this \bibliographystyle{plain} and…
zfm
  • 8,987
  • 9
  • 30
  • 21
117
votes
2 answers

Font size of Figure Caption Header

My question is about changing the font size. I have to insert two figures side by side. Coming to inserting the captions for the figures individually: Figure 3: blah blah.....................Figure 4: blah blah... I am able to change the font size…
117
votes
5 answers

Symbol for Gaussian distribution

What is the symbol for the normal density function in LaTeX?
asdf123
117
votes
8 answers

Keyboard Font for LaTeX

I'm currently writing a user guide containing a lot of keyboard shortcuts. I'm looking for a "keyboard" font where single characters or special keys (like tab or backspace) appear like the "real" key (i.e. with a box around; hope you get the…
117
votes
4 answers

Why getting this error tlmgr Unknown directive?

I haven't used tlmgr for a while but when I tried to install any package with it today, It returned following message: (running on Debian, switching to user mode!) Unknown directive ...containerchecksum…
Gomi
  • 1,325
117
votes
6 answers

Split itemize into multiple columns

Is it possible to split an itemize list into several columns? (I'm sure it is, but I couldn't find a solution around here) And additionally: Is it possible to automatically split a list into multiple columns if it reaches a certain item length? For…
Daniel
  • 1,317
117
votes
12 answers

Is there a LaTeX wrapper for use in Google Docs?

I collaboratively edit documents in Google Docs. Unfortunately, there are no LaTeX macros/wrappers I know of for Google Docs. So, editing a TeX file on Google Docs is like going back to the old days when you had to edit LaTeX in plain text. Does…
user50492
  • 1,171
117
votes
22 answers

Showcase of optical illusions made with TeX/LaTeX/LuaTeX/ConTeXt

Optical illusions are fun, so I thought it would be a good idea to have a list of optical illusions designed using MetaPost, or PGF/TikZ, or PS-Tricks, or Asymptote. Each entry should display one optical illusion and the code necessary to produce…
Gonzalo Medina
  • 505,128
117
votes
3 answers

Math mode in tabular without having to use $...$ everywhere

\begin{tabular}{|l|l|l|} \hline Column A & Column B \\ \begin{math} x & y \\ \end{math} \end{tabular} This won't let me compile and gives a lot of errors, how do I enable math mode in a table without using $ on everything?
Levi H
  • 1,511
116
votes
4 answers

Clearpage without pagebreak?

Is there a command which does the same like \clearpage (typesetting all floats which have not been typeset yet) but then does not insert a pagebreak but continues with the following text/graphics on the same page?
116
votes
4 answers

Outsourcing TikZ code

My Tex files get very confusing since I have multiple long TikZ code in them. How do you organize your files when it comes to TikZ?
user695652
  • 1,447
116
votes
2 answers

"direct" quotations and "entire paragraph" quotations

I need two types of citations which I have not figured out how to define: (see highlighted in grey) 1) As Owens stated (2008, p.97), ‘the value of...’ 2) Simone de Beauvoir (1972, p.365) examined her own past and wrote rather gloomily: The past…
116
votes
4 answers

How can I modify vertical space between figure and caption?

\documentclass{article} \usepackage[draft]{graphicx} \begin{document} \begin{figure} \centering \setlength\fboxsep{124pt} \setlength\fboxrule{1pt} \fbox{\includegraphics{dummy}} \caption{Dummy caption} \end{figure} \end{document} How can I increase…
Ichibann
  • 8,381