1
vote
2answers
1k views

TeXworks viewer shows only part of compiled document

I'm trying to find a LaTeX editor witch supports inverse search. I was trying TeXworks and in the begining it was working. The only problem was that I didn't know how to set .dvi as an output format ...
17
votes
2answers
1k views

Fixing punctuation after a field in biblatex

Customising a biblatex style, I want to ensure that after the title of books only a space is used. If you take a look at one of the standard drivers: \DeclareBibliographyDriver{book}{% ...
3
votes
1answer
536 views

BibLaTeX doesn't seem to work with MacTex 2010

I've read good things about biblatex so I want to use it for my paper. I use MacTex 2010 on OS X 10.6.6 with Textmate. So far I've been happy with MacTex but I just can' get biblatex to run. I did a ...
73
votes
6answers
28k views

Left and right subscript

I am trying to put two subscripts at the left and right of a character. For example, something like: _{t} p_{x} where p is in the middle. How do you do this?
20
votes
2answers
24k views

How to include enumerate in tabular?

I would like to have text in one column table with multiple rows, but I need to include an enumerate in one cell. I get errors and read on the Internet the problem is in combining environments with ...
14
votes
2answers
20k views

Change font in a single paragraph [duplicate]

Duplicate: How do I use a particular font for a small section of text in my document? How is it possible to use a new font for just a single section of a document and switch back to the ...
3
votes
1answer
1k views

Can't replicate this graph using TikZ

I'm having trouble replicating this graph I know it's silly to do a graph with so little info, but my teacher demands it.. go figure... I can't seem to make the bars stick together. It's my first ...
10
votes
1answer
875 views

Automatically formatting punctuation using biblatex field format

Customising a biblatex style, I’d like to use ‘traditional’ typography where the format of punctuation follows that of the preceding text, for example J. Organomet. Chem. 691. 13 with the full ...
7
votes
1answer
4k views

Vertical alignment of tikzpicture with text?

I have some text, and a corresponding tikzpicture, both of which are to be part of a test question, and which are thus included as part of an \item in an enumerate environment. Like this: \item ...
18
votes
6answers
1k views

Converting LaTeX into Unicode for email

My standard procedure for writing mathematical email has been to use pidgin-LaTeX for some time now, and many of those I communicate with do the same. However, someone I know has recently started a ...
10
votes
1answer
3k views

Configure kile to enable inverse search function

I'm aware of the existence of another thread with almost the same title "How to set up inverse search with Okular and Kile", but it doesn't solve my problem (at least I think so). I'm using Kile (on ...
10
votes
3answers
3k views

Generating PDF without any intermediary files (stdin/stdout)

I am programmatically generating PDF's from a template and would like to avoid hitting the hard-drive all the time. Not so much for optimization but because I run parallell threads on all the cores ...
7
votes
1answer
2k views

How to use one footnote for many replicated citation using biblatex? [duplicate]

Possible Duplicate: Repeat the same reference in footnote on different pages I use biblatex package to render references as footnotes to facilitate accession to them. I noticed that when ...
5
votes
1answer
1k views

pdfpages and linktodoc

I'm trying to link to a specific page in an external document. This has been discussed previously under the topic, How to link to specified page of an outer pdf document?, and the answer suggests ...
10
votes
4answers
2k views

Alternatives to bibtex2html

As the title says, are there viable alternatives to bibtex2html for converting bibliographic entries to HTML? I am specifically looking for some command-line utility allowing to export a bib files ...
1
vote
1answer
583 views

How to control \chapter text related to \tableofcontents

How can I control \chapter text associated with \tableofcontents How to change the font size of \chapter{text} in TOC page. How to restrict TOC pages to ONE. (Two pages are coming as default). At ...
14
votes
2answers
1k views

Are boolean operations on TikZ shapes possible?

The Situation Many vector graphics editors (for instance, Inkscape, Adobe Illustrator and Microsoft Visio) permit the synthesis of new shapes by union, difference or intersection operators. A ...
5
votes
1answer
3k views

Column width in multicol and using float environments

I'm trying to write my first report ever using LaTeX. I want it to have two columns so I'm using the multicol package. The columns are too narrow though, I want it to be wide like, say, elsevier style ...
8
votes
2answers
5k views

Bold Typewriter Type fonts

I found out that there are cmbtt10 and cmttb10 fonts available. Unfortunately they are not used until I activate them with the \font macro, so just searching for those fonts is not possible. The ...
2
votes
1answer
417 views

Why is the % symbol not showing with XeTeX?

I'm using XeTeX and my % symbol is not showing when I compile to PDF! I've added my code below. I've gone through the XeTeX companion guide (maybe not very thoroughly) and Googled, but I can't find ...
11
votes
3answers
16k views

How to draw a frame box around an arbitrary large piece of text/figures/whatever?

The command fbox{...} can be used to draw a box around a piece of text, and apparently also a figure. However, I've not been able to use it if the "text" contains environments such as minipages and ...
11
votes
5answers
3k views

Improve intercolumn spacing of this table

I'm trying to spruce up the appearance of this table: \begin{tabular}{rr@{\hspace{2em}}rr@{\hspace{2em}}rr@{\hspace{2em}}rr} \toprule \multicolumn{2}{c@{\hspace{2em}}}{\textbf{Word C}}& ...
13
votes
2answers
3k views

How can I place a double-wide figure float (ie, figure*) on the bottom on the first page of a two-column document

In what I would like to be a two-page, two-column document with two wide (figure*) figures, I need one to be on the bottom of the first page, and one to be on the top or bottom of the second. ...
6
votes
2answers
2k views

Add a link to the TOC

I'd like to link the Table of Contents in the footer of each page. I can achieve this thanks to this hint like so: # In the hyperref section of the document preamble \cfoot{\hyperlink{page.1}{TOC}} ...
12
votes
2answers
4k views

Conflict between color, graphicx and libertine

Compiling the following with pdflatex (TeXLive 2009/Debian on Ubuntu 10.04 "Lucid Lynx") \documentclass{article} \usepackage{ifpdf} \ifpdf \usepackage[T1]{fontenc} \usepackage{libertine} % ...
15
votes
1answer
4k views

How to wrap text around landscape page

I have from time to time a landscape page. I would like that text around it just normally flows. So something how figure environment works. So that it is not really important where you exactly define ...
0
votes
0answers
426 views

includegraphics - inserting png image leads to blank picture [duplicate]

Possible Duplicate: Why does the image not appear? I am in a bit of a predicament as I try to include two PNG formatted pictures in one of my homework exercises. The following code has ...
14
votes
2answers
4k views

Does anyone know a good XeTeX tutorial?

I want to use XeTeX so that I can use a particular font, but I'm not quite sure about the documentation/commands in specifying this font in XeTeX. Can anyone point me to a good how-to tutorial on ...
17
votes
2answers
9k views

Error when inserting a PDF page into a Beamer presentation

I'm using pdfpages to insert a page from a pdf file into my Beamer presentation, but the result is a completely empty page. Here is smaller version of the file: \documentclass{beamer} ...
6
votes
3answers
2k views

Number mhchem reactions and create a \listofreactions

Is there a way to create an environment for reactions defined with mhchem that behaves similarly to equation in terms of numbering the reactions (including a \nonumber command)? Can I get a list of ...
3
votes
1answer
943 views

In ModernCV, how to define a command in the cls style file to allow lines with right-aligned word.

I am using ModernCV for my CV. I want to achieve something like the following example (please note that the address "align2@rightMargin.com" is aligned to the right margin): Please note the last ...
7
votes
1answer
1k views

How to make memoir not put bibliography on next recto page

I am using two columns in a memoir document and when I place a bibliography using bibtex for some reason it ends up on the next recto page. I am writing a book with multiple chapters and I want each ...
2
votes
2answers
655 views

ignorespace and unskip in verbatim/listings?

I am writing a \bashDemo macro that will (a) execute its argument in a shell, e.g., bash, script, and (b) display the argument in a listings. So, \bashDemo ls -ls > myfiles \END will both run ls ...
16
votes
3answers
19k views

How to format the chapter heading?

How can I change the chapter heading of the book class to typeset centered chapter names as shown in the image above?
5
votes
2answers
188 views

Up-to-date TUGboat bibliography database

Where can I find machine-readable bibliographic data for at least all publicly-available TUGboat articles? I've found CTAN:/info/digests/tugboat/t-of-c/, but that doesn't seem to have been updated ...
19
votes
2answers
1k views

Automated age calculation

How can I calculate my age at compile-time in LaTeX? Something like: I'm \myage{day}{month}{year} years old. would be most awesome.
7
votes
4answers
9k views

Missing $ inserted

I am new to latex. I am trying to compile someone else's document. I have all the correct packages installed, but I get the following error: *Overfull \hbox <37.8394pt too wide> in paragraph ...
9
votes
6answers
1k views

Function like macro?

If you have programmed in a high level programming language, you must be familiar with the concept of functions, subroutines which return a value. For example, if you write in C, you can write a ...
2
votes
0answers
470 views

PicTeX files inside a Plain TeX file [closed]

I am using Plain TeX to write my (scientific) texts which usually include many awful equations and graphs (or figures) I am constructing with unsurpassed PicTeX. My big problem is that with my MikTeX ...
8
votes
4answers
5k views

Problem adding subscripts and superscripts [duplicate]

Possible Duplicate: Cursive text after _ I need to have some subscripted and superscripted text in my thesis document. But when I try to do it the way as H_{2O} or S^{2}. I get an error at ...
11
votes
1answer
8k views

Package ifpdf Error

I am trying to use amspset. Here is my minimum code: \documentclass[12pt,letterpaper]{amspset} \usepackage[margin=1in]{geometry} \usepackage{graphicx} % info for header block in upper right hand ...
1
vote
2answers
5k views

Equation too long [duplicate]

Possible Duplicate: How can I split an equation over two lines I have a long equation, $\operatorname{E} (Z_{n+1} - Z_n | X_1,..., X_n) = \operatorname{E} (S_{n+1}^2 - (n+1) \sigma^2 - ...
1
vote
1answer
609 views

Using Sweave to include lattice graphics - issues with colour

I am using Sweave and the R package nlme: when including lattice graphics, (encapsulated in the print() command), the .eps files that are generated are all in black and white. The original graphic, ...
2
votes
1answer
573 views

Flashcards class installed incompletely on MiKTeX

I don't have much experience with low-level LaTeX. MiKTeX (my version is basic-miktex-2.9.3972) always installed needed packages "on-the-fly". Trying to compile a document using 1.0.1 version of ...
6
votes
1answer
464 views

How do I call microtype's \SetProtrusion in the preamble?

In this answer about full justification for italic text, I used microtype's \SetProtrusion to get better-looking margin kerning for italics. It works fine, but I had to call \SetProtrusion after ...
2
votes
2answers
1k views

Starred version of “xtabular” not working

I want to insert a long table in a two-column paper. I tried "tabular" first, but the problem is that it doesn't divide the table among pages. Then people in this post suggested that I use xtab: In ...
5
votes
3answers
1k views

How can I change the increment of the page numbering?

I'm trying to create a somewhat specially formatted document, with some text on the recto (right side) and a graphic on the verso (left side). This is for a brochure of sorts. See below: --------- ...
24
votes
5answers
4k views

Drawing stars/similar with Tikz

I'm writing a review for a book at the moment, and I thought I'd be clever and show off what LaTeX is capable of by adding a x-out-of-y stars graphic. Tikz can do many things so I would have thought ...
8
votes
2answers
166 views

Are \count1, …, \count9 useful?

To quote TeX by Topic, "whenever a \shipout occurs, TeX also writes the values of counters 0–9 to the dvi file and the terminal." Do any dvi viewers or converters (e.g., dvips) make use of ...
32
votes
2answers
11k views

How to repeat top rows (column headings) on every page

I have a big table which contains hundreds of rows. I want to repeat the top two rows on every page of the table. How can I do it in TeX?

15 30 50 per page