7
votes
1answer
2k views

When I use \animate in beamer, how do I move back in my presentation?

Matthew Leingang just provided a nice example of beamer's \animate method. If in this example (don't want to repeat it here) I replace \animate<2-10> with \animate<3-10>, how will I then ...
86
votes
12answers
33k views

Grammar-checking tool for use with LaTeX?

I am looking for a grammar-checking tool, i.e., something that checks for mistakes such as "two dog" or "a books". It has to work on Linux (Ubuntu). Also, since that I use macros to generate some of ...
9
votes
2answers
833 views

How can I layout images side by side to allow comparison?

I am very very new to TeX/LaTeX, I am writing my first document. So far, I love the way it shows everything. The learning curve is steep though. I have images that needs to be compared, so they must ...
8
votes
2answers
2k views

Animating Protocols

I'm creating a beamer presentation on network protocols. I like to put very simple animations in the slides, like an arrow extending from sender to receiver, showing the flow of network messages. I ...
6
votes
2answers
2k views

Replacing calligra Font with Vector Ones

The question is similar to Lowercase \mathcal, but I'm not after calligraphic math fonts. I'm in need of some calligraphic font in text mode (which, of course, supports lowercase). Basically, I used ...
6
votes
2answers
692 views

Proper way to do a “page break”

Lets assume that in my latex code I have the following paragraph as an example. The leaked cabled from the US embassy to Washington indicate that in the run up to the May General Election Mr King ...
8
votes
2answers
34k views

Should the appendix be before the bibliography or after?

My thesis latex format does not include an appendix, but I need one. Should I put it after the bibliography or before?
11
votes
1answer
969 views

Adding notes to Table of Contents

How could I add a note ... or a footnote at the beginning of the Table of Contents, something like 'Chapters with * can be skipped on a first reading'...?
9
votes
2answers
478 views

How, in ConTeXt, can I get body text to align flush to the outside?

I'm using ConTeXt Mk IV, and I'd like the text in a two-page document to line up like so: +--------+--------+ + + + + xxx + xx + + xxxx + xxx + + xx + + + ...
14
votes
3answers
2k views

Change ordering of initials in biblatex style

I'm not very experienced with biblatex, but I hope that the answer to this question will be relatively simple. I'm using the authoryear style, and my references in the reference list appear like the ...
3
votes
1answer
1k views

Biblatex / Biber.exe not displaying unicode characters in reference

I'm using Xelatex with biblatex and the biber.exe backend: \documentclass{article} \usepackage{fontspec} \usepackage{xltxtra} \usepackage{polyglossia} \setmainlanguage{english} ...
53
votes
8answers
16k views

How to annotate PDF files generated by pdflatex?

I want to annotate some PDF files (created with pdflatex), e.g. word x is missing here this part of a sentence should be moved to the front replace word x by y highlight this sentence insert a note ...
1
vote
2answers
2k views

Using \multicolumn with beamer inside an overlay command

I'd like to have a conditional \multicolumn command depending on the slide, so I put it inside an alt or an only command, as follows: \documentclass{beamer} \usepackage[latin1]{inputenc} ...
20
votes
3answers
4k views

Start pdf viewer in presentation mode

Is there a way to let pdf viewers automatically start in presentation mode?
2
votes
1answer
7k views

How to insert “footline”-style page number into “headline”

When inserting page numbers into beamer slides, I usually use: \setbeamertemplate{footline}[page number] Is it possible to do this for headline, something like: \setbeamertemplate{headline}[page ...
7
votes
3answers
7k views

Rename “Algorithm” to “Listing”

Background Syntax-highlighted source code image listings are being used as Algorithm floats with the lst: prefix for captions. Problem The following LaTeX code in the preamble renames the caption ...
9
votes
3answers
813 views

“Bleed” text into the page margins?

Is it possible to have lines (as an exception) that continue into the right margin ? Here's why I hope it's possible: I have a document and one of the headings is the formal name of a particular ...
22
votes
1answer
28k views

How do I make the 'such that' symbol from Set Theory?

I am looking for the 'such that' symbol in set theory. I don't know what it's called so I'm not sure how to look for it. For the moment, I am just using this '|'. What is the appropriate symbol?
13
votes
3answers
2k views

Ligatures in Hoefler with XeTeX?

Using XeLaTeX on OS X 10.6 (texlive installed with MacPorts) I'm not getting any ligatures with Hoefler. Example code: \documentclass[10pt]{article} \usepackage{fontspec,xltxtra} ...
4
votes
1answer
2k views

How can I center horizontally but not vertically?

This centers both horizontally and vertically, but I do not want vertical centering. I want the grid to be at the top of the page. (The geometry package works well at defining margins though). ...
11
votes
3answers
4k views

How can I create a Chicago Manual of Style formatted document in LaTeX?

I have an assignment which requires me to use CMS formatting, double spaced, in 12pt font. I'd rather avoid using the much inferior "Word" or "Writer" programs -- in particular I like how LaTeX ...
7
votes
3answers
547 views

Passing options to a macro

Background We're developing an automated graph drawing framework for TikZ with LuaTeX. The TeX interface on the pgf layer is nearly done, the next step will be the TikZ Layer. The maker of TikZ, Till ...
4
votes
3answers
627 views

Label an angle in xypic

I am frequently (i.e. about once per quarter, right before the end) set upon by the need to draw a diagram in which various lines are drawn and the angles between them labeled. I've been using xy-pic ...
5
votes
5answers
3k views

Center figure which spans over whole page

I would like to get this to center with 5pt margins on left, right, and top. So the picture will cover nearly the whole page with room at the bottom for captions. \documentclass{article} ...
2
votes
1answer
2k views

Behaviour of frametitle with raisebox

See update below. The following problem occurred while I was trying to alter the frametitle in beamer. (Actually I want a picture in the Titlebar. I used a rule instead.) \documentclass{beamer} ...
4
votes
2answers
2k views

LaTeX: UTF8 and algorithm2e clash

I have this input file in utf8 encoding: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{algorithm2e} \begin{document} \begin{procedure} foo \caption{ö()} \end{procedure} ...
21
votes
2answers
835 views

Stripping the pt from a dimension

LaTeX defines in ltfssbas.dtx a macro called \strip@pt (at line [246]) which strips the pt part from a dimension returned by \the\dimension. The definition is shown as a minimal working example below: ...
10
votes
5answers
12k views

How to draw box around text that contains a verbatim block?

Typically, to box in some text, I use the following: \fbox { \parbox{\linewidth}{ This is some text! Blah blah blah... } } However, say I have a verbatim block within that. It will ...
14
votes
4answers
3k views

How to automatically draw a graph in LaTeX

clarification: when I say "graph", I mean the computer science term. I want to draw a full binary tree of h height. It means that there's one root with two sons, each son has two sons and so forth. ...
4
votes
1answer
703 views

Can I compile .tex to .html from within AUCTeX?

Can I compile .tex to .html from within AUCTeX? What are the keybindings? Thanks!
4
votes
1answer
1k views

How can I get the chapter number like a prefix of all references

This was the problem I posted: "I need to output "see section 2.3" where the referenced section is the third on the second chapter." You all are right. I've to redefine the problem. Sections are ...
5
votes
1answer
8k views

Why does bibtex not compile?

I have added the bib file refs.bib to the directory but I get errors indicating that the references are undefined. foo.tex: \documentclass[10pt]{article} \usepackage[utf8]{inputenc} ...
11
votes
2answers
5k views

Adding color to a table column as a beamer overlay

I'm trying to have an overlay that adds a background color to a column of a table in beamer. I can create a table with a colored second column using the colortbl package. \begin{tabular}[]{r ...
44
votes
4answers
3k views

Why do LaTeX internal commands have an @ in them?

Does the @ mean anything specific? For example, is it substituted? Does it split the command into parts, like \s@foo could internally mean "foo of type s"? Is the purpose of the @ only to make ...
40
votes
1answer
2k views

Get the title instead of the number of a referenced chapter/section?

In my document I am referencing a section, e.g. \section{My Section}\label{test} Also see section\ref{test} This gives me, e.g. Also see section 1 but what I want is: Also see section My ...
11
votes
4answers
10k views

Overfull \hbox warning when using tabular

I keep getting this warning Overfull \hbox (0.63303pt too wide) in paragraph at lines xxx--xxx` wherever I have this line in the code \begin{tabular}{p{2cm}|p{4cm}|p{3cm}|p{3cm}} It does ...
7
votes
4answers
7k views

How to use the quote environment inside a \framebox?

Now I run into a problem with frameboxes. Why is the following not valid LaTeX code? \framebox{ The following text was taken from: \begin{quote} Erik Pickles: How it will end \end{quote} } I get ...
21
votes
1answer
10k views

How to start new chapters on the right hand side

I use the report document class, and I would like that chapters always start on the right hand side, anyone an idea how this could be easily done?
17
votes
1answer
799 views

Conditional pagebreak?

Is there a way I can have LaTeX insert a pagebreak, if the last line of the page is a certain string? e.g. \noindent \textsl{Solution}: thanks very much!
9
votes
2answers
343 views

How does this answer work?

Harald Hanche-Olsen posted some interesting code in answer to this question. Could someone explain how it works? I understand (I think) the futurelet and the expansions. I don't understand: Where ...
2
votes
1answer
483 views

which eclipse core installation should I download to use install the plug-in TeXlipse?

I want to taste TeXlipse. First of all, I must install the eclipse core downloaded from the official site. I am confused with which one I should install. :D Could you let me know the correct ...
5
votes
2answers
2k views

External scripts when using TeXShop

As I wrote in this answer to my question, I decided to use a shell script in order to concatenate the bunch of .tex files and compile them. However, this way, when ever I want to compile the whole ...
12
votes
1answer
2k views

Can you have hyperlinks to locations in different PDFs?

It's possible to hyperlink to another PDF file using Adobe Acrobat using the following LaTeX code: \href{run:target.pdf}{Click me!} If this is placed in source.pdf, then you can click on the ...
3
votes
1answer
1k views

How do I omit a column separator in a tabular environment?

I'd like to create a layout like this (it's for a resume): some text here a little more big chunk of text blah blah blah blah blah blah blah blah | ...blah ...
26
votes
4answers
2k views

Is it actually illegal to TeX `texbook.tex`? [closed]

At the top of texbook.tex, it is written: % This manual is copyright (C) 1984 by the American Mathematical Society. % All rights are reserved! % The file is distributed only for people to see its ...
8
votes
1answer
396 views

Can I set the format of an entire column except for the header?

I would like to italicize all of the names in the second column of a table, but presently the only way I have found to do this is to use \textit{} in each cell, i.e.: \begin{table} ...
3
votes
1answer
1k views

Remove strange line from KDE beamer template.

I'm doing a presentation using the kde beamer template, it's a really cool template. However there is a bug (?) that is killing me. There is two strange lines that is between the logo. Does any one ...
38
votes
5answers
12k views

Typeset an = with an ! above

I've seen an equals sign with a small exclamation mark on top being used to say "equals because of data that was given in the problem", for example for a boundary condition or initial value in a ...
6
votes
3answers
3k views

Quickly add text to existing pdf files / fill forms

I am sure I am not the only person to have had the following problem: one has a pdf document (usually some kind of a form that one needs to fill out over and over again) in a pdf file, which is not a ...
16
votes
2answers
6k views

Absolute positioning in beamer

It's easy to absolute position something using remember picture with TikZ, but it only works with pdfLaTeX. I can get something working by using negative vskip and hskips (trial and error), but that ...

15 30 50 per page