5
votes
1answer
2k views

Using BibTeX with latexmk

I'm using MiKTeX 2.9 under Windows XP. I have the following directory structure for my document: D:\MyTeX D:\MyTeX\BibTeX D:\MyTeX\IPMcast File latexmkrc contains the line: $bibtex = 'bibtex ...
15
votes
1answer
6k views

Coloring columns in a table with colortbl and booktabs

I have created a rather complicated table with some columns that I want to color. For the table, I chose the booktabs and tabularx packages. For coloring the columns, I use colortbl. The problem that ...
2
votes
2answers
3k views

Desired resolution of images for a Beamer presentation

I am working on a Beamer presentation for less-technically-inclined audience, so I want to use many visual aids, pictures, stock photos, etc. Unfortunately, these are mostly raster images, not vector ...
5
votes
2answers
3k views

How to make a tree more compact?

I'm using the qtree package, and I've made a tree that stretches far too much, and as a result, won't fit on the page. Here is my code: \Tree [.1/1 [.1/2 [.1/3 [.1/4 [.1/5 1/6 2/9 ] [.2/7 3/11 ...
4
votes
1answer
1k views

TikZ: Controlling new circuit symbols questions

I have created a new circuit symbol for battery source (var battery). There are two problems and one question: I would like for minus to be always horizontal. I would like to control how plus and ...
2
votes
2answers
3k views

How to install the Futura font in TeX Live 2010 in Linux(Ubuntu 10.10)?

How to install the Futura font in TeX Live 2010 in Linux(Ubuntu 10.10)?
11
votes
2answers
556 views

() or {} after a command

I was wondering why for some commands it is "(...)" that follows, while for other commands it is "{...}". For example, "\exp(x)" and "\bar{x}". Are both () and {} for specifying the arguments for the ...
8
votes
2answers
292 views

How can I get multiple subject names in the header/footer of a ConTeXt document?

I am setting up a ConTeXt document that requires a very particular style for the footers. I need the first and last \subjects followed by the page number in the right corner of the page, like so: ...
6
votes
1answer
940 views

Online searchable manual for TikZ?

Having used psTricks for years, I'd though I'd drag myself into the modern era and start using TikZ. So far, I like it very much. However, the only manual I can find is the 500+ page PDF manual, ...
4
votes
1answer
2k views

Maths expression in coordinates for a bar chart

I am using pgfplots to create a bar chart, with the x-axis representing different categories. Using symbolic x coords I can specify the labels for the categories. However, I am unable to use a ...
8
votes
2answers
6k views

Font selection in LaTeX (very simple)

I want to have a subsection with the following name: The synchronized Keyword i.e., make the word "synchronized" appear in a code-like font. I tried doing this: \subsection{The ...
1
vote
2answers
8k views

How do I install TikZ on a MacBook?

I have no knowledge of programming... I have a MacBook OS10.6 with Tex Shop, updated... after placing the zipped file into /Users/myname/Library/texmf/tex folder, I open terminal in utilities and ...
3
votes
2answers
566 views

Biblatex-MLA Online Author Entry Absent?

I'm trying to use biblatex-mla to make an annotated bibliography for a course of mine. One of the documents I need to cite is an online resource, and from what I see, the version online currently ...
15
votes
4answers
622 views

Expandable full expansion of tokens that preserves catcodes

Is it possible to fully expand tokens in an expandable manner and preserves category codes? I'd like to do this just using pdfTeX. I'm looking for something that would work like this: \def\foo{foo} ...
8
votes
1answer
5k views

Typefaces that come with the standard LaTeX distribution on the TeX Live

Sorry guys for this silly question but I really don't understand the way to do this. I would like to use the fonts I saw here in my documents. I'm on Mac OS X, snow leopard using textmate as the ...
0
votes
2answers
2k views

Problem with defining a titlepage

I am writing a LaTeX 2e class with two options msc and phd for my department theses/dissertations. In this class, I need to define a titlepage for the first page of the theses/dissertations which ...
6
votes
2answers
3k views

TikZ Diagrams in Math Mode

I've attached a picture which shows what I want to be able to do. I have been making simple Hackenbush diagrams as follows: \begin{tikzpicture} \node[hackennode] (Bottom Blue) at (0,0) {}; ...
4
votes
1answer
305 views

Dropped spines in pgfplot

How can I achieve something similar to the "dropped spines" example below using pgfplots?
9
votes
2answers
889 views

Using package locally

Is there a way to use a package locally? Here is the case... I NEED to use \phiup on my document, however it needs the using of package pxfonts or txfonts. However, when I use either of those ...
7
votes
1answer
9k views

Beamer: AtBeginSection and insertsubsectionnavigation

I'm trying to get a presentation which has for each section a leading slide which shows the name of the current section as well as a table of the subsections belonging to this section. The first part ...
11
votes
2answers
5k views

Cylinder shading with PGF/TikZ

I'm trying to create a cylinder with 3D shading effects. The cylinders in the picture are standing vertically, and have a body and an end. I'd like the body to be shaded so that it varies uniformly ...
2
votes
1answer
837 views

Aligning equations by row and column — with vertical lines

I want to include two sets of equations side-by-side in a table. Here is my example: \documentclass{article} \usepackage{amsmath} \newcommand{\eqnbox}[2]{ ...
12
votes
3answers
1k views

Back inclined Italics Font

Do we have any back inclined Italics Font? Just the opposite of the forward inclined Italics?
3
votes
1answer
1k views

Beamer: Vertical shading + plain frame leaves white strip at top of page

I've created my own beamer theme which uses a vertical shading for the background, but whenever I'm using a plain frame a thin white strip is left at the top of the page. I've created a minimum ...
22
votes
5answers
6k views

LaTeX for Graph Theory?

What should I use to make Graphs for Graph Theory in LaTeX? I have seen a lot of stuff about tkz (specifically tkz-berge), but I'm running Ubuntu and there is no package for it, that I can tell. ...
6
votes
1answer
1k views

Use mathpazo for body and math but use a non-tex font (in this case Futura) for headings.

I have a document that so far has used mathpazo for everything. I love the texlive distributed Palatino for maths and body text. The small caps in particular are much better than the True Type ...
3
votes
1answer
325 views

Spacing for homogeneous coordinates

Homogeneous coordinates in projective geometry are usually denoted like this: $[x:y:z]$. However, I think that ':' plays the role of a comma, and should be surrounded by much smaller spaces than for ...
3
votes
1answer
580 views

The quickindex option is not working with xepersian package

I have installed TeXLive 2010 on Ubuntu 10.10, when I try to compile a LaTeX file such as: \documentclass{memoir} \usepackage{makeidx} \makeindex \usepackage[Kashida,quickindex]{xepersian} ...
7
votes
1answer
6k views

How to move the last line to the next page?

I have a trivial (I hope) problem. I want to move the last line from the even page to the odd one and not to break the paragraph. I tried \newpage and it moved the line to the odd page but it broke ...
5
votes
2answers
2k views

Error in \setmainfont

I'm trying to follow the example on the Wikipedia page about XeTeX. But when I run the TeX code, I get this error: (/usr/share/texmf/tex/latex/etex-pkg/etex.sty) ...
5
votes
3answers
1k views

Merge bibtex citations

Can one automate the construction of a BibTeX bibliography which includes all the bibliographic entries from multiple separate LaTeX documents? The documents I have in mind have citations in common, ...
8
votes
3answers
5k views

Escape “> and <”

I have the following piece of text which I want to output literally: <<"Welcome">>. However it's converted to those funky quotations. I've been trying all sorts of things with \ mostly but ...
7
votes
1answer
2k views

How can I have multiple lines in a header or footer using scrpage2?

For an assignment at university I have to copy a lay-out template that is provided in Word but I want to use LaTeX. For this, I need to have two lines in the footer. How can I achieve this using ...
9
votes
4answers
644 views

How soon do all CTAN mirrors update for TeX Live Utility to detect the changes?

If a new package gets officially recognized with an entry at CTAN today, (on average) when can I typically expect all mirrors to be updated so that TeX Live Utility can detect the changes?
11
votes
1answer
6k views

Why does the image not appear?

I'm using IEEEtran to format an article, and I wanted to include an image. I included the graphicx and hyperref packages, and used the following code, like normal, to include an image. ...
10
votes
2answers
20k views

Separate \arraystretch value for every table

\arraystretch defines vertical spacing of tables. If I have several tables, how can I define a separate value of \arraystretch for every table? In my case, the last defined \arraystretch works for all ...
11
votes
1answer
1k views

Lining numbers not working in certain fonts

I’m using the Linux Libertine font and have old style numbers enabled. However, in a certain context I want to use lining figures instead. Normally I should be able to switch using \addfontfeature ...
5
votes
2answers
4k views

XeTeX not working on Ubuntu 10.04?

When trying to compile a LaTeX document in Ubuntu 10.04 with xelatex I get the following error message: This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian) restricted \write18 ...
24
votes
1answer
7k views

Biblatex: changing the order of entries

I switched to biblatex only recently and I'm still struggling with understanding how to do things properly. My question is: How to change the order of entries/units/blocks in the bibliography? The ...
7
votes
2answers
4k views

listings with background color and mathescape broken

I have a listings environment in my document with backgroundcolor=\color{grey} to get a nice grey background and mathescape=true for using math symbols. However when using the \vdots command inside a ...
30
votes
2answers
2k views

Is there a way to adjust kerning for a specific character combination?

Is it possible to tell (La)TeX to adjust the kerning of a specific character combination? For example, suppose I want !! to be typeset as !\kern 1.2pt!, just like ff is automatically turned into a ...
5
votes
3answers
2k views

Using keywords including a dot in the name with the listings package

I am using the listings package which works like charm in most cases. I tried to define new languages for my needs with the help of morekeywords options in \lstset, but entering special keywords ...
5
votes
1answer
437 views

How can I restore Chapter page numbers in minitoc with memoir?

Here's my minimal example: \documentclass{memoir} \usepackage{minitoc} \usepackage{lipsum} \doparttoc \begin{document} \tableofcontents \part{The Only Part} \parttoc \chapter{The Only Chapter} ...
8
votes
2answers
18k views

Define different heights for head and foot

is it possible to define different \headerheight for head and foot respectively? For example, there is a logo image in the header which needs a large \headerheight and only text is in foot which needs ...
11
votes
1answer
1k views

Z-Order of plots pgfplots

Simple question: I can’t seem to control the z-order (i.e. which comes in front, which comes in the back) of the plots in a 2D axis. MWE: \documentclass{article} \usepackage{pgfplots} ...
11
votes
3answers
609 views

Editors/IDEs for LaTeX documented source (.dtx) files [duplicate]

Similar to the question "Latex Editors/IDEs," I'm curious if there are any editors or add-ons that directly support the LaTeX documented source (.dtx) format. I imagine such an editor would support ...
7
votes
2answers
1k views

Showing arrows crossing over or under other arrows in xy-pic without knots

I have an xymatrix in which two arrows cross each other, say \xymatrix{ \ar[dr] & \\ \ar[ur] & } and I would like one arrow to cross over the other. I also want to to be able to do this ...
5
votes
1answer
948 views

Missing footer on first Beamer slide of TikZ example [duplicate]

I'm having problems with this particular TikZ example: http://www.texample.net/tikz/examples/prims-algorithm/ When I change the theme, for instance: \usetheme{Madrid} the footer is not working on ...
4
votes
2answers
204 views

Capturing number of decimals in a macro argument

Unfortunately, in some of our documents we need to print both SI units as well as Imperial units. We have some macros defined as follows: \documentclass{article} \usepackage{fp} \def\GPM#1{#1 ...

15 30 50 per page