6
votes
2answers
6k views

How do I change the math italic font in XeTeX/fontspec?

I have a document where the main font is Gotham Book. So in my preamble I have: \usepackage{fontspec} \setmainfont{Gotham Book} As the fontspec manual describes, this sets the math roman font to ...
5
votes
2answers
5k views

Access the chapter/section number and the chapter/section label through variables

Often I find myself in the situation that I'd like to design how chapters and sections look. I know there are packages that help to design such things, but non of them seems to give me the option to ...
3
votes
1answer
329 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 ...
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?
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 ...
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 ...
2
votes
1answer
479 views

RTL captions with newfloat?

Is it that the float package begins to show its age? I cannot get it to work right with XeLaTeX. Here is an example: \documentclass{article} % compile with xelatex \usepackage{float} ...
1
vote
2answers
751 views

\int does not work on my LyX

Just starting to use LaTeX to type up my homework. I am doing differential equations right now and I have to type in an integral symbol. However when I do that, and try to make a DVI, LyX gives me ...
26
votes
3answers
67k views

How to do the 'curvy L' for Lagrangian or Laplace Transforms?

I am new to TeX, working on it for about 2 months. Have not yet figured out how to script the 'curvy L' for Lagrangian and/or for Laplace Transforms. As of now I am using the 'L' - which is not good! ...
7
votes
4answers
5k views

LyX enumeration style from numbers to letters

I'd like to use, for this specific instance, letter style enumeration [ like a) b) c) ] . I realize that I can nest one enumerate environment in another and the style will change, but I don't want a ...
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. ...
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 ...
5
votes
2answers
1k views

Problems with pictures in multicol

I am writing a short article for a magazin and want to have a two-column text. Since the header is supposed to be centered, I decided to use the multicol-package. This is my header: ...
8
votes
1answer
972 views

How to make landscape mode rotate properly in a twoside book?

How can I use pdflscape (or some other?) package in a twoside book so that landscape mode is always rotated so that top of the page points to the middle of the book? By default it seems landscape mode ...
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. ...
4
votes
2answers
7k views

Accessing section or subsection

To access a section (or subsection), should I always put a \label after that section or is there any way to access that specific section without using \ref in another place?
9
votes
1answer
2k views

Using infer from the proof package?

I am using the \infer command from the proof package. Few things that I am trying to do unsuccessfully: How can I have some space between the elements of the proof? such as space between x and y ...
13
votes
2answers
561 views

Document configuration via tags or labels?

This question led to a new package: tagging I'm trying to work out options for configuring a large memoir to multiple audiences via multiple editions. Obviously one method of doing this is by ...
2
votes
2answers
2k views

Tkz-fct Package Error — I can't find file `tikzlibrary'.

I tried to install and use the new Tkz-fct package. The installation was OK, MikTex Package Manager says that I've successfully installed the package but if I try the most easy example from the ...
13
votes
1answer
1k views

Two types of footnotes

Sorry for asking so much questions. And I think this one is pretty easy I just don't know how. I would like to use two types of footnotes in my document. The regular \footnote using the arabic ...
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 ...
10
votes
2answers
21k 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 ...
23
votes
9answers
5k views

TikZ: changing colour of a path half way along

Here's the problem: \documentclass{minimal} \usepackage{tikz} \begin{document} \begin{tikzpicture} [scale = 3, foo/.style={line width = 5pt}] \draw[foo,red] (0,0) -- (0,1); \draw[foo,blue] (0,1) -- ...
3
votes
1answer
375 views

Problem with parbox using pstricks and ticket package

I'm trying to make cards for a game. I have a problem with \parbox. It's working ok only if the \parbox in the previous picture is empty. If it's not the contents of \parbox are shifted down. Here ...
17
votes
4answers
15k views

My pixel perfect picture gets blurry when compiled in LaTex

Here's my problem. I have this picture: http://dl.dropbox.com/u/3394117/Temp/fig1.png (I have the original in Pixen and could export it to several different formats. I went with png though since it's ...
20
votes
4answers
7k views

Quickest way to include graphics

Whenever I make a presentation with LaTeX, it takes me a long time to include the graphics in the way I want them to look. I start with \includegraphics{foo.jpg}, run pdflatex to see what it looks ...
20
votes
3answers
20k views

1st, 2nd and i-th?

Assume I wish to refer to the i-th object, or the n-th function out of some set, where i and n are letters and not numbers (as in "Multiply the $j$th row with the $i$th column and store the result in ...
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 ...
9
votes
4answers
648 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?
12
votes
3answers
872 views

Macro for week number

Is there a macro or package to calculate the ISO week number or alternative can someone help me with one?
3
votes
1answer
595 views

Is there a way to change the appearance of LyX output with change tracking (or alter the commands in LaTeX)?

I tend to use LyX for composing scientific papers, but a journal wants me to have changed text marked in specific ways that don't happen to be the way that LyX translates tracked changes into PS/PDF. ...
20
votes
3answers
9k views

How to remove the self-reference of the ToC from the ToC?

I'm having a very weird problem. The following example should illustrate it quite right. \documentclass[a4paper,12pt]{memoir} \begin{document} \frontmatter \tableofcontents \clearpage ...
7
votes
2answers
2k views

CircuitTikZ - Combine Tripoles with resistors

I'm just learning how to use CircuitTikZ to draw circuits, and I am trying to draw a good looking BJT biasing circuit. But I am having making the resistors across from each other look even, and since ...
31
votes
4answers
5k views

Free ornaments font

I'm looking for a free ornaments font. I know about webomint and pifont. Where can I find more glyphs?
21
votes
1answer
1k views

Beamer reflections with pgf/tikz

I want some nice reflections in my slides. Something like the ones seen in Jobs Keynotes. Suppose you have multiple elements in the tikz picture and you want to reflect the whole thing with fading. ...
11
votes
1answer
1k views

Biblatex custom cite command

I recently started using biblatex and I'm looking for some custom cite commands. The \footfullcite takes up too much space so I wanted to create some \footcite command myself that would only produce ...
5
votes
2answers
491 views

Robust method to apply Hebrew numeral in an enumeration list?

The difficult bit is that the enumitem package has a closed list of numbering formats, and that \hebrewnumeral is not part of them. I have \renewcommand{\theenumi}{\hebrewnumeral{\value{enumi}}} ...
3
votes
1answer
585 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} ...
23
votes
1answer
7k views

Underfull \hbox in bibliography

I am getting lots of "Underfull \hbox" warnings that point to the *.bbl file. It looks like these messages appear only when URLs are very long, like in the below example: @techreport{nistguidesec, ...
6
votes
4answers
761 views

Mathematical typesetting requirements

I'm not really sure if this is the right place to ask this, but given the seemingly large concentration of mathematicians, and the tangentiality to TeX, I'll just ask here: what are the mathematical ...
49
votes
2answers
5k views

What is the basic mechanism for writing something to an aux file?

I am interested in the basic mechanism behind writing stuff to the .aux file. (Or some other auxiliary file). Let's say I want to write myself a basic package for making notes on my files. (I know ...
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
440 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
1answer
482 views

Recommendations for partial contents page arrangement in memoir

I'm writing a moderately large reference work using memoir. As it falls naturally into parts by audience, I'd like to include partial tables-of-contents, by part. I have managed to get my head round ...
7
votes
3answers
745 views

Wrap text around symbol

How is it possible to wrap text around a symbol? This is my code so far: \documentclass{report} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{xcolor} ...
4
votes
2answers
3k views

Custom itemize environment which takes color as argument

Using beamer, I would like to change the color of the itemize bullet according to a passed argument, something like \begin{myitemize} \item[red] no \item[green] yes \end{myitemize} Is ...
8
votes
2answers
19k 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 ...
29
votes
12answers
2k views

What would you like to change about TeX/LaTeX/XeTeX/etc.?

Like the title says, is there anything about the system you're using that you would like to change? Some annoyance that should be fixed, some feature that could be improved or added?
7
votes
2answers
6k views

List of figures with sources

What is the best way to place the source of images in my document? I have some images and they are shown in the \listoffigures like expected, but how can/should I point out where they come from? ...

15 30 50 per page