2
votes
0answers
41 views

Error using Tikz matrix inside of subfloat [duplicate]

Possible Duplicate: Problem with defining shortcuts for TikZ matrices. I'm getting a the following error using subfloat and tikz matrix together: ERROR: Package pgfbasematrix Error: Single ...
3
votes
1answer
213 views

Changing options based on generated document length

I am creating lots of letters using the scrlttr2 package and some variables that change per letter. The contents of these variables might cause the letter to take up an additional page that I would ...
7
votes
1answer
191 views

How to make a pgfooclass persistent across a beamer presentation?

I would like to define a tikz image element that I could re-use along a beamer presentation. I tried to define this as a pgfooclass, but this seems to be that I can only instantiate objects of a class ...
4
votes
1answer
2k views

Sorting the nomenclature description

I am using nomencl package to prepare the nomenclature for my thesis. In that, the package sorts the symbols as shown in Figure. But I want the desription of the symbols in Right hand side to be ...
8
votes
2answers
692 views

How to append code to a section?

In my scrartcl document I want to change the spacing between sections and the first paragraph. Since I am using the parskip package, the parskip is set to a non-zero value. The \section command uses ...
10
votes
2answers
7k views

Issue with Springer spbasic

I'm using natbib for an article to be published in a Springer journal. These are their official TeX/bibtex styles, which include a tex template and some bibtex/natbib styles. If I use ...
1
vote
0answers
50 views

Write Cyrillic in equations just like Greek letters? [duplicate]

Possible Duplicate: What packages will let me use Cyrillic characters in math mode? Is there any way to get these letters in the same way as the Greek ones? So with \theta, etc? I have ...
4
votes
1answer
906 views

How to set figure - caption spacing individually in a floatrow environment?

In the preamble I use : \usepackage[labelformat=empty]{caption} \usepackage[heightadjust=all,floatrowsep=none,captionskip=3pt]{floatrow} With this package I'm able to put two figures horizontally ...
6
votes
2answers
2k views

Vertically align the tops of matrices in an equation

The following matrix equation looks great: \begin{align*} \overset{A}{\left[\begin{matrix}t_{1}&1\\ \vdots&\vdots\\ t_{n}&1 \end{matrix}\right]} \overset{x}{\left[\begin{matrix} ...
6
votes
0answers
6k views

biblatex: bbl wrong format version [closed]

I am using texlive 2012, and both pdflatex and biber are executed with full path to ensure the correct binary. biblatex has version 2.2, biber 0.9.9. If I run pdflatex, biber, pdflatex I get the ...
0
votes
0answers
56 views

Problem compiling LaTeX file created on Linux [duplicate]

Possible Duplicate: “\Ualgocf@original@chapter” undefined when using algorithm2e with natbib I have a TeX file created on Linux, and I'm trying to compile it on Mac OS X but I'm ...
9
votes
1answer
832 views

Chapter reading order diagram

I need to create a diagram for a book, indicating the order in which chapters may be read. For example: (Taken from ...
27
votes
4answers
15k views

Get current “section” name without label

Update: I accepted the solution provided by Heiko Oberdiek, because that was doing exactly what I asked. When interested only in the chapter name, egreg's solution works fine. However, to get it ...
0
votes
0answers
42 views

Automatic layout for some words [duplicate]

Possible Duplicate: How to highlight keywords? I'm building a presentation with some keywords. These keywords are somehow confusing (LL-parsing, LR-parsing,...). Therefore I was thinking to ...
61
votes
3answers
59k views

Error in TeX Live – Font … not loadable: Metric (TFM) file not found

I freshly installed 'basic' version of TeX Live 2012 (not full, only basic version). I have following line in my code: \usepackage[T1]{fontenc} I get following error: ...
6
votes
1answer
2k views

Biblatex - \DeclareFieldFormat

I'm writing a thesis in french law and I was able to, after many, many hours of hard work, customize some entry type to fit my needs. Here is my example of my @BOOKLET that I use for legislation: ...
3
votes
1answer
570 views

Decision Tree with Tikz - Not to fill and grow down instead of growing west

I am trying to build this decision tree I was take out fill option at \tikzstyle{choice} = [circle, minimum width=8pt, fill, inner sep=0pt] and also make the tree grow down \tikzstyle{level ...
5
votes
1answer
857 views

Arrow heads as plot marks

I would like to draw a plot and put arrow heads pointing in the direction of the plot instead of marks. My first idea was to use the quiver option from pgfplots by duplicating and stagering the ...
9
votes
1answer
571 views

Linux Libertine does not show Greek SmallCaps

According to the Linux Libertine font tester you can have Greek small caps. However the following example does not yield the desirable result: \documentclass{article} \usepackage{fontspec} ...
1
vote
1answer
182 views

Insert pdf pages with choice of which pages of original doc [closed]

To insert only a few pages of a PDF document to my latex document, I use this macro. The numbering of the pages in my document is not interrupted even if I customize the header-footer with ...
9
votes
3answers
2k views

Draw a path between many nodes using foreach

I'm running into a weird problem here... I have very many nodes defined, and I would like to draw a path from the first to the last using foreach. But, when I try, it just draws edges between p1 and ...
12
votes
2answers
29k views

Align left and right same line

I have this problem: Basically on the second line "Matricola: XXXXXX" isn't right aligned. My latex is: \begin{minipage}[t]{7cm} \textsc{Relator} Prof. NameName\\ \end{minipage} \hfill ...
33
votes
1answer
5k views

Is it possible to make LaTeX mark overfull boxes in the output?

Is it possible to make LaTeX mark overfull boxes in the output, for example by drawing red rectangles in the PDF where the boxes overflow? The purpose -- to more easily "see" where the problems are in ...
3
votes
2answers
430 views

having problems using arrayjobx with tikz - how can i use arrays in tikz?

I need the help of some smart people ;) I want to draw a picture with TikZ, which is heavily based on randomization and I want to make it quite parametrized. It's actually a graph of n nodes where ...
0
votes
0answers
46 views

My figures end up outside the document [duplicate]

Possible Duplicate: 19 simple tables giving “TeX capacity exceeded” / “Too many unprocessed floats”? I have 11 tables and 10 figures that I have put in an appendix ...
5
votes
2answers
758 views

Is there a non-verbatim form of lstinline from the listings package?

I'm using the listings package with beamer and I'd like to try to avoid making frames fragile where possible. I know that many of my frames will need to be fragile but there are some where the ...
4
votes
1answer
250 views

Defining a command to close and open environment

While preparing my lectures with beamer, I often find myself having to split a frame into two different ones. For instance, a first version of my slides contains: \begin{frame} ...
21
votes
2answers
11k views

\boxed{}, TikZ and colored equation background

I wonder if someone could provide me with a simple MWE for using TikZ together with \boxed to produce a colored equation background. If possible with rounded corners. I am using \boxed{} inside the ...
8
votes
1answer
261 views

sample texts for a template

I am looking for some sample text, or a sample document which includes most basic LaTeX code structures such as sections, paragraphs, item lists, equations, tables, figures. I would like to include it ...
1
vote
1answer
447 views

LyX: number table by section suddenly default, how to remove

I just installed the newest version of LyX 2.0.4 and notice that the table numbering is by section. How do I remove this so that it is naturally incremented for each table created, like it was before? ...
2
votes
1answer
2k views

Line alignment with \par

I was writing a document in LaTeX and found out that I am not able to properly align the text when I use \\ or \newline Here is the code. \par{ {\bfseries{\today}} \vspace{1\baselineskip} Name \\ ...
10
votes
1answer
5k views

How to make highlighting work in beamer with overlays

I'm trying to use the soul package to get highlighting via \hl{some text}. I'd like to do this in overlays in beamer. I'm trying to follow the guidelines in section 9.6.1 of the beamer manual to ...
36
votes
1answer
3k views

Why does it take LuaLaTeX so long to load fonts and can I speed it up?

To test Mico's upcoming selnolig package, I tried out LuaLaTeX. While the overall experience for me as a pdfLaTeX end-user was very similar, I noticed that LuaLaTeX takes a long time to load fonts. ...
51
votes
3answers
59k views

What can I use to typeset MATLAB code in my document?

This question led to a new package: matlab-prettifier Does anybody have a quick and easy way to typeset some relatively long MATLAB code in the appendix? I looked up a few methods, and the ...
13
votes
4answers
6k views

How to edit the linear programming in LaTeX?

How to edit a linear programming as the following: Max z = x1 + 12x2 s.t. 3x1 + x2 + 12x3 ≤ 5 x1 + x3 ≤ 16 15x1 + x2 = 14 xj ≥ 0, j=1,2,3. I want the format to be ...
6
votes
1answer
453 views

\sqrtsign and \sqrt

The following lines caught my attention while browsing source2e while looking for the definition of another command. \DeclareMathRadical{\sqrtsign}{symbols}{"70}{largesymbols}{"70} and ...
16
votes
3answers
882 views

Need alt text for images in pdf for screen readers

I need the generated PDF to have "alt" text associated with each image so that a screen reader can read the alt text to the visually impaired user. I understand that essentially just including the ...
5
votes
2answers
2k views

Most useful LaTex -macros? Help me to understand a statement with `\[p][s][frac|mat]`

I want to understand the below, source here. I am studying material related to real-time-Texing like here. As for fractions and matrices, I prefer using LaTeX macros instead of snippets. The most ...
12
votes
1answer
778 views

Small text in table does not recalculate line spacing

I'm using tabu to create a table that has a couple multi-line cells (the m style). However, when I set the line spacing outside the table, it seems that the space between lines is not recalculated in ...
4
votes
1answer
365 views

Decrease the space between two type of footnotes

I’m using two types of footnotes in my document, but when I use the two types in the same page, the space between the two blocks is too large (the paper size small, so it is problematic). Is there a ...
19
votes
2answers
594 views

Too much space before digit “1”

In many fonts, the digit 1 contains a lot of empty space on its left side. Maybe this is desirable inside a number like 512, but it looks wrong to me when the 1 appears at the beginning of a word, as ...
3
votes
1answer
501 views

Error message and newline

In the following, why is the exclamation mark (!) repeated in the error message? \def\error#1#2{% \begingroup \errhelp{#2}% \errmessage{^^J! package Error: #1^^J}% \endgroup } \error{Stop ...
7
votes
3answers
2k views

Center line based on only part of text

I'm working off of a resume template I found. This is what it looks like I want to center the bottom line of text differently. Right now, it is centered based on the whole line of text, but I ...
1
vote
1answer
196 views

Environments with matched parens in \begin and \end

Suppose I have this sort of expression in a document. \multicolumn{8}{l}{% \parbox{25em}{% \begin{itemize} \addtolength{\itemsep}{-1em} \item foo \item bar \end{itemize}% }} I'd like to define a ...
6
votes
2answers
926 views

English / German APA reference fails partly - “retrieved from” and “origyear” untranslated

I have a problem with my multilingual APA reference. I use LuaTeX, BibLaTeX and biber. I use the BibLaTeX option babel=other to activate language switching. Switching gets done by adding an ...
8
votes
1answer
373 views

How to disable plus and minus (flexible space)

I am modifying a thesis template for graduate students at my university and would like to improve our class file to better meet the graduate school's desires. The lady that must ok the format of a ...
12
votes
1answer
615 views

Parallel flowcharts: conjoined nodes, arrow routing and alignment

Transitioning from GraphViz to TikZ is hurting my brain... My task is to generate flowcharts of the following variety: In particular, I need a method to position nodes that share borders ...
6
votes
2answers
271 views

Using etoolbox macros in tikz foreach loops

I am trying to wrap my head around etoolbox for use with TikZ. In this example (I know there are probably simpler ways to do this), I would like to draw a series of rectangles that are next to each ...
4
votes
1answer
15k views

Wrong display order of figures and text

Why do the figures appear BEFORE instead of AFTER the section title ??? \documentclass[pdftex,12pt,a4paper,english,dutch,leqno]{article} ...
4
votes
2answers
3k views

Vertical and horizontal alignment with tabu package

Another question led me to use tabu for the purpose of fitting one column to its content while allowing the others to stretch equally. This is my current code: \documentclass{article} ...

15 30 50 per page