All Questions

5
votes
1answer
1k views

A closed degree symbol

How can I make the exponent on gamma in this picture? The best description I can come up with is a closed degree symbol.
10
votes
1answer
4k views

Defining my own description environment

I need help writing my own description environment. The only thing I want to change is the appearance of description label. I can achieve what I want universally just fine with the following bit in ...
9
votes
1answer
9k views

Footer spacing in LaTeX

I have a huge footer in my LaTeX-document (a table I need on each page), but the table is too high to be in the document even though I use \addtolength{\footskip}{-30pt} below that size the footer ...
9
votes
3answers
1k views

Keeping the names of things consistent in LyX.

I'm documenting a software project using LyX and many of the "things" (classes, processes, etc.) that I'm describing don't yet have good names. As my understanding of these things improves, I want to ...
6
votes
1answer
2k views

Ignore Whitespace Within Environment

I'm using the bnf package to format a context-free grammar in one of my documents. I'm finding that any whitespace will be reflected in the output. I would like to keep the whitespace in the code for ...
9
votes
2answers
6k views

How do I use LaTeX to create a table of contents for a set of pdf files which I am merging into a single large pdf?

I have a set of pdf files which I want to merge into a larger pdf files. Each individual pdf file is an article with sections. I am hoping to make the merged pdf file into a book format with each ...
31
votes
3answers
9k views

Can one replace bullet points with graphics?

Is it possible to replace bullet points in an itemize environment with graphics? I can find answers about replacing bullet points with other symbols, but in all the examples I can find, these symbols ...
12
votes
2answers
466 views

How can I make a PDF of the source of pdftex?

I got the files tex.web and pdftex.web from the texlive svn repo. I ran weave tex.web pdftex tex.tex which produced a file tex.pdf with a nicely typeset, cross-referenced listing of the WEB source ...
3
votes
2answers
2k views

Space after closing double quotes in XeLaTeX

I'm writing some non-technical text that I'm trying to typeset using XeLaTeX. For simplicity, I'm keeping the actual text in plain text files which after certain modifications (e.g. escaping %, \ and ...
4
votes
2answers
2k views

gedit [<— missing link? -->] TexLive

following up on a useful question and quite a few answers How can I call TexLive in Ubuntu? my question remains open :-) I write my LaTeX texts in gedit, my base is ubuntu hardy heron 8.04, now I ...
6
votes
3answers
659 views

Stacking two hboxes

I am trying to write the macro \foo{...}{...} that creates an hbox made up of both \hbox{#1} and \hbox{#2}, such that both hboxes are stacked one on top of the other. The width of the resulting hbox ...
10
votes
1answer
643 views

Conflict between steinmetz.sty and cancel.sty. Is there a solution?

The two packages conflict, as can be seen in this MWE: \documentclass{article} \usepackage{steinmetz} \usepackage{cancel} \begin{document} $\cancelto{0}{a+b}$ \end{document} When the steinmetz ...
4
votes
2answers
9k views

LNCS style and proper handling of e-mails

When defining title in LNCS styled paper, one defined author list and links it to the institute list -- yet only one \email clause can be made per institute. Now, the docs are seemingly silent about ...
12
votes
4answers
2k views

Control command arguments

Can I define a command that takes an argument but does not eval the argument?
2
votes
1answer
388 views

Problem with pst-dbicons examples

I am currently trying to get the example of the pstricks dbicons package to work but I always end up with errors. I have tried to compile the mondial example (see dbicons-site, sorry i can only put ...
6
votes
1answer
950 views

memoir: different pagesizes

I am using the memoir class and have my textblock set to a value so there are about 11 words on one line. This is great for the mainmatter of the report. But for some other pages (list of acronyms for ...
9
votes
2answers
7k views

Vertical spacing of framed environment

Here is an MWE that shows the problem: \documentclass{article} \usepackage{framed} \setlength{\FrameSep}{3pt} \setlength{\parindent}{0pt} \begin{document} \fbox{Foo} \fbox{Foo} \begin{framed} Foo ...
28
votes
1answer
769 views

Is there a \die command?

Is there a command that generates the error or warning of my choice? I'm planning to put it in an \ifthenelse, so it can't be a syntax error.
230
votes
3answers
430k views

How to create fixed width table columns with text raggedright/centered/raggedleft?

I would like to create a table with some columns' width specified, while the text in those columns should be centered both horizontally and vertically. I found out that \usepackage{array} \begin{...
30
votes
2answers
35k views

Where is “texmf” on a Windows install?

On UNIX you have the texmf folder in your home directory where you store packages you've installed yourself, but where is that folder on a Windows install? Yeah, I know that if you use MiKTeX then ...
71
votes
1answer
38k views

What is the purpose of \protect? [duplicate]

Possible Duplicate: What is the difference between Fragile and Robust commands? I've never understood the purpose of the command \protect? When and why should it be used?
5
votes
1answer
1k views

What could cause repeated NULL characters in an .aux file? [closed]

I have a LaTeX document that was compiling fine until this evening. I was playing around with synctex and latexmk when I noticed the error, but I'm not sure what is causing it. There are over 100 of ...
13
votes
2answers
3k views

Visualize connection between two slanted TikZ scopes

Using TikZ is it possible to draw a connection between the two green rectangles? The idea is to show that the lower green grid is a more detailed view of the upper one. I'm also open to other ideas ;D ...
28
votes
5answers
9k views

How do I run bibtex after using the -output-directory flag with pdflatex, when files are included from subdirectories?

When I have master pdflatex file which includes one or more child documents using something like \include{include/childdoc}, and I call pdflatex on it using pdflatex -output-directory=out parent.tex, ...
3
votes
0answers
2k views

Declaring environments with xparse [closed]

I'm having trouble with the xparse package's environment creating commands. What I'd like to do in the end is write my own list environment. The toy example below shows my current problem: the list ...
9
votes
2answers
1k views

Squiggly line in Asymptote

A somewhat similar question to this one, but in a different language for graphics: Is there a simple way to draw a squiggly line in asymptote?
22
votes
2answers
1k views

Check if an entry is cited multiple times

I am trying to find out whether it is currently possible to have a test in Biblatex that tests at the very first time an entry is cited whether the same entry will be cited more than once in the ...
14
votes
2answers
9k views

Squiggly arrows in tikz

Is it possible to get a path in tikz that looks like \rightsquigarrow?
61
votes
3answers
168k views

Add notes under the table

I'm using the latex package apa6e because the apa package isn't using APA style version 6 yet. Now I'm trying to add a table with notes right underneath it, like in this table for instance: Since ...
3
votes
1answer
3k views

Adding language to MiKTeX installation

My native language is Serbian and it is included in MiKTeX distribution for Windows. However, there is only latin version of it, and I'd like to use cyrillic Serbian. I tried searching the Internet ...
6
votes
1answer
270 views

Asserting reference inequality

Is there a way for including assertions in a LaTeX document? I want to check that some condition is true, and only allow compilation of the document if it is (or at least complain otherwise). ...
160
votes
3answers
60k views

Which tabular packages do which tasks and which packages conflict?

I've read a couple of questions recently about tabular environments, and it seems there's a whole bunch of packages that do stuff in this field. I'd really like a summary of what each package does, ...
2
votes
1answer
2k views

Right margin discrepancy between framed and fbox/minipage

Here is an MWE which shows that something is weird in the framed package. \documentclass{article} \usepackage{lipsum} \usepackage{framed} \setlength{\FrameSep}{3pt} \setlength{\fboxsep}{3pt} \begin{...
180
votes
4answers
31k 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 ...
8
votes
2answers
551 views

Tajik language in LaTeX

My question is about adding a new language into LaTeX: the Tajik language. There is Russian language support in LaTeX and Russian is written using a modified version of the Cyrillic alphabet. Tajik ...
5
votes
1answer
2k views

Using mathdesign's math font with another text font

Is it possible to use a math font provided by the mathdesign package for mathematics, along with another text font, under pdflatex ? If it is, is there an easy way to do it ? More precisely, I try to ...
14
votes
3answers
3k views

How to use siunitx and tabularx together?

I'm using the tabular features of siunitx (for what it is worth: v1.3 since I'm on TexLive 2009) to align numbers in tables, eg. \begin{tabular}{ p{1.5cm} S S S } bla & 1.23 & 4.5 & 67.89 ...
27
votes
2answers
7k views

How do I do a one-shot MathOperator?

The amsmath packages helpfully define a macro \DeclareMathOperator which does what it says on the tin: it declares a mathematical operator such as \sin or \Null or whatever and typesets it all nice ...
5
votes
3answers
479 views

How can I align numbers in equations?

What is the best way to produce the following: (Image shows a typo)
3
votes
1answer
5k views

Grid to facilitate positioning of objects with \put in beamer

In presentations with the beamerpackage I use \put a lot to place graphic objects like this: \newcommand{\putat}[3]{\begin{picture}(0,0)(0,0)\put(#1,#2){#3}\end{picture}} % just a shorthand \putat{...
9
votes
1answer
492 views

What is the difference between the combination of split inside equation* and align*?

What is the difference between the combination of split inside equation* and align*? \begin{equation*} \begin{split} A &= B+C\\ &= X+Y \end{split} \end{equation*} \begin{align*} A &...
17
votes
1answer
1k views

How to change the catcode in a macro

I want to change the catcode in a macro, but it seems it doesn't work. Can anyone help me? \def\A{\catcode`\|=0 |bf{test}} |bf{test} would not work as expect.
20
votes
3answers
23k views

TikZ add frame to a picture

I want to add a frame to a picture. i start to draw the picture by tikz. after drawing, it is the time adding frame. now, how can i know the following two points to add the frame, assuming that frame'...
46
votes
1answer
7k views

How can I make a package that accepts an optional argument?

I am writing a package that has a bunch of values that are going to be the same most of the time, but that I might want to change in select cases. I want to do this by giving this package an optional ...
6
votes
1answer
812 views

How to insert an image into a two-column document such that the text flows from TL, BL, TR and finally BR?

I don't like the following: I want the following: Code: \documentclass[demo,12pt,a4paper]{article} \usepackage[margin=2cm]{geometry} \usepackage{multicol,lipsum,graphicx} \title{Foo Bar Baz} \...
6
votes
1answer
2k views

How to use \autoref to create a page link?

I am using the hyperref package and want to use the \autoref{} command to output the page of the referenced label (similar to \pageref{}). The label is not inside a figure, equation, etc., so by ...
9
votes
2answers
10k views

Multi-line equations with explanations on some lines

I would like something like this: STH = STH REASONS Explained. = STH LOOOOOOOOOOOOOOOOOOONG REASON = STH. How can I do this?
16
votes
5answers
7k views

Which font(s) provide for good readability while being economic?

The best readability means the readers feel comfortable when reading the document. The most economic means the printing needs the lowest cost for ink. Again, which font provides the best readability ...
5
votes
1answer
217 views

Slashed characters in ConTeXt?

In LaTeX there is a slashed package which will put a nicely centered slash through an arbitrary symbol - the \not command provides an off-center slash on most symbols. How can I do this in ConTeXt? ...
6
votes
1answer
277 views

Is there a ConTeXt version of the LaTeX lefteqn?

What I want is to be able to set up equations like this: a very long first expression = the second line = and a third line = and maybe even a fourth In LaTeX, this would be ...

15 30 50 per page