9
votes
2answers
1k views

Wrap Caption Around TikZ Figure

I have a TikZ figure that appears as follows. The figure also has a caption. I'd like the caption to fill up that blank space in the bottom-right and bleed over into the space it current occupies. ...
6
votes
1answer
706 views

How to place two ctables side by side

ctable, not a regular table/tabular. How can I get two narrow ctables to go side by side? I want them to be subtables of a larger table, just two independent tables side by side. I've tried using a ...
3
votes
1answer
2k views

Error with \footnote{\bibentry{foo}} when using beamer

I am making a beamer presentation and having the following problem: When I use \footnote{\bibentry{foo}} to cite an article, I get the following error message: Undefined Control Sequence} And the ...
4
votes
1answer
2k views

Changing `proof` endmark when using `ntheorem` with `thmmarks` and `amsthm` options

Q: Is there an easy way to change the default proof environment endmark (it's normally a funny open square and I'd like to change it to \blacksquare) when using the ntheorem package with the amsthm ...
5
votes
2answers
763 views

Position tikz pictures at left margin of a listing code block

I'm trying to finish my attempt at having good looking unlimited line annotations for the listing environments, using tikz. The original problem was that indentation caused shifts in the positioning, ...
8
votes
1answer
298 views

Nice-looking $x_i^j$

When I write $x_i^j$, the j is very high up, and it looks ugly. (This problem is especially apparent in the New Century Schoolbook font.) I know that TeX is capable of automatically lowering it, ...
13
votes
1answer
2k views

Nesting command definitions more than two levels

How do you access macro arguments if the macros are nested by more than two levels? To explain it in more detail: Creating a new command in another command (nesting command definitions), it is ...
4
votes
1answer
579 views

Can I get the page number of included PDF page?

I have to put some academic papers at the end of a document, but only include a subset of their pages (due to the page limitations in our project). Now, I would like to mark each included page with ...
5
votes
2answers
671 views

Calculations and undefined control sequence with TikZ

I already produced several figures with TikZ, but I can't see what's wrong with this snippet: \documentclass[a4paper,10pt,twoside]{scrbook} \usepackage[utf8x]{inputenc} \usepackage{tikz} ...
5
votes
0answers
61 views

Count words in LaTeX with inclusion in LaTeX build process [duplicate]

Possible Duplicate: Dynamically count and return number of words in a section I'd like to include the word count of my LaTeX document in the document itself and not have to worry about ...
1
vote
0answers
169 views

How to treat specific words formatting (ie. API names to wrap inside texttt command)? [closed]

I would like to know if there is any elegant way to treat specific words as symbols, and automatically wrap them with a \texttt command. This would come handy with API names for instance, so \texttt ...
5
votes
1answer
4k views

feynmf with pdflatex [duplicate]

Possible Duplicate: How to use kile with feynmf or feynmp? I would like to use feynmf, or better feynmp, with pdflatex. My first idea was to replace all the files file.[0-9]* which are ...
3
votes
2answers
4k views

Linux Libertine O and Linux Biolinum O not found

I have TeX Live 2011. I set \usepackage{fontspec} \setmainfont{Linux Libertine O} \setsansfont{Linux Biolinum O} but I get a warning that these fonts are not found! If I try ...
22
votes
11answers
38k views

Windows API error 5: “Access is denied” when trying to compile TikZ picture

I installed PGF but are unable to compile the following document: \documentclass[10pt]{article} \usepackage{pgf,tikz} \begin{document} \begin{tikzpicture} \draw (0,0) --(1,2); \end{tikzpicture} ...
6
votes
2answers
605 views

Impossible to have a Tikz fading in a titlesec header?

I want to put a TikZ figure with a fading effect (which I reproduced in the body of the document as illustration) in the page header, which I set with the package titlesec. The following MWE seems to ...
9
votes
4answers
2k views

Caption and footnote width with ctable

I am using ctable and I have a table with footnotes. Since the table is narrow, the caption text is squeezed in the table width, which looks odd. I can use mincapwidth to specify a minimum width for ...
4
votes
1answer
699 views

defining a fading-style directly in the fill command

In the following MWE i define a fading monfading with the command \tikzfading which is then used in the command \fill. \documentclass{article} \usepackage{tikz} \usetikzlibrary{patterns,fadings} ...
3
votes
1answer
1k views

Alignment's \author

How I can put authors in list form. \author{ aaaaa \and bbbb \and ccc } Ok, but the names appear on the same line and I want to display them vertically.
1
vote
0answers
1k views

Gummi breaking on inclusion of bibliography [closed]

Gummi is refusing to compile whenever I include the line \bibliography{bibliog.bib}{} I've tried with and without the .bib and it doesn't seem to matter what the contents of the file are (I've even ...
9
votes
2answers
2k views

QED symbol on the same page as proof

I'm using the proof environment from the amsthm package. In some cases, the last line of a proof falls at the end of a page, but the QED symbol (the little white box) ends up on the following page. ...
5
votes
2answers
217 views

Equation tags in lining numerals

This is a follow-up to this question; I'd like also the tags (typeset by the \tag command) to be in lining numerals. However, inspecting the definition of \tag in amsmath didn't reveal too much to me ...
10
votes
3answers
2k views

Centering table column titles above comma-aligned numbers

I am trying to make the following table look nice. With that I want the title to be centered horizontally, and the numbers to be alligned at comma. Here is how it looks now: And my code. ...
4
votes
1answer
543 views

Removing TeX fonts from being system-wide

After reading XeTeX can't find font I executed sudo cp $(kpsewhich --var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf sudo fc-cache -fsv I am now ...
4
votes
1answer
362 views

Clique symbol in Math [duplicate]

Possible Duplicate: How to look up a symbol? I am working with the font Palatino on the memoir class. \uspackage{mathpazo} How can I get the second C below in a mathematical formula? ...
2
votes
1answer
515 views

Why \hyperlink{\rightmark}{} does not work in fancyhead (and inside some other macros)?

\fancyhead[LO,RE]{\hyperlink{\rightmark}{\bfseries\rightmark}} (\leftmark is all the same) cause error: TeX capacity exceeded, sorry [input stack size... Why? (here, \rightmark has double ...
1
vote
1answer
304 views

\caption full features, but no showing at list of figures?

Using tocloft for my list of figures, I am looking for some method that enables me to select some specific entires (\caption) such as that one further down, which shouldn't goes to the list of ...
2
votes
1answer
291 views

Recreate efficiently this figure

I am writing a technical document, and I need to explain several steps of a construction which use matrices and linear equations. I was puzzled how I would create my figures and one paper I reference ...
17
votes
1answer
13k views

How do you effectively debug overfull \hbox warnings?

I still haven't found out how to effectively solve Overfull \hbox (0.80913pt too wide) has occurred while \output is active warnings. For instance, this piece of latex generates such a warning and I ...
7
votes
1answer
4k views

Table of contents with indents and dots

I have a table of contents that looks like the following in my working example. \documentclass[a4paper,12pt]{amsart} \usepackage{tikz} \usepackage{graphicx} \usepackage{ellipsis} \usepackage{soul} ...
59
votes
5answers
16k views

How can I use TikZ to make standalone (SVG) graphics?

I would like to use TikZ in other settings than TeX and I'd especially like to use the drawings on websites where the text should be searchable and selectable. However, I'm unsure of the best way to ...
3
votes
0answers
3k views

“Tex capacity exceeded.” with beamer [closed]

I use MikTex 2.9 and am compiling a beamer presentation. I have 100+ pages. The file compiles if I comment out about half of the frames. I managed one presentation by compiling the two halves one ...
11
votes
2answers
4k views

How to cite Wolfram Web Resources in Bibtex?

Wolfram offers very helpful web resources for mathematical terminology. Every article has a short note at the end, e.g. in Tree it says: CITE THIS AS: Weisstein, Eric W. "Tree." From ...
3
votes
1answer
619 views

Change make contact graphic in TikZ circuit lib and add closed option

Is it possible to change the appearance of the var make contact symbol from the TikZ circuit library as follows (i.e. add the second circle) and add a "closed" option as shown in the following ...
2
votes
2answers
302 views

avoid space before \textsuperscript in linebreak

I have a lot of Ca\textsuperscript{2+} in my text. In my editor I use automatic linebreaking to keep the text readable. Now it sometimes happens that lhe line breaks like this: Ca ...
4
votes
1answer
2k views

How to put an itemize label on multiple lines?

I was wondering if it was possible nicely display a long label when using the itemize environment? e.g.: \begin{itemize} \item[long ugly displaying label] Stuff \subitem more stuff ... ...
16
votes
3answers
2k views

\global\renewcommand equivalent of \global\def

The following MWE works just fine, but I had to resort to using \global\def (not that there's anything wrong with it). The intent of the MWE is to provide access to the value of macro as set in an ...
4
votes
1answer
784 views

LaTeX: outputting a “tight” svg

Concise Problem Statement Given an input of a *.tex (LaTeX) file, I want to output a "tight" *.svg file. By "tight", I mean a svg file that does not show the full page -- rather, just the rendered ...
3
votes
0answers
88 views

Long Execution Time with pdfLaTeX on Mac OS X [duplicate]

Possible Duplicate: Fast PNG embedding using pdflatex I'm using pdfLaTeX on Mac OS X v10.7.3, and I've added about 25 PNG images to a LaTeX document that is roughly 35 pages long. The ...
5
votes
1answer
2k views

Can't get this caption right (wrapfig + floatrow)

I'm trying to get a caption to span the figure width on a wrapfig environment. But for some reasons it just won't go. Here is my code and a graphical representation: ...
4
votes
1answer
2k views

Full page table template

I am making a manual with LaTeX and at the end of the manual I want to insert a full-page blank table where I can have people sign to acknowledge that they have read the manual. Currently I am doing ...
24
votes
1answer
16k views

How to properly code a TeX file, or at least avoid `badness 10000`

I'm coding a TeX file and although the .pdf is correctly rendered, I'm using "stone age" tools to code it. As some examples, I use \\ to leave a line space between two paragraphs, or \noindent in ...
13
votes
3answers
3k views

Proper way to change a font temporarily with fontspec

I have been using fontspec in a lualatex document where as instructed by the manual I set my main/sans/mono font in my preamble with some default features. However at some point I wish to temporarily ...
7
votes
1answer
988 views

Variability in the line spacing of paragraph breaks?

Don't know how to describe my problem properly, but there seems to be a variablility in the line spacing of paragraph breaks, with my settings or generally or anything. Since I don't know what is ...
2
votes
0answers
142 views

vim-latex always moves the cursor to the beginning of the line upon compilation. How do I stop this? [closed]

I have posted this question to /r/vim, with no success. The title basically explains the situation: every time I compile with <leader>ll, Vim moves my cursor to the beginning of the line, which ...
2
votes
0answers
277 views

zooming with mouse over [closed]

I am looking for existing codes for magnifying pre-defined portions of text in PDF the output of LaTeX. The applications is for accessibility for the visually impaired, so from users' point of view ...
13
votes
3answers
9k views

amsthm: \newtheoremstyle, headspace, \mbox{}, and lists

Q: How do I define a newtheoremstyle which will start the theorem text on a newline after the header even when the theorem text starts with a list, e.g., enumerate? If there's no way of doing this, ...
3
votes
1answer
586 views

Name tikz circuit symbol node

Consider the following minimal example in with TikZ circuit library \documentclass{article} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC} \begin{document} \begin{tikzpicture} [circuit ee ...
5
votes
1answer
522 views

Learning TeX via the TeXbook

As I most often am not able even to ask the right question, much lesser to understand answers, I have decided to read thoroughly Knuth's TeXbook. But on Appendix B--Control Sequences--I find ...
3
votes
3answers
1k views

Drawing a collaboration graph or tree with TikZ

I'm trying to draw a collaboration graph for C data structures. originally I got dot files from Doxygen which I tried to convert using dot2tex with varying degrees of success, though none produced ...
6
votes
2answers
1k views

Creating list of for \newtheoremstyle

I want to create an list of theorems much like the list of figures, but couldn't find a packacke or tutorial to solve my problem. I tried this http://texblog.org/2008/07/13/define-your-own-list-of/ ...

15 30 50 per page