All Questions

3k views

How can the \textmu symbol be used in math mode and resize correctly?

I wish to use an upright mu character in various places in my document, and so I've put the following in my preamble: % textcomp, for its upright mu \usepackage{textcomp} % some user macros ...
219 views

What is the “simplest” to install restructured-text to TeX software (for windows)

I am looking for a simple software (for windows) that can turn the reStructured-text format into TeX. "Simple" to install means that you can basically unzip a file with the software, and you could ...
169 views

In a tabular, how do I reduce the vertical space in a wrapped text?

In a tabular, I am using the commands that allows you to wrap your text: \begin{tabular}{m{5cm} m{13cm} m{5cm}} but I would like to change the vertical space between the different lines of the ...
3k views

Is there a package that provides graphing in the style of Ed Tufte?

I have recently started using the tufte-latex package for various science writing and, while I love the package generally, am dismayed that it does not include the ability to produce graphics (charts, ...
580 views

How to make Bourbaki's style remarks

I like my remarks comes in the fashion of Bourbaki's. Lines and the "Remark" are indented inwards equally, and the font is one size smaller. I used these simple lines of code: ...
2k views

\input{…} is ignored with beamer option ignorenonframetext

I'm using beamer to create my slides and wanted to use beamerarticle to create written paper which is not just printed slides 3 on 1 page. The option ignorenonframetext for the beamer class forces it ...
1k views

sectionbib option for natbib doesn't work with scrreprt

The natbib package has an option sectionbib, that causes the bibliography to be typeset as an unnumbered section, as opposed to the default unnumbered chapter. However, when using the scrreprt class, ...
297 views

Create arbitrary sorting of index entries

How does one go about setting an arbitrary sorting order in an index? For example, I would like to create an index of citations to Roman and canon law, which should not be sorted alphabetically. ...
692 views

What are the different applications of LaTeX?

I am in the research field and am new to the world of Tex and find it really fascinating. I never knew about this, until I was asked to write my research results as tex files, that is in the LaTeX ...
4k views

Problem using package acronym

I am using acronym package to create the list of Acronyms. I am using Acronym1.tex containing the definition of all the acronyms. However here is the list of problems I am facing. I have to sort the ...
5k views

pgfplot: Customize the axis wide scientific notation multiplier

Hy Guys, I'm experiencing two problems with ticklabel formats. First, if I explicitly set scaled y ticks = true, the base ten notation still appears at every tick. Here's the diagram: Here the ...
606 views

Visualization backend for simple diagrams

Could someone recommend a solution for coding this kind of diagram into a TeX document? Background: Looking for further ways to make everything in my papers replicable or at least communicable in ...
1k views

Letter prefix for “sections”

Between chapter and section level I sometimes need another level, which is indicated by a letter prefix. The table of contents might look like this: 1 1.1 1.2 2 A.2.1 A.2.2 B.2.1 B.2.2 3 3.1 Now I ...
5k views

Aligning pseudocode in LaTeX

My algorithms class is following strict guidelines for pseudocode. Let's say I have something like the following: y = 0 for i = n downto 0 y = a_i + x * y I want this to appear left-aligned on ...
3k views

How to zoom a portion of TiKZ picture?

I want to draw a small rectangle within a tikz picture, then zoom it out somewhere. I skim through the PGF manual but I couldn't find a way to put the logic together. So far I've just drawn the ...
959 views

How to fix the location of tables when they're imported with \input? [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I'm using MiKTeX and TexMaker 2.2.2. Using the latabstat command in Stata I create small tex files of some ...
5k views

How do I speed-up latex compile time? [duplicate]

Possible Duplicate: Speeding up LaTeX compilation Currently am using Miktex and TexNicCenter to create pdf files including vector(.eps) and raster(.png) images. Compile time is about 6 ...
4k views

1k views

Sweave generating invalid LaTeX

I've encountered a problem when I'm using Sweave to convert an .Rnw file into a .tex file. Sweave is replacing three options from hyperref's \hypersetup block with the value NA. This is the section ...
3k views

How to get marginnote to use the whole margin space?

I'm typing up a document where I'd like to add notes to myself on the side margin. I'm using marginnote and using the geometry package for specifying customized margins, I've allocated 5 cm for the ...
750 views

Vertical spacing issue on box

I'm trying to get the resheading box to be shorter in vertical space. Right now it appears that I have about 2 cm vertical space on the top and bottom of the text. How can I fix this? Everything I ...
7k views

ToC numbering problem

My LaTeX document is acting strangely. Here is a simplified version of it: \documentclass{article} \begin{document} \tableofcontents \newpage \addcontentsline{toc}{part}{A Part of My Document} ...
2k views

Undocumented useful commands in Tikz

\tikzstyle{...}=[...] This command seems to be extremely useful since it allows to re-use the same style in multiple TikZ pictures. Is is used in a few places in TikZ manual (pgfmanual.pdf), but ...
240 views

Differences in texlive implementations

I run the same input file in two computers, one having TeX Live/Debian under Ubuntu, the other with TeX Live/opensuse under SUSE 11.1. The second one fails to handle the file properly. In ...
701 views

Using \nameref within \path

Background Looking to apply a consistent style to file and directory names. The book's appendix has a subsection for every file referenced by the book. Every subsection has a label whose value is ...
1k views

Reduce line spacing in minitoc package

I am using the minitoc package to add chapter TOC's in a thesis. The entire document (including the main table of contents) is doublespaced, but I want the chapter toc's to be single spaced. I specify ...
21k views

Fit a table into one page

I have a table that is very wide. Now I want to force it into one landscape page. I already set the page orientation to landscape but now I don't know how to force it into one page with scaling. Any ...
264 views

TeX evaluates 'document' code in preamble

I have the error ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.30 \AddDemo{text}{Sample Text} in ...
896 views

Why do we need eleven expandafters to expand four tokens in the right order?

In Appendix D - Dirty Tricks Knuth gives an example of expanding four tokens in the right order by using eleven \expandafter commands. Here, is the code slightly adapted for to-morrow! ...