2
votes
1answer
891 views

BibTeX Error Message

I am running LaTeX on a Mac and am getting the following error message when I run BibTeX: White space in argument---line 19 of file file.aux : \bibdata{\protect : \unhbox \voidb@x ...
3
votes
1answer
424 views

Using counter values as part of style name for plots

I figured I should be able to give a bunch of line styles and access them using counters. Sure enough, this works out fine; this document \documentclass{article} \usepackage{tikz,pgfplots} ...
14
votes
2answers
178 views

Can I get at stuff in “current page” or “recent contributions”?

When I compile the following, \documentclass[a4paper]{article} \usepackage{atbegshi} \AtBeginShipout{\showlists} \showboxdepth\maxdimen \showboxbreadth\maxdimen \usepackage{lipsum} ...
5
votes
1answer
2k views

multi-line text for brace decoration in tikz

I'm trying to make a time-line with events by means of tikZ. Everything is going fine, I found (here) some nice examples and explanations but... I do a brace decoration for my time-line which has long ...
10
votes
1answer
588 views

How do I add accented characters to PDF info without using hyperref?

Using pdflatex, I'm looking to add PDF information into by document, including an accented name (Rónán Daly). Normally I'd use hyperref to do this; however, the conference I'm submitting to is ...
24
votes
2answers
18k views

Need smaller than \tiny

I use the following to reduce the size {\tiny $$ \begin{array}{|c||c|c|c|c|c|c|c|c|c|c|c|c|} but it is still too large. How can I further reduce the size?
4
votes
1answer
623 views

How to modify just some nodes' styles in chemfig

In the following molecular drawing, I want to only circle the rightmost OH of the first molecule and the leftmost H of the second, to show that they are the ones that are involved in the formation of ...
0
votes
0answers
57 views

Print margins of a document [duplicate]

Possible Duplicate: margins of book class Suppose I have a tex file with uses some document class and some packages which might control the margins of the document hidden to me as user ...
17
votes
2answers
535 views

PGF Keys differences between .initial and .default

I am not too sure just by reading the manual as to the subtle differences between the .initial and .default PGF key types. Can someone explain and demonstrate the differences with a minimal example?
3
votes
1answer
1k views

Problems building article with oolatex and hyperref [duplicate]

I'm getting into a bit of trouble, trying to convert a Latex article to OpenOffice. First of all, I'm using Ubuntu 11.04, with a texlive 2011 installation (installed via tlmgr). EDIT1: There is now ...
3
votes
2answers
2k views

Two pictures and text on one page

I got the following problem: I want to have two pictures at the end of a subsection just before the next subsections starts. I tried it with: \begin{figure}[ht] \centering ...
9
votes
3answers
318 views

Hyperref is loaded by the class, and I need to load packages that are supposed to be loaded before

I am using the lipics documentclass, which loads hyperref. Since I want my figures boxed, I added the following \usepackage{float} \floatstyle{boxed} \restylefloat{figure} The problem: I receive ...
3
votes
1answer
379 views

empheq conflict with ntheorem?

I am trying to use the empheq package as indicated here. But I am seeing some problems with where the tags to the equations are placed, since my document also uses the ntheorem package. (Remark: the ...
11
votes
2answers
1k views

Media9 and Flash-free OS environments

I've been using Movie 15 to create narrated PDF files. Works well in Adobe Acrobat and may soon work on the iPad, too (pdf readers there are promising to handle embedded sound). But Movie 15 is now ...
0
votes
1answer
796 views

Why doesn't the first column wrap text to its width?

I have the following code \documentclass[a4paper, 11pt]{article} \usepackage{multirow} \begin{document} \begin{tabular}{|p{2cm}|p{6cm}|p{1cm}|p{1cm}|p{1cm}|} \hline \multicolumn{2}{|c|}{} & ...
2
votes
1answer
611 views

Why sidebar TOC lists a section with \paused items many times?

I'm trying to create my own theme, but as a newbie I have encountered few problems which I wasn't able to solve... I'm using \useoutertheme{sidebar} option and it automaticly creates TOC with ...
7
votes
3answers
1k views

A set of equations, vertically aligned, individually tagged, with subequations, and separate label

Can the following be achieved using just amsmath and mathtools? (If not, what other tools do I need?) I have a collection of equations \begin{align} A &= B \\ C &= D \\ E &= F ...
71
votes
2answers
32k views

Do I have to care about bad boxes?

When I compile my PDF from LaTeX source, do I have to care about all the messages (currently 28) about 'bad boxes'? The PDF seems fine to me.
11
votes
1answer
1k views

Ligatures in figures and pdftex

In the following example, the 'ff' ligature in the figure labels (in 'differential') disappears when pdflatex is used, but the fault does not occur if latex-dvips-ps2pdf is used instead. Both lualatex ...
10
votes
2answers
224 views

Execute non-expandable code inside a tabular environment

As there is no Expandable version of \InputIfFileExists or \IfFileExists, the question arises whether it is possible to execute non-expandable code in a tabular environment after all: File main.tex: ...
80
votes
4answers
21k views

A simpleton's guide to (…)TeX workflow with emacs

Progress Report Four months on, I thought it a good idea to "report back" here, and I wrote something. Then, I had better thoughts and turned it into a blog post. You can read it on the TeX.sx blog. ...
12
votes
1answer
498 views

Old-style figures: Use in references/brackets (e.g. to equations, bibliography) or not?

In my documents I usually use old-style figures for "non-mathematical" numbers. By this I mean for example dates, page numbers, telephone numbers and the like. For tables, results of equations etc. I ...
4
votes
1answer
251 views

Iterate over all defined PGF keys

Is there a way to iterate over all PGF keys that have been defined previously? My idea is to capture the value of all keys in order to do Proper nesting of tikzpicture environments: Reset all PGF ...
17
votes
3answers
2k views

Expandable version of \InputIfFileExists or \IfFileExists

From this question: Cannot use \toprule when doing \input inside tabular -- why? I know that everything inside the tabular environment should better be expandable. The MWE below suggests that ...
8
votes
1answer
7k views

How to label a line created with draw command

I have the following: \begin{tikzpicture} \matrix (m) [matrix of math nodes, row sep=1em, column sep=3em]{ \quad & a_1 & \quad \\ b & a_2 & \{ a_1, a_2 \dots a_n \} \\ ...
14
votes
1answer
16k views

How to disable initial view of PDF bookmarks panel?

The hyperref package automatically creates a list of PDF bookmarks, and it configures the PDF to have the initial view display the bookmarks panel, at least in Foxit Reader and Acrobat. To see the ...
21
votes
2answers
16k views

Good monospace font for code in LaTeX?

I'm currently working on my dissertation and am using Palatino for text with the Euler font for mathematics. As part of my work I'll be presenting quite a few code examples, and was wondering if ...
25
votes
3answers
17k views

Explicit space character?

I'm wondering about the best way to do an explicit space character (I don't even know what it's properly called), like the ones you get in the \begin{verbatim*} environment. The closest I've found is ...
4
votes
2answers
565 views

ConTeXt center tabular

In ConTeXt, a tabular environment evidently does not behave a centered context. e.g.: \startalignment[center] \starttabular \NC item one \NC item two \NC\NR \NC item three \NC ...
3
votes
1answer
522 views

Getting errors when using the grammar environment before \chapter{} and \begin{description}

I hope you can help me. I am using an empty grammar environment, included in the syntax package, within a file called appendix_c.tex, whose contents are as follows: \chapter{Modified version of the ...
2
votes
2answers
2k views

How to go to the previously viewed page in various PDF viewers, e.g TexWorks'?

Suppose my PDF document is produced by pdflatex and while viewing the document I follow a link and go from A to B within the document. How do I go back from B to A? In other words where is the ...
19
votes
4answers
39k views

A better \pm symbol

I am looking for an alternate to the \pm symbol, and wondering if I am the only one bothered by it as I see that this has not been asked yet. I have attempted to define one using my standard ...
10
votes
2answers
984 views

Section should automatically start new page if the whole section does not fit on current page

I would like my sections to start on a new page if they do not fit on the current page. In other words: if a section fits on the current page print it, if it does not fit start printing it on the ...
7
votes
1answer
1k views

Captions for tables included via pdfpages

I have a large number of multipage longtables as independent pdfs. I am including these pdfs in my main document using the pdfpages package. My code for including the PDFs currently looks like this: ...
14
votes
2answers
5k views

Arrows at right angles on a tikzpicture matrix

I'm trying to do something pretty simple but haven't been able to find an answer so far. I have a flow chart and I want to draw straight arrows at right angles instead of 'bent' arrows, inside of a ...
11
votes
2answers
831 views

How to emulate \url hyphenating without using the url package?

I'm forced to avoid the url package in a proceedings paper (!) but my bibliography includes a long URL. I already \newcommand{\url}[1]{{\tttext{#1}}} but the URL spills over to the margin as it ...
8
votes
3answers
3k views

LaTeX techniques and templates for writing a book [closed]

I am about to write a couple of books using LaTeX. I am fairly used to producing small LaTeX articles using Sweave and R, but I have never written a book using LaTeX and I am not conversant with the ...
9
votes
2answers
240 views

Not display the content of one environment when its content contains one special macro

I need to build one environment for proofs in my lessons. \begin{proof} ... \end{proof} This environment could have one content containing one macro named \lines like in the following example. ...
23
votes
4answers
753 views

Is there a special hyphen-symbol to be used between capital letters?

In words consisting of small letters, the - hyphen seems right. In words (abbreviations, acronyms) consisting of capital letters, the common hyphen appears (at least imho) to be placed too low and to ...
6
votes
1answer
334 views

\foreach with indexed names of curves

I am constructing several curves, which are all constructed differently, but they have path name=lambda1, ..., lambda4. Later, I intersect each of them with one path. Attached is a working minimal ...
2
votes
2answers
280 views

Can emphasize produce an index item?

I would like to have a command which empasizes a term (like a definition in a mathematical text) and produces an item for the index (I use makeindex). Ideally the macro should not be too invasive, ...
4
votes
2answers
895 views

Left Justifying the Date with Scrlttr2

I would like to left justify the date in the KOMA-Script scrlttr2 class so that it aligns with the left margin of the body. I have no other data in the refline. This question helped me to get my ...
3
votes
1answer
591 views

Create a macro that appends some code an existing command, with arguments

As I am working on improving my answer to Different approach to literate programming for LaTeX, I have created a macro that automatically processes two arguments and formats indexes accordingly. The ...
31
votes
1answer
1k views

Disable microtype for a portion of a document

Update: 2013-04-18 After upgrading to microtype 2.5 today this specific test cases indeed runs much faster (from approximately 3:00 minutes down to 8 seconds). However, I do have another cases where ...
5
votes
3answers
555 views

Rebinding keys in AUCTeX

I'm trying to rebind a few keys in AUCTeX, mainly \textit and the like. So, as a test I've added to .emacs (add-hook 'LaTeX-mode-hook (lambda () (define-key LaTeX-mode-map (kbd "C-S-i") ...
1
vote
1answer
166 views

mtxrun opens PDF reader multiple times (in some invalid way)

This seems like a problem that should be well known and easy to fix, but I can't find any information about it. I decided to look in to ConTeXt, and I've hit a couple of stumbling blocks (but one is ...
1
vote
0answers
48 views

Figures in enumerate environment [duplicate]

Possible Duplicate: Aligning enumerate labels to top of image? I want to place the images I have in an enumerate environment, however when I try to do it, if there is not a text (or ...
1
vote
1answer
388 views

LaTeX Expert in the World [closed]

Who knows LaTeX the best in the whole world? I'm just a newbie to the wonderful world of LaTeX and I'm wondering who's the go-to-guy (or girl) for help.
2
votes
1answer
630 views

Redefine \emph inside theorem using \newshadedtheorem from ntheorem

Using the ntheorem package, the definition of \newshadedtheorem overwrites the \theoremprework, which I wanted to use to redefine \emph inside a custom shaded theorem. The definition of ...
45
votes
1answer
30k views

options for appearance of links in hyperref

If I use \usepackage[colorlinks]{hyperref} I get colored links for \cite (not good for printing or even viewing) but table of content looks fine. If I use ...

15 30 50 per page