All Questions

34k views

No room for a new \dimen

I have this error message: ! No room for a new \dimen . \ch@ck ...\else \errmessage {No room for a new #3} \fi which I can not find a cure for.
8k views

Scaling a TikZ figure from an external file

I would like to insert figures which were created with TikZ to my LaTeX document. I suppose that if I create the TikZ figure inside the document, that wouldn't be a problem - I'd just play with the ...
264 views

How to print this comparison operator? [duplicate]

Possible Duplicate: How to look up a math symbol? Does anyone know how to print this comparison operator (which looks like a combination of triangle and equal) between two operands?
2k views

The effect of the anonymous letter

I'm trying to create an effect as if the text is made up of letters cut from magazines and newspapers and even the same words had different style. It is necessary that each letter in the word had a ...
4k views

How can I draw a DAG? [duplicate]

Possible Duplicate: Typesetting a directed, weighted graph with TikZ I would like to draw a DAG - Directed acyclic graph. How can I do this?
249 views

Adding a TikZ figure to a document

I really hate to post "what's wrong with my code" questions, but I'm a bit clueless and couldn't find a good guide about it. Anyway, I'm trying to add a figure which was created by TikZ to my ...
2k views

Rotating text by -90 degrees

Using lscape from the graphics package, one can rotate all of the text within \begin{landscape} and \end{landscape} by 90 degrees, while permitting the text to break across pages. Is there a way to ...
341 views

Issue with subequation enviroment

I use the following code \begin{subequations} $$\mid H(j\omega) \mid = \frac{\omega CR}{\sqrt{1+(\omega CR)^2}} \label{subeqn:amplitude}$$ ...
4k views

Displaying selected bibliographic items in the body of the text

I have to prepare a beamer presentation on the topic of citations and bibliographies. So I should be able to display selected bibliographic items in the slides as examples in most of the slides. I ...
1k views

Full width code listing within two column text

I am using multicols to create two columns for body text. For code typesetting I am using the listings package. For the latter I have created an environment using \lstnewenvironment command, used as ...
2k views

Vertical Chinese text with XeTeX

How can I place vertical Chinese text for some of the text in a document? I think the CJK package can do this, but with XeTeX one generally uses xeCJK. I could not find these options in the ...
3k views

What various packages, example code, or examples of existing documents with available source code are available to assist one in: Changing the style and formating of a table of contents? Building a ...
3k views

Including all files within a directory [duplicate]

Possible Duplicate: How to iterate through the name of files in a folder Using \input{filename}, I can input a file canned "filename.tex". I have a directory containing all of the files I ...
986 views

How do I get the \paragraph's enumerated, but not the \section's

I need the \paragraph{xxx} command outputs "§ 1 xxx" but the \section{Abc} outputs just "Abc", no numbering. Any help? Thanks.
926 views

Page numbering with a mixed Roman numeral-Arabic numeral format

How can I create page numbers with a mixed Roman numeral-Arabic numeral (<Roman numeral>.<Arabic numeral>) format? They increment as: "I.1", "I.2", "I.3", etc. The Roman numerals change ...
278 views

Hiding a counter if it is only displayed only one time

I have two macros on my document. \showcounter increases a counter, then displays it. \resetcounter sets the counter back to "0". \documentclass{article} \newcounter{counterone} ...
6k views

How to pluralize an acronym which ends in 'S' correctly?

When using the acronym package, how can you correctly pluralize an acronym which ends on 'S'? Take the acronym: OS - operating system It should be pluralized as OS's, but is pluralized as OSs when ...
2k views

To simplify the management of multiple books, I put all of them together into them together into one file, then used \cleardoublepage, \setcounter{page}{1} and a new titlepage environment to specify ...
4k views

Image quality using PDFLaTeX

I've got some PNG images within my LaTeX document. The quality of the image files is sufficient and the result using LaTeX and viewing the resulting DVI file is quite what I expect - looks good. But ...
126 views

Do any font types store metadata about each letter? Or does Unicode provide any linguistic information about each symbol? Can this metadata be accessed in XeTeX?
1k views

Why do I get the error “\caption outside float” with the algorithm / algorithmic package? [closed]

I have an algorithm in my document It looks like this: \begin{algorithm} \caption{Merge Digest: Insert\label{mergeDigestInsert}} \begin{algorithmic}[1] [....algorithm is ...
719 views

Fake MLA-style bibliography fix?

\leftskip0.5in \parindent-0.5in Author. Title. Place: Publisher, Date. Medium. convincingly fakes the hanging indent of MLA-style bibliography. Is there a way to set this for a region at every new ...
1k views

Arrows and nodes in TikZ

I wish to draw arrows not necessarily at the end of the line, nor in the middle. I would also like to write a node directly above (or below, or to the right, ...) the arrow. I saw this question, but ...
2k views

How can I change the color of glossary links when using glossaries along with hyperref? I just want to change glossary link colors not all links.
194 views

How to add a page number on the bootom of the first pages in table of contents, list of figures/tables and bibliography? \tableofcontents \listoftables \listoffigures \bibliography{filename} ...
323 views

Convert figures to old style with Kurier font

I am trying to convert the figures of a mixed string over which I have no control, say +1 (234) 567 890 abcd to old style when using the kurier font. I know of \oldstylenums, but it switches ...
2k views

How can I pass underscore to \newcommand properly?

I'd like to simplify my code appendix with this command definition: \usepackage{listings} % ... \newcommand{\CodeListing}[1]{% \lstinputlisting[caption=#1]{#1}% } That is, the caption should be ...
334 views

Math mode commands with more semantics?

I accustomed myself to define my own little macros for any mathematical expression I use frequently. For example, I have a macro for the expected value of a random variable: ...
116 views

How can I have figures identified as tables?

My paper includes several graphs that are all much too long to make as tables, so I made them figures (copy and paste from spreadsheet to paint). My paper has to include a list of figures and a list ...
40k views

eps figures with pdflatex

In a recent discussion on this site I learned that using \usepackage[pdf]{pstricks} makes it possible to run pdflatex on files containing eps and pstricks files (and psfrag usage as well). Now a ...
417 views

Are subcaption and tabularx incompatible?

I know that tex.sx isn't the forum for bug-reporting, but I have a bit of a problem and I'm looking for a technical workaround. The following MWE produces odd labels: \documentclass{article} ...
1k views

How can I put the empty subfloat subcaptions to the right?

I'm putting two figures above each other with \subfloat from the subfig package. Their captions are empty as I just want to describe the figures with the main caption, but I still want the (a) and (b) ...
4k views

tikz foreach index in variable name

I want to have a set of variables holding numerical values (e.g., cnt1, cnt2, cnt3) and access them based on the foreach index. For example: \foreach \i in {1,...,5} { ...
528 views

Long Underscore to Divide Sections of Text

Is there a way to write an underscore that extends along the full length of the page, to represent a break in sections? As of now, I'm using the \blank{?cm} command explained in this answer, but with ...
229 views

Selectable picture environment in PDF

I'd like to be able of copy & pasting the results of a picture environment in a PDF file to a plain text file. The problem is that once I copy the text the results are unsatisfactory: for ...
10k views

How to get started using biblatex?

I just spent an hour trying to understand Bibtex, but I find it very hard to find simple instructions. I even read half of the manual. I put this in my LaTeX file report.ex: % preamble ...
127 views

Parsing some buzzwords in the Latex document and replacing them by link possible?

Is it possible to parse teh whole document automatically, looking for buzzwords, which I will maintain in a special list, and replacing the buzzwords by links to a predefined page e.g. a glossary?
816 views

scope/yscale not transforming coordinates?

To my understanding of the documentation, the scope block should transform all coordinates. However, in the following example, only circles themselves are scaled, but not their centers: black circles ...
1k views

How to avoid underfull vbox in combination with \vsplit?

In the following example I am using the command \vsplit. I can't see the reason why \vsplit produced an overfull \vbox \documentclass{article} \parindent0pt \def\exampletext{Text Text Text Text Text ...
1k views

coordinate along decorated path

I'm using the brace decoration from the TikZ decorations.pathreplacing library to draw a brace around some nodes. Now I would like to connect the tip of the brace to another path (use case: labelling ...
893 views

margin location in tufte-class

By default I have observed that the margin is always on same side of the page, i.e irrespective of the page being the left page or right page the margin is always on the right hand side of the page. ...
172 views

How to suppress a line completely from a LuaTeX process_input_buffer callback?

I'm using a process_input_buffer callback to look at lines read from LuaLaTeX input before passing them on to TeX, to be processed as »verbatim« text (code and command examples). There are some lines ...
1k views

Create a table with three columns above two columns

I'm making a document header (full width of page) for which I would like three columns on the first row and two in the second. The tricky part (I think) is that I would like the bottom two cells to ...
747 views

How to center a typewriter (ttfamily) '+'

I would like to draw a circular TikZ node with + in its center, but font=\ttfamily moves it up. Why? How to solve it? \documentclass[border=3mm]{standalone} \usepackage{tikz} \begin{document} ...
5k views

How can I compute the distance between two coordinates in TikZ?

Given two points (defined, for instance using nodes), I want to compute the distance between them. Is there some build in functionality in tikz to do this? If not, how can it be done using the ...
956 views

How to redefine \label command in align environment

I have a problem with the redefinition of \label inside of the align environment. The goal is to allow a different behavior of the label command inside of the align environment than outside of it ...
1k views

beamer shrink note pages

Beamers shrink is evil, but I want to use it on my notes-pages. (As a reminder: shrink automatically reduces the font-size so that all text fits on a slide). I use \note as a separate command after ...
583 views

Typeset Theorems in Upright Fonts for Beamer

I want to typeset my theorems within my presentation in upright fonts. The only way I know is by doing this: \begin{theorem} \textup{Upright Theorem} \end{theorem} When I use article document ...
I have enabled shortvrb so that I can enclose text in pipes to write small pieces of code. Unfortunately this conflicts with math mode when I write $|A|$ to indicate the cardinality of a set. How can ...