All Questions

Filter by
Sorted by
Tagged with
240 votes
8 answers
172k views

tlmgr cannot setup TLPDB

I'm trying to update my installation of texlive 2013 under Ubuntu 13.10. However, I followed the instruction on this answer, but I get an error (running on Debian, switching to user mode!) cannot ...
adn's user avatar
  • 11.2k
239 votes
4 answers
528k views

Nice looking empty set?

I feel like the standard $\emptyset$ is ugly. By hand, my empty set symbol is a lot rounder, then this "slashed-zero"-type symbol. Two questions: Do people really use it (I mean people who have any ...
Jérémie's user avatar
  • 2,991
238 votes
4 answers
166k views

Is it possible to pagebreak aligned equations?

The report I'm writting features a lot of long, multiple lines equations. To reduce visual polution I've been using an aligned environment nested inside equation. This way (unlike just using an align ...
Malabarba's user avatar
  • 6,972
238 votes
2 answers
211k views

Is it wrong to use \clearpage instead of \newpage?

The commands \newpage and \clearpage both force a page break. In addition, the latter command also "flushes" all pending floats from the stack, i.e., forces them to be typeset starting on the page ...
Mico's user avatar
  • 508k
238 votes
4 answers
243k views

What are underfull hboxes and vboxes and how can I get rid of them?

Often, TeX outputs underfull hbox and vbox warnings when running and in the generated log file. What are these and how can I get rid of them?
equaeghe's user avatar
  • 5,976
237 votes
6 answers
978k views

Which dot character to use in which context?

Wikipedia lists several dot characters in Unicode. These are the ones that are ambiguous to me: interpunct, middle dot (·) · · U+00B7 "midpoint (in typography)" ...
endolith's user avatar
  • 2,471
236 votes
7 answers
571k views

How can I have two tables side by side?

Suppose I have two tables that don't have many columns (3, for example). How can I position them side by side?
bada's user avatar
  • 4,297
236 votes
2 answers
527k views

How can I get text underneath an underbrace?

I am looking to do something of the following: To get text underneath the underbrace. Is it involving \stackrel or some sort of similar command?
night owl's user avatar
  • 7,593
234 votes
5 answers
985k views

How to break a long equation? [duplicate]

I have an equation long enough to occupy two lines. I want to break it to improve readability. How can I break it? \begin{equation} F = \{F_{x} \in F_{c} : (|S| > |C|) \cap (minPixels < |S| &...
nacho4d's user avatar
  • 11.1k
234 votes
11 answers
87k views

Is there a specialized Pdf viewer for Latex-Beamer presentations on Linux?

Most of the time when presenting a talk people connect their laptop to a video projector. So they effectively have an extra screen at their disposal. Because of that many Software options for ...
con-f-use's user avatar
  • 4,641
233 votes
7 answers
242k views

utf8x vs. utf8 (inputenc)

I normally use \usepackage[utf8]{inputenc} for my latex document but on this site i saw a lot of code with \usepackage[utf8x]{inputenc}. What are the differences between the 2 options ? Is there one ...
PHL's user avatar
  • 7,555
232 votes
2 answers
89k views

Is a period after an abbreviation the same as an end of sentence period?

Does latex do anything special with periods? If so, is there a way to differentiate end-of-sentence periods from periods indicating abbreviation?
Neil G's user avatar
  • 18k
231 votes
10 answers
579k views

Table with multiple lines in some cells [duplicate]

What is the easiest way to have 2 lines in some of the cells in a table? The only way I can think right now is to actually have 2 separate rows (without the line in the middle) and use \multirow on ...
Grzenio's user avatar
  • 9,465
230 votes
5 answers
302k views

Adding space between columns in a table

I notice that the space between each column of a table in LaTeX is not quite wide (at least for me). Is there any way to set this? I found the \hspace, but I don't get how to use this in the table.
zfm's user avatar
  • 9,007
230 votes
5 answers
98k views

\pagebreak vs \newpage

What's the difference? I know that \pagebreak can take an optional argument that specifies how much a page break is desired, but is there any difference if the optional argument is not used?
Sophie Alpert's user avatar
230 votes
8 answers
159k views

Cross-referencing between different files

I want to cross-reference between different .tex files, just because I want to put every chapters separately. Let's say in file chapterI.tex I have \label{a} and I want to access this in file ...
zfm's user avatar
  • 9,007
229 votes
1 answer
115k views

Regarding the `book`, `report`, and `article` document classes: what are the main differences?

What are the main differences between the book, report, and article document classes? I am interested in the following: visual differences in the final document; differences in the way the document ...
benregn's user avatar
  • 6,082
228 votes
2 answers
553k views

What is the difference between "Page Break" and "New Page"? [duplicate]

Possible Duplicate: \pagebreak vs \newpage In LyX/LaTeX, What is the difference between "Page Break" and "New Page"? They both seem to do the same to me.
Amir Rachum's user avatar
  • 4,383
228 votes
4 answers
1.1m views

making appendix for thesis

I need some help with creating an appendix for my thesis. I have about 10 figures which need to be in the appendix. I have a good appendix with the following code: \appendix \addcontentsline{toc}{...
user13017's user avatar
  • 2,289
228 votes
3 answers
254k views

How to disable automatic indentation on new paragraphs?

I'm using a template that I can't/shouldn't modify. This template forces that every time a new paragraph begins, there is an indentation added. In some rare cases this is just looking really ugly and ...
RoflcoptrException's user avatar
228 votes
15 answers
401k views

How to convert a scientific manuscript from LaTeX to Word using Pandoc?

I have a typical scientific manuscript in a LaTeX .tex file, and I need to convert it to MS Word .doc file. The reason for having to convert to MS Word is I'm submitting the manuscript to an academic ...
Fred's user avatar
  • 2,677
227 votes
4 answers
591k views

Increase LaTeX table row height [duplicate]

How does one increase the height of the rows in a LaTeX table?
user1965914's user avatar
  • 2,501
227 votes
6 answers
105k views

Creating fillable PDFs

I'd like to create a LaTeX document that when rendered into PDF, has forms that can be filled out using Adobe Reader or other such programs. Then I'd like to be able to extract the data. I ...
Suresh's user avatar
  • 16.5k
226 votes
16 answers
132k views

Alternatives to LaTeX

Are there any professional alternatives to TeX/LaTeX which produce equal or even better typesetting? Maybe expensive commercial ones. The software counts if it is comparable or superior to LaTeX (...
student's user avatar
  • 29k
224 votes
1 answer
125k views

Short captions for figures in \listoffigures

When I use \listoftables and \listoffigures I get in the list long captions that appear next to the tables/figures. I would like to use short captions for this list which summarize these captions. Is ...
kloop's user avatar
  • 9,684
222 votes
4 answers
349k views

Adding vertical space at the start of a page

I'd like to, first thing before writing anything on a page, add some vertical space. Minimal (non)working example: \documentclass{article} \begin{document} \vspace{250px} I want to be further down ...
Speldosa's user avatar
  • 5,077
222 votes
2 answers
413k views

How to use \graphicspath?

I am using MikTex 2.9 and TeXstudio for my TeX preparation. I would like to set the path to my figures folder, which contains all the figures, plots etc. required for my work. I used \graphicspath ...
Litun's user avatar
  • 3,295
222 votes
2 answers
459k views

What's the correct use of \author when multiple authors?

Working on a project, the article we are writing is written by me and someone else. How should I fill the \author? What about \author{LASTNAME1, FIRSTNAME1 \& LASTNAME2, FIRSTNAME2}? It doesn't ...
Tomas's user avatar
  • 5,451
222 votes
1 answer
121k views

What exactly is SyncTeX?

I stumbled upon these SyncTeX files in my directories and wanted to know what they are for. I searched this site and the internet and I think I have some vague understanding of what it is but I'm ...
franz's user avatar
  • 2,407
221 votes
6 answers
446k views

How can I draw a horizontal line spanning only some of the table cells?

In a table, how can I draw a horizontal line that goes only through some of the cells? I mean a line like the one in the Foo and in the Bar area of this table: +----+-----+ |Foo |1 |2 | | |1 |2 | |...
Frank's user avatar
  • 7,185
221 votes
5 answers
384k views

What does "overfull hbox" mean? (Why is there a black mark at the end of a line?)

I often see output from TeX with the warning overfull hbox, badness 10000. What does this message mean?
Phil Miller's user avatar
  • 20.3k
220 votes
3 answers
46k views

Suppress "In:" biblatex

How do I suppress the "In: " before the journaltitle? Like so: In: Journal of Applied Physics
Kit's user avatar
  • 16.4k
220 votes
2 answers
183k views

\emph or \textit

In the comments section of Does it matter if I use \textit or \it, \bfseries or \bf, etc, I asked for a clarification of these points. The clarification has mostly been made, but it was requested that ...
BBischof's user avatar
  • 4,149
220 votes
5 answers
68k views

When to use \edef, \noexpand, and \expandafter?

I'm quite happy hacking TeX macros and cobbling together bits and pieces from different style files to suit my own ends, but I have a suspicion that my resulting hacks are not quite as elegant as they ...
Andrew Stacey's user avatar
219 votes
4 answers
173k views

How do I ensure that figures appear in the section they're associated with?

Often floats may land quite a bit later in the document than the point they are created, sometimes after a section break. Is there a way to force a new section to start on a new page, after any ...
Scott Morrison's user avatar
219 votes
6 answers
104k views

Is there a nice way to compile a beamer presentation without the pauses?

Say I made a beamer presentation and I want to print it out. Is there a nice way to make beamer ignore the pauses so that I don't get lots of pages with duplicate information? Of course there are ...
kevins's user avatar
  • 2,293
218 votes
15 answers
173k views

Showcase of beautiful title page done in TeX

The book is mostly meets by the Title Page. Default TeX \maketitle are simple and minimalistic. I'm looking for examples of Title Pages: complex - have different formatting; beautiful and awesome; ...
217 votes
4 answers
23k views

Pretty Table of Contents

I would like to know if it's possible to have a Table of Contents looking like the following, where the number of the page is the big number on the left. The sections could look like in the following ...
projetmbc's user avatar
  • 13.3k
216 votes
2 answers
145k views

Comments in BibTex

Basic question (though I haven't found it here): How do I comment out parts (some lines within an entry which I would like to save for later) of a BibTex file? Apparently, @ can be used to comment ...
fuenfundachtzig's user avatar
215 votes
6 answers
43k views

Where do I start LaTeX programming?

I'm interested in writing packages for TeX/LaTeX/XeLaTeX. I googled around, but all I found was guides or tutorials about how to prepare documents using LaTeX. I want to know how LaTeX works and how ...
sorush-r's user avatar
  • 2,687
215 votes
4 answers
950k views

How to write a function (piecewise) with bracket outside?

How to write this Piecewise function using LaTeX? I tried $ \begin{array}{cc} \{ & \begin{array}{cc} 0 & x\leq 0 \\ \frac{100-x}{100} & 0\leq x\leq 100 \\ 0 & ...
GarouDan's user avatar
  • 3,291
214 votes
5 answers
168k views

Easy curves in TikZ

I find myself needing to draw lots of elegantly curved paths in TikZ. Ideally, I'd just specify a series of points, and TikZ would calculate the extra data itself to draw a nice series of curves ...
Jamie Vicary's user avatar
  • 11.1k
214 votes
27 answers
117k views

Workflow for converting LaTeX into Open Office / MS Word Format

I often have to write up reports based on the analysis of some data. I use R to analyse the data and export tables, figures, and text. This is then included into a LaTeX document either using input or ...
Jeromy Anglim's user avatar
213 votes
5 answers
412k views

Reduce space between enumerated items

Background All book figures are set to "here definitely" (as they must come after the text that introduces them). Problem The list types (enumerated and bullet) have too much space between them. ...
Dave Jarvis's user avatar
  • 11.9k
213 votes
6 answers
337k views

Embedding videos and animations

I'm aware that it's possible to embed some kinds of videos and animations in LaTeX files (using the beamer or prosper classes) but I couldn't locate good documentation on this. My web searches ...
Vipul's user avatar
  • 2,231
212 votes
4 answers
167k views

newcommand vs. DeclareMathOperator

As far as I understand, whatever can be done using DeclareMathOperator can also be achieved using newcommand, but not the other way around. If this is the case, what are the circumstances where ...
Dror's user avatar
  • 22.6k
211 votes
3 answers
160k views

Hyperref warning - Token not allowed in a PDF string

When compiling a beamer presentation and using the following \author command \author{Name \\ \texttt{[email protected]}} I get the following hyperref warning in my logfile Package hyperref ...
Nickolay Kolev's user avatar
211 votes
3 answers
342k views

How do I put big brackets under different parts of an equation to attach text labels?

How do I put big brackets under different parts of an equation so that I can write, e.g., text specific to these parts? For example: f = x^3 + 2 |___| |__| | | text 1 text 2
user avatar
211 votes
3 answers
460k views

'Floor' and 'ceiling' functions

Is there a convenient way to typeset the floor or ceiling of a number, without needing to separately code the left and right parts? For example, is there some way to do $\ceil{x}$ instead of $\lceil ...
jamaicanworm's user avatar
  • 29.1k
211 votes
11 answers
295k views

How to get DOI links in bibliography

I would like to add to all my bibliography items a DOI (Digital Object Identifier) link or a link to a download location. How can I do this with the natbib / BibTeX / hyperref combination? Currently ...
Peter Smit's user avatar

15 30 50 per page