# All Questions

1k views

### itemize without pagebreak

I have the following structure of my lists (commonly): ..... Here is the list: * item1 * item2 .... I would like to make my list inseverable (the list with its 'caption' won't be divided by ...
772 views

### Accessing randomly selected problems via the probsoln package

I have two datasets, each containing problems dealing with a specific topic. These problems are stored in external files (again, one file per topic) and loaded into the datasets in a random order. I ...
508 views

### natbib, hyperref and citation inside a float figure

I use Lyx and MikTeX 2.9 to write my thesis based on book KOMA-script. Right at the finish I have an error at pdflatex run: Extra }, or forgotten \ endgroup. <argument> ... \IeC {\c s}i ...
135 views

### Defect of measuring into the count of alphabet width

Question: Why in the example below I get (with CM at 10pt) \alphabet=342.93138pt and \myalphabetwidth=342.6536pt why I have this difference between the two measures? What is the more correct? ...
2k views

### using [] in the caption of the subfigure

The subfigure caption uses []. Because of that, I am unable to use [] in its caption. \subfigure[ This [] is important] How do I use the brackets in the caption of the subfigure?
7k views

### pgfplot: plotting a large dataset

I try to plot a dataset which is large using pgfplots. Since I'm aware of problems with large files, I used the external mode. I additionally increased main_memory from 3000000 to 6000000. It crashes ...
1k views

### creating a fifo symbol with pgfdeclareshape

I'm compiling with: pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2011.7.8) pgf 2008/01/15 v2.10 (rcs-revision 1.12) tikz 2010/10/13 v2.10 (rcs-revision 1.76) ...
869 views

### Create landscape image page in pdf, without breaking text flow

Here is an MWE. If you compile this to PDF, you get a half-empty page on the first page, as the last part of the text doesn't come up, but is forced onto a new page. Compare this with the same thing, ...
9k views

### How to center one node exactly between two others with TikZ?

How can I center a TikZ node exactly between two others? Hypothetically, \node (a) {a} \node (c) [right of=c] {c} \node (b) [between={a,c}] {b}
370 views

### Regular Expression for logical implication?

I am massively unfamiliar with the usage and syntax of regular expressions so the following problem is making my brain bleed. Background: I am taking logical expressions, parsing them, making some ...
5k views

I am using a MacOS and I want to copy the IEEEtran.cls file into the latex directory such that it is read automatically. I have a file in the directory ...
552 views

### One column figure blocks text in adjacent column

I am facing this strange problem where a figure in one column of a two-column page is blocking the second column. In other words, text is not going there in other column with a figure in the adjacent ...
6k views

### \$TEXMFHOME setting

I use texlive 2012 on ubuntu 12.04. I wanted my ~/texmf folder invisible, so I edited my texmf.cnf file which is in /usr/local/texlive/2012 directory: TEXMFHOME = ~/.texmf I rebooted my computer ...
483 views

### Align bottom of table cell when table cell has height

I currently have at able whose row's height is set, so I can control it. This is what it looks like: \begin{tabular}{ @{} p{1.60in} l @{} } \hspace{-0.8in}\textbf{Fundacion Tecnologica ...
276 views

### PDF Pages Included, but it does't work

I am writing my thesis, and I need to add a single pdf page in the appendix, so I found a way to use the pdfpage package. Normally I added the package, when I added the package and I continued writing ...
316 views

### ignoring chapter easily

When working on a book I'd like to "ignore"(not compile) all chapters but the current one. I know there are methods to use like include and such BUT I do not want to use external files or some complex ...
565 views

### Vertical node spacing

Ok. I'm trying to make the left look like the right. I'm kinda lost here. Suggestions? \documentclass{article} \usepackage{tikz} \usepackage[margin=0.5in]{geometry} \pagestyle{empty} ...
1k views

### Set Table height to fixed height

I found the \resizebox command but I don't want to scale my table. I want to be able to set it to X height and have it stay there. Is there a way to set the height of a table and leave it there no ...
83 views

### How to temporarily suppress image insertion when compiling?

There are some big images in my document and compiling is taking substantial amount of time. When compiling a tex file to a dvi (and subsequently ps and pdf), is there any way I can temporarily ...
423 views

### Format date without year

Using \formatdate from datetime, I can get a date properly formatted in multiple languages: \formatdate{3}{4}{2012} However, I would like to only use the day and month and leave the year behind. ...
3k views

### tikz: plotting a one column file [closed]

I use tikz/pgf to plot plots with data from a file. This works perfectly fine if I have at least to columns in the file that I can choose from. However, I have a rather huge file with just one column. ...
91 views

### Subtract height from column

The following latex example is kicking the third table down to the second page. But I don't need it on the second page, I need it all on the first and currently it's set at 3.5in but I really need it ...
128 views

### Node base error

Encountering a strange issue here: I have a node style that I have been using for many flow-charts. It's base has always been in the exact center of the shape, but now i'ts been translated up about ...
302 views

### Remove a section number

I'm sure this is a basic question asked before but my search of the site did not yield a result (likely b/c I don't know what I'm searching for). I want to print out a reference section that is ...
10k views

### fontspec LuaTeX error

I have installed "ProTeX" with "TeXstudio 2.3" & "Miktex 2.9". I get an error ! The fontspec package requires either XeTeX or LuaTeX to function when I attempt to run \documentclass{article} ...
381 views

### Get \psbarcode to accept custom variable

I'm trying to use \psbarcode in a manner that it will take a premade variable to render the barcode. MWE that fails is below, \documentclass{minimal} \usepackage{auto-pst-pdf} ...
4k views

### Include several pages of a PDF without losing LaTex document style

I would like to include several pages of a PDF as a subsection in my LaTex Document using the package pdfpages. I tried \includepdf[scale=0.8,pages=1-5,pagecommand=\subsection{blub}]{testpdf} from ...
215 views

### get rid of the number of nonreferred equations [duplicate]

Possible Duplicate: How to organize labels when there are too many equations? How do I number equations only if they are referred to in the text? I have a lot of equations in my documents ...
8k views

### How to fit a wide table

I see that many people have already asked the same question, but unfortunately I can't make it work for me at the moment. So, once again, how can I centre and fit tables larger than that to my report? ...
240 views

I'm using a counter to increment months in a journal and the datetime package to turn the counter into months. The months then become chapter titles in the document, so I have something like this: ...
200 views

### Extracting content of .tex files

Is there any GUI fast way for extracting content of .tex files? (Stripping all tags and meta-data) Among TeX editors which one support export content to plain .txt file? (I found some command-line ...
474 views

### Making a zip macro

In functional languages, there often is a function called zip, which can be handy in many situations; for example in ruby, one can say: %w(a b c).zip(%w(d e f)) to get an array of arrays [["a", ...
1k views

### Including LaTeX vector output in input to Graphviz (dot)

Graphviz (http://www.graphviz.org/) is an exceptionally effective package for drawing graphs of all kinds. Its internal node labelling facility is relatively primitive, but as it allows images to be ...
2k views

### Adjust spacing between text and horizontal rule

Please consider the following code: \documentclass{amsart} \usepackage{tikz} \begin{document} \noindent \tikz\draw(0,0)--(\textwidth,0); Some Text. More Text. More Text. \newline \noindent ...
210 views

Possible Duplicate: Using TIPA with fontspec I try to get an a with a dash and a glotal stop typeset. Depending on the ordering of the loading of the packages I get either the ā or the ʔ. ...
751 views

### Problems with newpage and pdfpageattr

I have a document (article class) in which sections of text are interrupted by sideways tables. In order to be able to view the document properly I am using \newpage ...
109 views

### Use a symbol in a formula that's been defined over elsewhere

In my document preamble, I'm using: \usepackage{fancyvrb} \DefineShortVerb{\|} It means I can indicate that things are to be rendered as code with |This_is_monospaced|, but now I'm trying to use ...
3k views

### Is there a way to print two tikzpictures next to each other marked with a and b?

I have the following code that should print the two figures next to each other with an a to the left of the first figure and a b to the left of the second one. The code below does this, but everything ...
5k views

### LaTeX debugging strategies and brace mismatching

What is the recommended way to track down brace mismatches in LaTeX? I have a large beamer presentation, but this equally applies to any other LaTeX work I've done. In other computer languages I've ...
169 views

### Why do my “to path” arrowheads disappear when I upgrade to PGF 2.10?

Since I upgraded to PGF 2.10, some of my arrows drawn with to don't look right anymore. For instance, they are missing arrow-heads, and some other styles I applied to them have also disappeared. For ...
2k views

### how to put figures on a page in exam class!

I am trying to put four figures in one page. I have tried using \clearpage, \afterpage{\clearpage} with afterpage package as suggested and worked successfully in many other cases. I have also tried ...
4k views

### Elementary introduction to creating BibTeX styles?

Are there any good introductory references for the syntax to create a BibTeX style (.bst) file, whose ease of reading is closer to an introductory text for a programming language than to a formal ...
389 views

### How to change color in an environment?

I have an environment defined as follows: \usepackage{framed} \usepackage{listings} \usepackage{color} \usepackage{tikz} \usetikzlibrary{shapes.arrows} \usetikzlibrary{backgrounds} ...
261 views

### L-Tromino by using Tables with zero padding

I want to display a L-Tromino. L-tromino is a shape consisting of three equal squares joined at the edges to form a shape resembling the capital letter L. I have tried \begin{array}{cc} \square& ...
1k views

### acronym \acresetall & cleveref: multiply defined labels

I'm using the acronym package to expand acronyms and I'm also using the cleveref package. I would like to have acronyms expanded once per chapter. For instance in the following code, both acronyms ...
3k views

### How do you use MacVim for LaTeX?

I'm a long-time Emacs+AUCTeX user (I even once wrote a short tutorial for it!), but for a couple of different reasons (problems maintaining my Emacs configuration, the beauty of Drew Neil's voice, and ...
89 views

### Dual form in bibtex style file

I'm writing a thesis in my language that, apart from singular and plural forms, has the dual form. I'm using bibtex and I'm having problems with translating the .bst style properly to support the dual ...
4k views

### knitr and biblatex

I'd like to create a PDF report with knitr with LaTeX-code in RStudio with biblatex for citations. However, the in-text-citations are always undefined and no bibliography is printed. The same ...