# All Questions

2k views

### Natbib and Chicago

What's the quickest way to adopt the Chicago style for the bibliography (assuming natbib is used)?
8k views

### Formatting table

I have a table that is created with the following code: \begin{table}[htdp] \caption{Comparison of Elements in Air on the Space Station and sea level on Earth} \centering \begin{center} ...
4k views

### What is the proper way to cite a legal document?

I need to cite some decrees in my essay for philosophy of science class. I believe it is a common problem, so there should be a standardized way. Thanx.
12k views

### Label plots in pgfplots without entering coordinates manually

I like to label my plots directly, i.e. without using a legend, but instead using a pin node. So far, I have added the labels with manually specified coordinates, which means trial-and-error for data ...
203 views

### Biber: Does it really need incoming connection ?

My windows 7 warned me that biber.exe tried to establish incoming connection. I wonder why biber would need it? I blocked the connection for a while.
669 views

### Whitespace in memoir titles

I am unhappy about the whitespace before and after my chapters, sections, and subsections etc. Using the memoir class I tried to find out on how to reduce this. For my chapters it says I should use ...
220 views

### Overlapping material

In another question, Harald showed how to make vertical leaders. Armed with this knowledge, I set sail to answer another question, but as I've tried to put such leaders into a page with other material ...
996 views

### biblatex, [AuthorYY] citations instead of numerical citations like [5]

I'm using biblatex and I would like citations to have the form [AuthorYY] instead of [number]. How can I do that?
1k views

### Iterating through two lists

I have two comma delimited lists: ListA(a,b,c,d,e,f,g) and ListB(name1,name2,name3,name4,name5) I would like to iterate through both lists at the same time, something like: loop readvalue ...
11k views

### Reference to a table before it appears

I want to reference a table before it appears.The TeX code is pasted below \documentclass{article} \begin{document} The results given in Table~\ref{tab:a} show the performance of the class. ...
7k views

### Biblatex: submitting to a journal

Suppose that I moved from BibTeX to biblatex. With BibTeX I just copied the content of .bbl file into final version of my paper before submitting it to a journal. What should I do at same stage having ...
2k views

### Naming LaTeX files: best practice?

What's the best practice for naming LaTeX files? I know R, Matlab, and Java all differ in their use of ., _, -, camel case, capitalization, etc. What do people generally use for naming LaTeX files? ...
343 views

### LaTeX equivalent to R's ProjectTemplate package? [closed]

The post LaTeX project file system structure has helped me a lot in organizing my LaTeX projects. This got me the thinkin': the R package ProjectTemplate allows the user to build an R project ...
2k views

### LaTeX templates bundled with MikTeX or elsewhere?

Q: Where can I find generic LaTeX document templates (e.g., for the article, book, etc., classes)? Are there any bundled in MikTeX? Elsewhere? I've found a number of posts answering this question for ...
3k views

351 views

### Include source text from URI (e.g., Wikipedia)

Background Wikipedia content is reasonably current and free to use. Consider the tabular content at: http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java Problem Copying ...
409 views

### ConTeXt - indented table, but horizontal rules go to left margin

This will be my last ConTeXt question for a little while...I've set up \setuptabulate[indenting=yes,margin=40pt] This works only to the extent that the table cells are indented appropriately - but ...
2k views

### How to switch from using color graphics to grayscale graphics?

What is the easiest way to switch from a document with color graphics to one with grayscale graphics? I have various fig/ directories that contain my color graphics, and I already have corresponding ...
3k views

### Extra vertical space between aligned equations in ConTeXt?

In LaTeX, I can use \\[3mm] for example, to put extra vertical space, if I think it will improve the readability of displayed, aligned equations. And in fact I find I do this quite a bit. But what ...
2k views

### Cases with square brackets

How can I subdivide in cases with square brackets? I mean I want to write: ⌈ 2_i if ... rank (q, l) = | 2_i + 1 if ... ⌊ .... with square brackets, not ...
215 views

### How do I have all section titles, etc bold-faced, in ConTeXt?

I'm just experimenting with ConTeXt. At the moment, all my \section and \subject headings are appearing in large type. But I'd like them (and the \section numbers) all in bold-face. I've tried ...
795 views

### Protrusion of fractions in tabulars

I have a number of tables in a book that I am busy with that have quite a few tables of the general form shown below: If you notice the fractional part of the numbers 5 1/2 and 16 1/2 protrude to ...
162 views

### Equation name display, not equation labeling/cross-referencing or equation tagging

Is it possible to display an equation name similar to theorem name displays: \begin{theorem}[Convergence of Cauchy Sequences in $\mathbb{R}$] Every Cauchy sequence of real numbers is also a ...
3k views

### \underbrace{} choppy

Why are my underbraces so ugly? I've tried a few different fonts for the document and it appears it is font that determines the underbraces appearance. I however don't want to change my font. How ...
832 views

### Refactoring TeX/LaTeX code

Below is some shortened version of some code I wrote that can automatically format a number from decimal to scientific notation. I have been using it for some time now and have a few ideas how to ...
9k views

### TeXworks can't compile any .tex document

I've just installed TeXworks on new computer (with ubuntu 10.4). It seems all required texlive packages are installed, in any case I can compile .tex documents using terminal. But in TeXworks while ...
1k views

### Make pgfplots typeset axis units as reciprocals using siunitx

pgfplots has a library units that allows to typeset units in axis labels provided through x unit=<unit>. Through the key \pgfplotsset{unit code/.code={\si{#1}}}, it can be made to typeset the ...
361 views

### What is the intelligent way of setting the text width for a specific theorem in \newtheoremstyle?

I'm using a \newtheoremstyle to generate a \newtheorem called Example. However, I want the Example (the theorem) and the text, everything, to have a smaller text width than the normal text, and I ...
1k views

### Stretching a framebox over the whole page

Does anyone know how to stretch a (framed) box down to the end of the page? In effect something like \documentclass{scrartcl} \begin{document} sometext ...
2k views

### How to split the bibligraphy into two with different bibnames?

I'm using texclipse with MiKTeX 2.8. For my thesis I need to split my list of references into two parts: literature and online sources. I've so far: \usepackage{url} \usepackage{harvard} ...
3k views

### Babel (French) does not translate the theorem environment in Beamer class

I'm using the beamer class, with the following preamble: \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{ae,aecompl,aeguill} \usepackage{amsthm, amsmath, ...
560 views

### TikZ option for command or environment

I am learning TikZ. I am wondering where I can find information about options of command or environment. For example, for \draw, you can use \draw[step=0.5], but it also has ...
12k views

### Smaller font size of the algorithm description?

\small or other tag seems can not change the font size of the line number. The package I use is \usepackage{algorithmic}.
2k views

### TikZ copy command

Does TikZ have a copy command? the copy command means, e.g., I draw a rectangle first, then I draw whatever e.g., circle, writing text etc. in the rectangle. let me define a source object that ...
32k views

### How do I install CTAN packages on Mac OS with TexShop?

I run TexShop on my Mac OS 10.6. I'd like to install new packages like this: http://www.ctan.org/tex-archive/macros/latex/contrib/listings/ How do I install it? I've downloaded the zip file.
6k views

### Slide ticker in beamer presentations

I am using 'beamer' for presentations. I have a Main Titles and a few slides under each. For example, Introduction has 4 slides Methods have 5 slides. I want to put kind of a ticker at the top of ...
2k views

### Palatino displays wrong opening quotes

I've just started using Palatino for my documents, and I've realized the opening quotes are all rendered as closing quotes. As per the question What is the best way to use quotation mark glyphs I use ...
922 views

### Crossrefs not showing up in bibliography with biblatex

I'm using BibDesk for mac (just a front-end for creating and maintaining a BibTex file) and BibLaTeX-mla. The problem I'm having is that as long as I'm setting BibLaTeX to style=mla, then the citation ...
4k views

### TikZ \foreach loop with macro-defined list

I have a small problem with the TikZ \foreach loop whenever the list, over which we loop, is defined my a macro. The following code example will show my problem: \documentclass{scrartcl} ...
1k views

### Add label to flowchart nodes

I need to add a "label" to nodes in a flowchart with tikz, preferably in the top left corner. See picture: the text in red is where I need it. This is because each block should have a "label" so I ...
295 views

### Automatically avoid broken internal hyperlinks

I am using pdftex and the hyperref package. I have a number of automatically generated \hyperlink{<label>}{<text>}, which point to other automatically generated ...
831 views

### Abbreviations and full stop--how to avoid double dots?

I have trouble with macros expanding to an abbreviated expression. Say I have \WHP which expands to "with high prob." (artificial example). I want to avoid the dot after the abbreviation colliding ...
376 views

### Making mathmode obey spaces

I know this is kind of blasphemic thing to ask, but is there a way to make mathmode obey spaces? Preferably in Plain with XeTeX.
725 views

### What's the folk-lore on automatic testing of TeX programming?

Say you write a macro or a package, which goes through the usual course of software life-cycle. How would you define a set of tests, and have this set run automatically to make sure that changes to ...
1k views

### codecogs like software/ IDE/ LaTeX environment ?

I have been using the website, codecogs for mathematical equations - and it is wonderful for a noob like me. However, I wish to avail of such support when I am offline, is there similar facility for ...
400 views

### References to lists in theorem-like environments/writing # symbol to files

A little warning in advance: This will be quite lenghty. I spent quite some time over the last few days trying to solve the following problem: I'm typesetting mathematical lecture notes and have used ...
2k views

### Is biblatex compatible with RevTeX?

biblatex seems to be not compatible with RevTeX. As RevTeX automatically loads natbib, I load biblatex with the option natbib=true, but still LaTeX compiler complains that lot of commands are already ...
1k views

### How to avoid double dot in Theorem Head Spec in case of theorem with no name?

I'm using the \newtheoremstyle{name} command to generate a specific theorem head spec in the form of: {\thmname{#1}\thmnumber{ #2}.\thmnote{ #3}} where #1 is Theorem, #2 is 'the theorem number', ...