title: Adding a section of answers for each section of exercises at the end of a book using answers package

text: I'm writing a book and for it I have created a little class file. Each section in the book have (sub-)section of exercises. At the end of all the chapters I want to put a `chapter*` of answers to some of the exercises. Since the exercises are numbered by section (i.e. the exercise's counter reset whenever the section step), I want to group the answers according to the section (and the chapter) of the exercise they answer to. What I want is something like this: ![mwe](http://i.stack.imgur.com/XRu41.jpg) Here is the relevant code of the class file. The commented lines are my unsuccessful attempts to achieve what I want. I have leaved almost all the packages to see if there some compatibility problem.               \NeedsTeXFormat{LaTeX2e}[2009/09/24]     \ProvidesClass{libro}          \LoadClassWithOptions{book}     \RequirePackage[pdftex]{graphicx}     \RequirePackage[latin1]{inputenc}     \RequirePackage[spanish]{babel}     \RequirePackage{amsmath,amsfonts,amssymb,amsthm}     \RequirePackage{array}     \RequirePackage{fancyhdr}     \RequirePackage{afterpage}     \RequirePackage{thmtools}     \RequirePackage{multicol}     \RequirePackage{color}     \RequirePackage{import}     \RequirePackage[font=small]{caption}     \RequirePackage{float}     \RequirePackage{subfig}     \RequirePackage{ifthen}     \RequirePackage{calc}     \RequirePackage{remreset}     \RequirePackage{pb-diagram}     \RequirePackage[hidelinks]{hyperref}     \RequirePackage[capitalise,noabbrev,spanish]{cleveref}     \RequirePackage{answers}          \newcounter{cuentaejercicios}[section]     \renewcommand{\thecuentaejercicios}{\Alph{cuentaejercicios}}     \declaretheoremstyle[%       spaceabove=1em,%       spacebelow=1em,%       headfont=\normalfont,%       postheadspace=1em,%       headpunct={.}]{estilodeejercicio}      \declaretheorem[         name={},         style=estilodeejercicio,         refname={Ejercicio},         numberlike=cuentaejercicios     ]{ejer}          \renewcommand\paragraph{\@startsection         {paragraph}{3}{0cm}                      {6pt}                                    {1pt}                                    {\bfseries}}                              %\let\c@hapter\chapter     %\renewcommand{\chapter}{     %   \c@hapter     %   \Writetofile{solucionario}{\protect\paragraph*{Capítulo \Roman{\thechapter}.\space      %   \leftmark}}     %}          \newcommand{\seccionDeEjercicios}{%       \newpage%       \kern 5mm       \hrule       \kern 3mm       \null \hfill {\large Ejercicios~\thesection.~\rightmark}\par       \kern 3mm       \hrule       \kern 5mm       \Writetofile{solucionario}{\protect\paragraph*{Ejercicios\space\thesection.       \space\rightmark}}       }          \newcommand{\Z}{\ensuremath{\mathbb{Z}}}     \newcommand{\R}{\ensuremath{\mathbb{R}}}     \newcommand{\N}{\ensuremath{\mathbb{N}}}     \newcommand{\Q}{\ensuremath{\mathbb{Q}}}     \newcommand{\nin}{\not \in}     \newcommand{\ds}[1]{\displaystyle{#1}}          \AtBeginDocument{         \addtocontents{toc}{\protect\markboth{\small\textsl Contenidos}{\small\textsl          Contenidos}}         \pagestyle{fancy}         \fancyhf{}         \renewcommand\headrulewidth{0pt}         \renewcommand{\chaptermark}[1]{\markboth{#1}{}}              \renewcommand{\sectionmark}[1]{\markright{#1}{}}         \fancyhead[LO]{\small\textsl{\leftmark}}                     \fancyhead[RE]{\small\textsl{\rightmark}}                    \fancyhead[LE,RO]{\thepage}                                  \Opensolutionfile{solucionario}         \Newassociation{respuesta}{Res}{solucionario}         \renewcommand{\Res}[1]{\textbf{Ejercicio #1.}}         \Writetofile{solucionario}{\protect\chapter*{Respuestas}}     %   \begin{Filesave}{solucionario}     %   \protect\chapter*{Respuestas}     %   \protect\fancyhf{}     %   \protect\fancyhead[LO]{\small\textsl{Soluciones a los ejercicios}}               %   \protect\fancyhead[RE]{\small\textsl{Soluciones a los ejercicios}}                %   \protect\fancyhead[LE,RO]{\thepage}                              %   \end{Filesave}     }      The `\seccionDeEjercicios` command was provided by this answer. Here is an example of my document:               \documentclass[12pt,letterpaper]{libro}          \usepackage[     %           showframe,                 headheight=14.5pt,text={14cm,21cm},centering                 ]{geometry}     \usepackage{enumerate}     \usepackage{cases}                         \parindent=0cm          \begin{document}     \chapter{Números Reales}     bla bla bla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla      bla bla bla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla      bla bla bla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla     bla bla bla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla           \chapter{Álgebra}     \section{Operaciones con polinomios}     bla bla bla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla      bla bla bla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla      bla bla bla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla      bla bla bla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla           \seccionDeEjercicios     \begin{ejer}     Efectúe las operaciones indicadas. Exprese el resultado como un     polinomio reducido.     \begin{multicols}{2}     \begin{enumerate}     \item $\left( x+\dfrac{1}{2}\right) ^{2}$     \item $\left( 3-2x\right) ^{2}$     \item $\left( x-\dfrac{2}{3}\right) ^{3}$     \item $\left( 2-x\right) ^{3}$     \item $\left( 2x^{2}-\dfrac{1}{2}+x^{2}\right) ^{2}$     \item $\left( -x-y\right) ^{2}$     \item $\left( -x-y\right) ^{3}$     \item $\left( -x-2y-4x\right) ^{3}$     \item $-\left( 2x^{3}-3t^{3}\right) ^{2}$     \item $\left(-2+x^{2}-3c-x^{2}\right) ^{2}$     \item $\left( \dfrac{x+2u^{2}}{3}\right) ^{2}$     \item $-\left( \dfrac{x^{2}-u^{2}}{2}\right) ^{2}$     \item $\left( \left( x-r\right)^{2}-r^{2}\right) ^{2}$     \item $3\left( x-2t\right) ^{4}-3\left(2t-x\right) ^{4}$     \end{enumerate}     \end{multicols}          \begin{respuesta}     \begin{multicols}{2}     \begin{enumerate}     \item $x^{2}+x+\dfrac{1}{4}$      \item $4x^{2}-12x+9$      \item $ x^{3}-2x^{2}+\dfrac{4}{3}x-\dfrac{8}{27}$     \item $-x^{3}+6x^{2}-12x+8$     \item $ 9x^{4}-3x^{2}+\dfrac{1}{4}$     \item $ x^{2}+2xy+y^{2}$     \item $-x^{3}-3x^{2}y-3xy^{2}-y^{3}$     \item $-125x^{3}-150x^{2}y-60xy^{2}-8y^{3}$     \item $-9t^{6}+12t^{3}x^{3}-4x^{6}$     \item $9c^{2}+12c+4$     \item $\dfrac{4}{9}u^{4}+\dfrac{4}{9}u^{2}x+\dfrac{1}{9}x^{2}$     \item $-\dfrac{1}{4}u^{4}+\dfrac{1}{2}u^{2}x^{2}-\dfrac{1}{4}x^{4}$     \item $4r^{2}x^{2}-4rx^{3}+x^{4}$     \end{enumerate}     \end{multicols}     \end{respuesta}     \end{ejer}          \begin{ejer}     Determine el cociente y el residuo en cada caso.          \begin{enumerate}     \item $\left( 2x^{3}-x^{2}+2x-1\right) \div \left( x-2\right) $     \item $\left( 4x^{3}+2x^{2}-3x-5\right) \div \left( 2x-1\right) $     \item $\left( x^{8}+x^{6}+x^{4}-x^{2}+x\right) \div \left( x-3\right) $     \item $\left( x^{4}-x^{3}-x^{2}+x^{3}+1\right) \div \left( -x+1\right) $     \item $\left( x^{3}+x^{6}+2x^{5}-\dfrac{x^{2}}{2}+x\right) \div \left(x-1\right) $     \end{enumerate}     \end{ejer}          \newpage     \begin{ejer}     Efectúe las operaciones indicadas. Exprese el resultado como un     polinomio reducido.          \begin{enumerate}     \item $-(7x^{2}+3x-4)+(8-x^{2}+5x^{3})-(2x^{3}+3x^{2}-5+8x)$     \item $\left( 11x^{3}-x+7\right) -\left( 2x-4x^{3}-6\right) +\left(7x^{2}-9x+4\right) $     \item $\left( x^{2}+2xy+4y^{2}\right) \left( x-2y\right) $     \item $5a^{3}b^{2}\left( ab^{2}-b+4a\right) -(8a^{3}b^{3}-10a^{4}b^{4})$     \item $(3x^{2}-8x+7)(x^{3}+x)+(2x^{3}-6x+2)$     \item $\dfrac{-36x^{2}y^{2}+24x^{2}y^{2}}{-12x^{2}y^{2}}$     \item $\dfrac{2a^{4}b^{6}c-4a^{5}b^{3}c^{2}+5a^{3}b^{3}c^{3}}{2a^{2}b^{3}c}$     \item $19x^{2}-10x^{3}+x^{5}-14x+6)\div (x^{2}+1-2x)$     \item $(2x^{3}-31x+35-x^{2})\div (2x-7)$     \item $(2-x^{5})\div (x^{2}+1)$     \item $(3x-5x^{2}+9+x^{3})\div (3-x)$     \item $(2x+3)^{2}-(2x-3)^{2}$     \item $(3x+1)(x+4)-(x+2)^{2}$     \item $(7x^{2}-6)(x+1)+(3x-4)^{3}$     \item $-5(a-b^{2})^{2}+(3a+b)^{3}$     \item $(2x^{2}-3)(3x^{2}-5)-(5x^{2}+6)^{2}$     \item $3x(x-2)+(3x-1)(x+5)-(3-x)^{3}$     \item $\left( 7a+1\right) \left( 7a-1\right) -\left( 4a+1\right)^{3}+2a^{2}\left(      a-\dfrac{1}{4}\right) ^{2}$     \end{enumerate}          \begin{respuesta}     \begin{multicols}{2}     \begin{enumerate}     \item[1.] $3x^{3}-11x^{2}-11x+17$     \item[3.] $x^{3}-8y^{3}$     \item[5.] $3x^{5}-8x^{4}+12x^{3}-8x^{2}+x+2$     \item[7.] $-2a^{3}c+a^{3}b^{3}+\frac{5}{2}ac^{2}$     \item[9.] $x^{2}+3x+5$     \item[11.] $-x^{2}+2x+3$      \item[13.] $2x^{2}+9x$     \item[17.] $x^{3}-3x^{2}+35x-32$     \end{enumerate}     \end{multicols}     \end{respuesta}     \end{ejer}          \Closesolutionfile{solucionario}          \input{solucionario}     \end{document}      **Edit:** Here the relevant code of my class, with chapters based on `fncychap` (as requested). Some code to differentiate the style of the chapters, was provided by egreg in this.               \NeedsTeXFormat{LaTeX2e}[2009/09/24]     \ProvidesClass{libro}          \LoadClassWithOptions{book}     \RequirePackage[pdftex]{graphicx}     \RequirePackage[latin1]{inputenc}     \RequirePackage[spanish]{babel}     \RequirePackage{amsmath,amsfonts,amssymb,amsthm}     \RequirePackage{array}     \RequirePackage{fancyhdr}     \RequirePackage[Sonny]{fncychap}     \RequirePackage{afterpage}     \RequirePackage{thmtools}     \RequirePackage{multicol}     \RequirePackage{color}     \RequirePackage{import}     \RequirePackage[font=small]{caption}     \RequirePackage{float}     \RequirePackage{subfig}     \RequirePackage{ifthen}     \RequirePackage{calc}     \RequirePackage{remreset}     \RequirePackage{pb-diagram}     \RequirePackage[hidelinks]{hyperref}     \RequirePackage[capitalise,noabbrev,spanish]{cleveref}     \RequirePackage{answers}          % Chapters     \ChNameVar{\bf\LARGE}                    \ChNumVar{\LARGE}                        \ChTitleVar{\LARGE\normalfont}           \ChRuleWidth{0.5pt}                      \ChNameAsIs                              \ChTitleAsIs                             \renewcommand{\DOCH}{}     \renewcommand{\DOTI}[1]{%         \vspace*{-0.9cm}         \CTV\raggedleft\mghrulefill{\RW}\par\nobreak         \vskip 2\p@         \CNV\FmN{\@chapapp}\space\CNoV\Roman{chapter}.\space\CTV\FmTi{#1}\par\nobreak         \vspace*{-11\p@}         \mghrulefill{\RW}\par\nobreak         \vspace*{40\p@}}     \renewcommand{\DOTIS}[1]{%         \vspace*{-9mm}         \CTV\raggedleft         \CTV\FmTi{#1}\par\nobreak         \vspace*{-11\p@}         \mghrulefill{\RW}\par\nobreak         \vspace*{40\p@}}               \renewcommand\@seccntformat[1]{         {\csname the#1\endcsname}.\hspace{0.5em}}     \renewcommand\section{\@startsection         {section}{1}{0mm}                        {6pt}                                    {1pt}                                    {\bfseries}}                              \renewcommand\paragraph{\@startsection         {paragraph}{3}{0cm}                      {6pt}                                    {1pt}                                    {\bfseries}}                              \newcounter{cuentaEjercicios}[section]     \renewcommand{\thecuentaEjercicios}{\Alph{cuentaEjercicios}}     \declaretheoremstyle[%       spaceabove=1em,%       spacebelow=1em,%       headfont=\normalfont,%       postheadspace=1em,%       headpunct={.}]{estiloDeEjercicio}       \declaretheorem[         name={},         style=estiloDeEjercicio,         refname={Ejercicio},         numberlike=cuentaEjercicios     ]{ejer}          \newcounter{definicion}     \declaretheoremstyle[%       spaceabove=6pt,%       spacebelow=6pt,%       headfont=\normalfont\bf,%       notefont=\normalfont\bf,       notebraces={{}{}},       bodyfont=\itshape,       headpunct={.}]{estiloDeDefinicion}       \declaretheorem[         name={Definici\'on},         numberlike=definicion,         style=estiloDeDefinicion]{defi}               \let\c@hapter\chapter     \renewcommand{\chapter}{       \ifnum\value{chapter}>0          \cambiarseccionydefi          \let\chapter\c@hapter       \fi         \c@hapter     }     \def\cambiarseccionydefi{%        \renewcommand\section{\@startsection{section}{1}{0mm}{6pt}{1pt}{\Large}}%        \@addtoreset{definicion}{section}%        \renewcommand{\thedefi}{\thesection.\arabic{definicion}}%      }          \newcommand{\seccionDeEjercicios}{%       \newpage%       \kern 5mm       \hrule       \kern 3mm       \null \hfill {\large Ejercicios~\thesection.~\rightmark}\par       \kern 3mm       \hrule       \kern 5mm     }               \newcommand{\Z}{\ensuremath{\mathbb{Z}}}     \newcommand{\R}{\ensuremath{\mathbb{R}}}     \newcommand{\N}{\ensuremath{\mathbb{N}}}     \newcommand{\Q}{\ensuremath{\mathbb{Q}}}     \newcommand{\nin}{\not \in}     \newcommand{\ds}[1]{\displaystyle{#1}}          \fancypagestyle{respuestas}{%         \fancyhf{}%         \fancyhead[LO]{\small\slshape Soluciones a los ejercicios}%                    \fancyhead[RE]{\small\slshape Soluciones a los ejercicios}%                    \fancyhead[LE,RO]{\thepage}}          \AtBeginDocument{          \addtocontents{toc}{\protect\markboth{\small\textsl Contenidos}{\small\textsl          Contenidos}}         \pagestyle{fancy}         \fancyhf{}         \renewcommand\headrulewidth{0pt}         \renewcommand{\chaptermark}[1]{\markboth{#1}{}}              \renewcommand{\sectionmark}[1]{\markright{#1}{}}         \fancyhead[LO]{\small\textsl{\leftmark}}                     \fancyhead[RE]{\small\textsl{\rightmark}}                    \fancyhead[LE,RO]{\thepage}                                  \Opensolutionfile{solucionario}         \Newassociation{respuesta}{Res}{solucionario}         \renewcommand{\Res}[1]{\textbf{Ejercicio #1.}}         \Writetofile{solucionario}{\protect\chapter*{Respuestas}}         \Writetofile{solucionario}{\protect\pagestyle{respuestas}}     }


title: I am using algebraic option but why must I specify some constants that are only needed for expressions written in RPN?

text: Please consider `\pstVerb{/#2 \csname#2\endcsname\space def}` in the following code snippet.               \newcommand\const[3][3]{%         \edef\next{round(#3}%             \expandafter\FPeval\csname#2\expandafter\endcsname             \expandafter{\next:#1)}%         \pstVerb{/#2 \csname#2\endcsname\space def}%     }      Its purpose is to define a constant for expressions written in RPN notation. My complete code below               \documentclass[pstricks,border=12pt]{standalone}     \usepackage{pst-plot}     \usepackage[nomessages]{fp}          \newcommand\const[3][3]{%         \edef\next{round(#3}%             \expandafter\FPeval\csname#2\expandafter\endcsname             \expandafter{\next:#1)}%         \pstVerb{/#2 \csname#2\endcsname\space def}%     }               \const{Vox}{2}     \const{Xo}{1}          \const{Voy}{4}     \const{Yo}{10}          \const{G}{10}          \def\X(#1){Xo+Vox*#1}     \def\Y(#1){Yo+Voy*#1-0.5*G*#1^2}          \const{Tp}{Voy/G}     \const{Toffset}{0.5}               \const{Tf}{2*Tp+Toffset}          \const{Xp}{\X(Tp)}     \const{Yp}{\Y(Tp)}     \const{Xf}{\X(Tf)}     \const{Yf}{\Y(Tf)}          \usepackage{fourier}     \begin{document}     \begin{pspicture}(0,\Yp)(\Xf,\Yf)         \psframe*[linecolor=lightgray](0,\Yf)(\Xo,\Yo)         \psparametricplot[algebraic,linecolor=red,linestyle=dashed]{0}{\Tf}{\X(t)|\Y(t)}         \rput[B]{45}(\Xp,\Yp){\bomb}     \end{pspicture}     \end{document}      use `\psparametricplot[algebraic,linecolor=red,linestyle=dashed]{0}{\Tf}{\X(t)|\Y(t)}` with `algebraic` option. As you can see there is no expressions written in RPN notation. However, if I disable `\pstVerb{/#2 \csname#2\endcsname\space def}` (by commenting it with `%`), the compilation successes in `latex` and `dvips` phases but fails in `ps2pdf` phase with               Error: /undefined in Xo     ... <other errors go here but omitted for brevity> ....      I am using `algebraic` option but why must I specify some constants that are only needed for expressions written in RPN?


title: Changing fontsize within soul underline

text: This question is related to How to create a newcommand for fontsize?. I would like to change the fontsize within `\ul` of the `soul` package. For example:               \newcommand{\mycfs}[1]{\fontsize{#1pt}{1.2#1pt}\selectfont}      \soulregister{\mycfs}{1}          \ul{{\mycfs{6} Size 6 font} Normal size font}      This error message occurs: `! Package soul Error: Reconstruction failed.` How can this be fixed?


title: Coordinate system along line

text: I would like to draw a coordinate system along some lines in a framework for a structural course. This little coordinate system is called local coordinate system. At the moment the framework looks like this:               \documentclass{article} % say     \usepackage{tikz}     \usetikzlibrary{calc}     \begin{document}          \begin{tikzpicture}[scale=1,inner sep=0pt,thick,dot/.style={draw,circle,minimum size=4pt}]          \draw [help lines] (0,0) grid (3,4);     \node[dot] (2) at (0,0) [label={[label distance=1mm]270:2}] {};     \node[dot] (3) at (0,2) [label={[label distance=1mm]180:3}] {};     \node[dot] (1) at (0,4) [label={[label distance=1mm]90:1}] {};     \node[dot] (4) at (3,2) [label={[label distance=1mm]0:4}] {};     \node[dot] (5) at (2.5,4) [label={[label distance=1mm]45:5}] {};               \draw   (2) -- (3) node [midway,sloped,below] {3};     \draw   (3) -- (4) node [midway,above,sloped] {4};           \draw   (2) -- (4) node [midway,above,sloped] {6};                     %\draw [<->] (0,0.8) -- (0,0) -- (0.8,0);     %\draw[->] (-.1,1) -- (-.6,1) node[right] {$y$} coordinate(y axis);     %\draw[->] (-.1,1) -- (-.1,1.5) node {$x$} coordinate(x axis);          \end{tikzpicture}          \end{document}      ![Picture of the result of the code above](https://dl.dropboxusercontent.com/u/15908319/framework.png) And I want something like this: ![How I want it to look like](https://dl.dropboxusercontent.com/u/15908319/framework.jpg) But I don't know how to do that. Does anyone know that? And how do I get some space between the numbers on the lines?


title: Columns are not the same width in a table

text: I have the following code for a table, but I can't figure out why 2 columns are wider:               \newcolumntype{C}{>{\centering\arraybackslash}p{2em}}     \begin{table}[h]     \centering     \caption[]{\footnotesize\textbf{The initial conditions for Honeybee embryos.}}     \label{table: initial target bee}     \resizebox{0.7\textwidth}{!}{%     \begin{tabular}{|c|c|c|c|c|c|c|c|c|}     \hline      \multirow{2}{*}{Genes} & \multicolumn{4}{c|}{Initial values in Regions} & \multicolumn{4}{c|}{Target values in Regions}\\     \cline{2-9}     & R1 & R2 & R3 & R4 & R1 & R2 & R3 & R4  \\     \hline     \emph{e}& 0.7 & 0.7 & 0.7 & 0.7 & 0 & 0 & 0 & 0 \\     \hline     \end{tabular}     }     \end{table}      Any suggestion please?


title: LaTeX's \@tfor loop

text: Here is an interesting case. Please why is case 1 failing?               \def\expandsecond#1#2{\begingroup\edef\x{\endgroup\unexpanded{#1}#2}\x}       \def\maybe@ic@{%       \ifdim\fontdimen\@ne\font>\z@\else         \maybe@ictrue         % Case 1:         \expandsecond{\@tfor\reserved@a:=}\nocorrlist\do{\t@st@ic}%         % Case 2 (original):         %\expandafter\@tfor\expandafter\reserved@a\expandafter:%         % \expandafter=\nocorrlist\do{\t@st@ic}%         \ifmaybe@ic\sw@slant\fi       \fi     }     \def\t@st@ic{%       \expandafter\let\expandafter\reserved@b\expandafter=\reserved@a\relax       \ifx\reserved@b\@let@token         \maybe@icfalse         \@break@tfor       \fi     }      The error came from               \textit{foof}      Error:               ! Incomplete \iffalse; all text was ignored after line 163.     <inserted text>                     \fi     <*> italic-correction.tex      I get the same amusing problem with the following modifications:               \def\newtfor#1:={\new@tfor#1 }     \long\def\new@tfor#1#2\do#3{%       \edef\newfortmp{\unexpanded{#2}}%       \ifx\newfortmp\space\expandafter\@gobble\else\expandafter\@iden\fi       {\newtforloop#2\@nil\@nil\newtfor#1{#3}}%     }      \long\def\newtforloop#1#2\newtfor#3#4{%       \edef#3{\unexpanded{#1}}%       \ifx#3\@nnil\expandafter\@gobble\else\expandafter\@iden\fi       {#4\relax\newtforloop#2\newtfor#3{#4}}%     }     \long\def\breaknewtfor#1\newtfor#2#3{}          \def\maybe@ic@{%       \ifdim\fontdimen\@ne\font>\z@\else         \maybe@ictrue         % Case 1:         %\expandsecond{\newtfor\reserved@a:=}\nocorrlist\do{\t@st@ic}%         % Case 2:         \expandafter\newtfor\expandafter\reserved@a\expandafter           :\expandafter=\nocorrlist\do{\t@st@ic}%         \ifmaybe@ic\sw@slant\fi       \fi     }     \def\t@st@ic{%       \expandafter\let\expandafter\reserved@b\expandafter=\reserved@a\relax       \ifx\reserved@b\@let@token         \maybe@icfalse         \expandafter\breaknewtfor       \fi     }      **EDIT** (2012/08/13) Here is a M(N)WE:               \documentclass{article}     \usepackage{xspace}          \edef\x{catcode of comma=\the\catcode`\,\space,       \space catcode of stop=\the\catcode`\.}     %\show\x     %\show\nocorrlist          \makeatletter     \def\expandsecond#1#2{%       \begingroup\edef\x{\endgroup\unexpanded{#1}#2}\x     }     %\def\nocorrlist{.,\xspace} % source of the problem.     \def\maybe@ic{\futurelet\@let@token\maybe@ic@}     \def\maybe@ic@{%       \ifdim\fontdimen\@ne\font>\z@\else         \maybe@ictrue         % Case 1:         \expandsecond{\@tfor\reserved@a:=}\nocorrlist\do{\t@st@ic}%         % Case 2:         %\expandafter\@tfor\expandafter\reserved@a\expandafter         %  :\expandafter=\nocorrlist\do{\t@st@ic}%         \ifmaybe@ic\sw@slant\fi       \fi     }     \makeatother          \begin{document}     \textit{foof}. \textit{foof}!     \end{document}      The problem was caused by one of the packages I loaded: it did `\def\nocorrlist{.,\xspace}`.


title: Inserting a different font type in the same document

text: I am using `\usepackage[urw-garamond]{mathdesign}` (Garamond font) for the main font in my document, but I don't like how the produced `\mathcal{L}` looks like. I need that L to look like in default font. I looked here, and tried loading either pxfonts or txfonts, since that has 'normal' `\mathcal{L}`, but no luck :| So is it posible to combine those two? Since I'm writing something that contains Lie derivatives I made the following swich:               \newcommand{\Lie}{ \mathcal{L}}      so I don't have to write the mathcal part over and over. But I'd like it to look 'ordinary', not extra swirly :D


title: LaTeX template for writing a novel

text: I'd like to use LaTeX to write a novel. Could you recommend me any template?


title: floatfoot with ffigbox gives warning

text: I use a (I believe correct setup) of `floatrow`, to generate multiple `subfigure`s, which uses `\ffigbox` and I would like to use `\floatfoot` to generate a longer text below the `caption` for the group of floats. Every time I try to do so I get teh following warning: > pdflatex.exe: pop empty color page stack 0] (.../floatRow.aux) ) Now the fix of the warning is rather stange:   1. load `xcolor`   2. ensure that the `figure` environment has a location specifier e.g. `[h]` Here is the MWE with warning:               \documentclass{report}     \usepackage{caption}     \usepackage{floatrow}     \floatsetup{style=ruled,footposition=caption,capposition=bottom}   %make graphics look like booktables     \begin{document}     \begin{figure}         \centering         \ffigbox[\FBwidth]{\caption{flavours}\floatfoot{In a world of warnings}}{Dummy}     \end{figure}     \end{document}      and without               \documentclass{report}     \usepackage{xcolor}     \usepackage{caption}     \usepackage{floatrow}     \floatsetup{style=ruled,footposition=caption,capposition=bottom}   %make graphics look like booktables     \begin{document}     \begin{figure}[h]         \centering         \ffigbox[\FBwidth]{\caption{flavours}\floatfoot{In a world of warnings}}{Dummy}             \end{figure}     \end{document}      So here are the questions:   1. Am I doing something wrong? Missing something   2. Should I report this, and if so to whom?   3. It took me hours (literally) to figure this out, but I do not understand it, is there any logic behind it?   4. For some reason this workarround does not work in my large document. Any ideas for other fixes I can try in my main thesis? FYI: the actual usecase is to have a subfigure like here with a `floatfoot`. Also for this to work with the `subfloatrow` I put the caption as the first parameter and the `subfloatrow` as the second.


title: How to mark up different entry types (index/glossary/acronym/notation) at the same time in datagidx package?

text: I came across `datagidx` package, which is part of the `datatool` bundle, the killing feature of this package is that you can use it independently, not relying on external indexing applications, e.g., `xindy` or `makeidx`. One more feature, is that you can use it to address index, glossary (definitions), acronyms (abbreviations), notations, and it can be further extended to include customized databases as well, all by one package. I tend to keep the databases separate in different tex files and use `\input{<filenamen>}` in the main file to call for these databases.   Sometimes, one would like to do different things with different keywords in the text, the following possibilities might be in need:   * some words to appear in glossary + index   * some words to appear in acronyms + index   * some words to appear in glossary + acronyms + index  **Question:**   How to address this need for these different possibilities using one command at a time? keeping in mind, and to make life easier, one would like to use always the short version of the entry in the text flow (to avoid typos as much as possible), while displaying the long version in the target list. **Notes:**   Please Make sure to have at least version 2.13 of `datatool` bundle which will load `datagidx`


title: Problem with using the list command with cross-referencing

text: I am facing a problem with the use of list command. I need to generate lists with specific numbering systems and then cross-reference them in different parts. By using the list command I am able to create lists with the correct system of numbering. However when I use the \ref command to refer back to them it only prints the Arabic numeral equivalent of the entry instead of the numbering system I have used. Is there any way I could resolve this so that I could get the correct cross-reference inserted. To illustrate my problem I have written a short code for this which states my problem too. * * *               \documentclass[12pts,a4paper]{report}     \usepackage{graphicx}     \usepackage{hyperref}     \usepackage{color}          \newcounter{sections}     \newcounter{sub-section}     \newcounter{clause}     \newcounter{sub-clause}     %this is the counter command            \title{Problem with cross-referencing using list command}          \author{Shubho Roy}          \begin{document}     \maketitle               \begin{list}{(\arabic{sub-section})}{\usecounter{sub-section}}     \item This is some text in sub-section which is using Arabic       numerals. \label{sub-sec:arabic_numerals}     \begin{list}{(\alph{clause})}{\usecounter{clause}}     \item This is a clause which is using alphabetical numbering     \label{clause:alphabetical}     \begin{list}{(\roman{sub-clause})}{\usecounter{sub-clause}}     \item This is a sub-clause using roman numbering. \label{sub-clause:roman_numerals}     \end{list}         \end{list}         \end{list}               \begin{itemize}     \item If I refer to the sub-section using the ref command I get a correct     reference like this: \ref{sub-sec:arabic_numerals}          \item However when I refer to the clause list which is a nested list and     uses alphabetical numbering I still get Arabic numbering as reference:     \ref{clause:alphabetical}. I would like this to be (a)          \item The same problem is available in the case of sub-clause list where I     should get roman numerals but I still get the Arabic numeral:     \ref{sub-clause:roman_numerals}. I would like this to be (i)          \end{itemize}          \end{document}      The problem arising when I use label to reference to different parts of the document. The `hyperref` command sends it to the correct link but the numbering printed is always in Arabic while I have used other numbering systems for this. Any help!!


title: autocompletion in Texshop 3.18

text: I can not find the `autocompletion.plist` in the Texshop 3.18. Is there another way to redefine the autocompletion for this version?


title: Using doc/docstrip with other computer languages

text: The docstrip `package` mentions that it can be used to strip files of computer languages other than (La)TeX. I am looking to find a way to document other languages, for example JavaScript in a literate way.               /*          Some comment lines         here and here.     */     function Apple (type) {         this.type = type;         this.color = "red";         this.getInfo = function() {             return this.color + ' ' + this.type + ' apple';         };     }      Can someone post a minimal example (MWE) for such usage? Any other strategy one can use?


title: Why does TeX not like \usepackage?

text: My prof writes papers with `harvmac`, which is apparently incompatible with LaTeX. Fine, I switch to tex. Now TeX gives me `Undefined control sequence` when I type `\usepackage{amsmath}`. There's gotta be some equivalent to `\usepackage` (I've tried `\usepackage{amsmath.sty}` but it doesn't work). Or maybe I'm completely hosed because `amsmath`/`harvmac` are fundamentally incompatible?


title: Use whizzyTeX with emacs on Windows

text: today I know whizzyTeX can be use with Emacs on Windows. But I don't know how to install it. Can anyone help me install whizzyTeX on Windows?. I had installed 24.2.


title: ConTeXt: How to achieve fine-grained font size control over the \type command?

text: In below minimum working example, I was able to configure the `bodyfont` in `\setuptyping` to 9.5pt. However, ConTeXt `\setuptype` documentation is not as detailed to explain me how I can achieve the same fine-grained control over the font size of the `\type{}` command. For the moment I have helped myself with `\setuptype[style=small]`. I would rather like to specify the teletype (verbatim) font size in pt units or, even better, relatively to the main body font size. How can this be done? Here is the current output of below MWE code: ![How to achieve fine-grained verbatim font size control?](http://i.stack.imgur.com/f26iH.png)               \startmode[*mkii]       \enableregime[utf-8]         \setupcolors[state=start]     \stopmode     \mainlanguage[en]          \setuptolerance[horizontal, tolerant, stretch]          % Enable hyperlinks     \setupinteraction[       state=start,       style=normal,       color=darkred,       contrastcolor=darkred       ]          \setuppapersize [A4][A4]     \setuplayout    [width=middle,  backspace=1.5in, cutspace=1.5in,                      height=middle, topspace=0.75in, bottomspace=0.75in]          \setuppagenumbering[location={footer,center}]          \usetypescript[pagella]     \setupbodyfont[pagella,12pt]     \setupbodyfontenvironment[12pt][       d=28pt, % For title       a=12pt, % For author & date       ]     \setuptype[style=small]     \setuptyping[typing][bodyfont=9.5pt]          % Inter-paragraph spacing     \setupwhitespace[medium]          % Break at hyphens     \setbreakpoints[compound]          \setuphead[chapter]      [style=\bfd]     \setuphead[section]      [style=\bfc]     \setuphead[subsection]   [style=\bfb]     \setuphead[subsubsection][style=\bf]          \setupitemize[autointro]    % prevent orphan list intro     \setupitemize[indentnext=no]          \starttext     \section[adding-unstable-repositories]{Adding Unstable repositories}          Once \type{/etc/apt/preferences} is properly configured, it is safe to add the      Debian Unstable repositories. This can either be done by directly     editing the file \type{/etc/apt/sources.list} or, more conveniently, by     adding the repositories via     \type{Settings > Repositories > Other Software} in the Synaptic Package     Manager.          \quotation{Repositories} is written in plural, simply because {\em the     source repository also needs to be included.} This is because a small      minority of Debian packages are not pre-compiled and     require their source code in order to compile on your system.          {\em To optimise download speed, choose a nearby Unstable repository}     with the help of \useURL[url9][http://debgen.simplylinux.ch/][][the     Debian Sources List Generator]\from[url9]. In my case, being located in     Belgium, I added:          \starttyping     deb http://ftp.be.debian.org/debian unstable main contrib non-free     deb-src http://ftp.be.debian.org/debian unstable main contrib non-free     \stoptyping     \stoptext


title: What does "\lettrine" do?

text: I have seen the command a few times and I want to know what `\lettrine` does and whether you have to use a package in order for it to work.


title: Putting table in a theorem environment sends it to the very end of the document

text: I'd like to illustrate my `\begin{example} \lipsum[2] \end{example}` with a table yet adding the table to the environment sends it to the very end of the document:               \documentclass{article}     \usepackage{wrapfig, lipsum, amsthm, thmtools}     \declaretheorem[style=remark,name=Example]{example}     \begin{document}          \begin{example}          \begin{wraptable}{r}{5.5cm}         \begin{tabular}{cc}         \hline         header-a & header-b \\          1 & 2 \\          3 & 4 \\           \hline         \end{tabular}     \end{wraptable}           \lipsum[2]          \end{example}          \lipsum[2]          \end{document}      And this is how it looks like: ![table](http://i.stack.imgur.com/K6R2R.png)


title: Optimized creation of text nodes

text: I have created a block diagram with several nodes with text and I need to optimize the node creation and hopefully use the `\foreach` construct to automate the creation of each node with its associated text. Moreover, is it a good idea to connect `(ant)` and `(ant2)` nodes with the `(ch)` node as I suggested in the following code? I appreciate your ideas. Here is my code:               \documentclass[10pt,a4paper]{standalone}     \usepackage[latin1]{inputenc}     \usepackage{amsmath}     \usepackage{amsfonts}     \usepackage{amssymb}     \usepackage{graphicx}     \usepackage{times}     \usepackage{tikz}     \usetikzlibrary{calc,intersections}     \usetikzlibrary{arrows,positioning,shapes}     \begin{document}          \def\sp{4mm}     \begin{tikzpicture}     [line join=round, >=latex', blk/.style={draw,minimum height=1.4cm,align=center}, node distance=\sp, scale=0.8,line width=0.7pt]          \node  [blk] (a) at (-8,5)  {Binary \\sources};     \node  [blk, right=of a](b) {Source \\coding};     \node  [blk, right=of b](c) {Channel \\coding};     \node  [blk, right=of c](d) {Pulse\\ modulation};     \node  [blk, right=of d](e) {Bandpass\\ modulation};     \node  [blk, right=of e](f) {Digital-\\to-analog\\ converting};     \node  [blk, right=of f](g) {RF\\ front end};          \node  [blk, below left= 10*\sp and 0.0*\sp of a] (a2){Binary \\sink};     \node  [blk, right=of a2]       (b2){Source \\decoding};     \node  [blk, right=of b2]       (c2){Channel \\decoding};     \node  [blk, right=of c2]       (d2){Detection};     \node  [blk, right=of d2]       (e2){Demod.\\and\\sampling};     \node  [blk, right=of e2]       (f2){Timing,\\synch, and\\equalization};     \node  [blk, right=of f2]       (g2){Analog-\\to-digital\\ converting};     \node  [blk, right=of g2]       (h2){RF\\ front end};          \foreach \x/\y in {a/b,b/c,c/d,d/e,e/f,f/g}     \draw [->](\x) -- (\y);          \foreach \x/\y in {a2/b2,b2/c2,c2/d2,d2/e2,e2/f2,f2/g2,g2/h2}     \draw [<-](\x) -- (\y);          % antennas, ant1:     \node [circle,minimum height=\sp,above right=of g](ant){};     \draw (ant.west)--(ant.east)-- (ant.south)--(ant.west)--cycle;     \draw (g) -| (ant.center);     % ant2:     \node [circle,minimum height=\sp,above right=of h2](ant2){};     \draw (ant2.west)--(ant2.east)--(ant2.south) -- (ant2.west)--cycle;     \draw (h2) -| (ant2.center);          %channel     \node [draw,minimum height=1cm,align=center,above=4*\sp of ant2](ch){Wireless\\channel};          %Transmissions, Upper:     \node [circle,minimum height=.7\sp](tr1)at($(ant)!.55!(ch.north)$){};     \draw [->](ant)--(tr1.south west)--(tr1.north east)--(ch.north);     %Lower:     \node [circle,minimum height=.7\sp](tr2)at($(ch.south)!.45!(ant2)$){};     \draw [->](ch.south)--(tr2.south west)--(tr2.north east)--(ant2);          \end{tikzpicture}          \end{document}      @LaRiFaRi-- I couldn't put long code in comments. You have provided a good code with nice looking radiation style. But technically (for this very system) the Wi-Fi decoration is not accepted and we should stick to the shape I suggested for wave propagation. So now, how could we possibly improve the following code? Also, any suggestions for the two dashed boxes with text? I appreciate your help. My improved code:               \documentclass[10pt,tikz]{standalone}     \usepackage[utf8]{inputenc}     \usepackage[T1]{fontenc}     \usepackage{times}     \usetikzlibrary{arrows,positioning,calc,decorations.pathreplacing}     \begin{document}          \def\sp{4mm}     \tikzset{     blk/.style={draw,minimum height=1.4cm,align=center}     }     \tikzset{     sq/.style={shape=rectangle,sloped,minimum height=0.7\sp, minimum width=0.7\sp}     }     \tikzset{     dashedBox/.style={shape=rectangle,draw,dashed,minimum height=6*\sp,align=center}     }     \begin{tikzpicture}[line join=miter,line cap=round, >=latex', node distance=\sp, scale=0.8,line width=0.7pt]          \node  [blk] (a) at (-8,5)  {Binary\\sources};     \node  [blk, right=of a](b) {Source\\coding};     \node  [blk, right=of b](c) {Channel\\coding};     \node  [blk, right=of c](d) {Pulse\\modulation};     \node  [blk, right=of d](e) {Bandpass\\modulation};     \node  [blk, right=of e](f) {Digital-\\to-analog\\ converting};     \node  [blk, right=of f](g) {RF\\front end};          % Dashed Box     %\coordinate (L)at([yshift=3*\sp,xshift=-.5*\sp] d.north west);     %\coordinate (R)at([yshift=-.5*\sp,xshift=.5*\sp]e.south east);     %\draw [dashed](L) rectangle (R);     \node [dashedBox,yshift=\sp,minimum width=11.2*\sp](B1)at($(d.west)!0.5!(e.east)$){};     \node at(B1.north)[below,align=center]{Digital Modulation};               \node  [blk, below= 9*\sp of a.west, anchor=west] (a2){Binary\\sink};     \node  [blk, right=of a2]       (b2){Source\\decoding};     \node  [blk, right=of b2]       (c2){Channel\\decoding};     \node  [blk, right=of c2]       (d2){Detection};     \node  [blk, right=of d2]       (e2){Demod.\\and\\sampling};     \node  [blk, right=of e2]       (f2){Timing,\\synch, and\\equalization};     \node  [blk, right=of f2]       (g2){Analog-\\to-digital\\converting};     \node  [blk, right=of g2]       (h2){RF\\front end};          % Dashed Box     \node  [dashedBox,yshift=1*\sp,minimum width=10*\sp](B2)at($(d2.west)!0.5!(e2.east)$) {};     \node at(B2.north)[below,align=center]{Digital Demodulation};          \foreach \x/\y in {a/b,b/c,c/d,d/e,e/f,f/g}     \draw [->](\x) -- (\y);          \foreach \x/\y in {a2/b2,b2/c2,c2/d2,d2/e2,e2/f2,f2/g2,g2/h2}     \draw [<-](\x) -- (\y);          % antennas, ant1:     \node [circle,minimum height=\sp,above right=of g](ant){};     \draw (ant.west)--(ant.east)-- (ant.south)--(ant.west)--cycle;     \draw (g) -| (ant.center);     % ant2:     \node [circle,minimum height=\sp,above right=of h2](ant2){};     \draw (ant2.west)--(ant2.east)--(ant2.south) -- (ant2.west)--cycle;     \draw (h2) -| (ant2.center);          %channel     \path (ant)--node(ch)[draw,align=center]{Wireless\\channel}(ant2.south east);          %Transmission 1     \path(ant)--node(tr1)[sq]{}(ch);     \draw [->,shorten >=2pt](ant)--(tr1.south east)--(tr1.north west)--(ch);     %Transmission 2     \path(ch)--node(tr2)[sq]{}(ant2);     \draw [->,shorten >=2pt](ch)--(tr2.north east)--(tr2.south west)--(ant2.center);     \end{tikzpicture}     \end{document}      And here is the output: ![enter image description here](http://i.stack.imgur.com/VkX7D.png)


title: Using boxes (from \savebox) across beamer frames

text: I'm trying to use `\usebox` on different frames but it doesn't work as (I) expected. On the following example, I expected the second slide also containing one second ellipse.               \documentclass{beamer}     \usepackage{tikz}     \begin{document}     \newsavebox{\MyBox}     \begin{frame}         \savebox{\MyBox}{             \begin{tikzpicture}                 \draw (0,0) ellipse (1cm and 2cm);             \end{tikzpicture}         }         \usebox{\MyBox}     \end{frame}     \begin{frame}         \usebox{\MyBox}     \end{frame}     \end{document}      PS: The reason I'm trying to do this is to create a thumbnail of a picture so that when you you click you jump to the slide containing it.


title: Error in siunitx with TeXlive 2012? 'missing $' with inter-unit-product option

text: With the latest TeXlive update to the 2012 version, for some reason I am getting `missing $ inserted` messages, when using the `inter-unit-product` option for `\si`. For example, this is taken directly from the PDF documentation:               \documentclass{minimal}          \usepackage{mathtools}     \usepackage{siunitx}          \begin{document}     \[         \si[inter-unit-product={}\cdot{}]{\farad\squared\lumen\candela}     \]     \end{document}      and it fails to compile for me with the above error.


title: How to view messages/log files in kile?

text: I am using text editor 'kile 2.1 beta 4' on the system 'ubuntu 10.04' . But in kile I can,t view the 'messages/log files' : ![enter image description here](http://i.stack.imgur.com/OYy9T.png) Here is an screenshot of my 'kile' is given below :   ![enter image description here](http://i.stack.imgur.com/R1xTM.png) How can I view 'messages/log files' ?


title: A challenge: How to reorganize the horizontal hline in the Table

text: I have done this table: ![enter image description here](http://i.stack.imgur.com/LIJo2.png) But I wish to have the left column with labels 1 in the Class, all join together into a single block. And similarly, I wish to have the left column with labels 2 in the Class, all join together into a single block. In short, we only need to show 1 just once, and 2 just once. Here is my Tex code:               \begin{table}[!h]     \begin{tabular}{|c||c| c|}      \hline     Class \; & \;  math  & \; type\\ \hline      1\; & \;  spin  & \; a \\ \hline      1\; & \;  statistics & \;   b \\ \hline      1\; & \; string  & \;  c \\ \hline     2 \; & \;   spin  & \; d \\ \hline     2\;  & \;  statistics & \; e \\ \hline     2\;  & \;  string  & \; f \\ \hline      \end{tabular}     \caption{  }     \label{}     \end{table}      Thank you for all experts, if there is any comment and answer please!


title: Why does the use of microtype and xfrac lead to a long compile time?

text: While I was discussing another issue I came across this problem: I included the `xfrac` package and the compile time of my document 100folded. After playing around I found out that `microtype` caused the problem. Assume the following document:               \documentclass{minimal}     \usepackage{microtype}     \usepackage{xfrac}     \begin{document}     Divide $4$ by $2$: $\sfrac{4}{2}=\sfrac{40}{20}\neq     \sfrac{42}{22}\neq\sfrac{2}{3}=\sfrac{4}{6}$. If you use many     $\sfrac{1}{2}$, $\sfrac{7}{8}$ and     microtype together it will take loooong to compile.     \end{document}      If you insert more copies of the text you'll encounter longer compile times. I inserted 16 copies and the document compiled ~20 seconds. When I remove the `microtype` package it will compile in under one second. Can anybody explain why it takes that long? Is it maybe a bug in `microtype`?


title: Whitespace surrounding elements in a matrix

text: I was just wondering, when writing a matrix in the following way               \begin{pmatrix}         \begin{array}{cc}         -5 & 3 \\                    6 & -4         \end{array}     \end{pmatrix}      I get quite a lot of unnecessary padding/white-space between the elements and the brackets. Is there any way of controlling this?


title: Missing $ inserted when printing numerical phrase

text:
Thanks for taking the time to reply, I did already search the forums and google and know this is a common problem but none of the suggestions I found worked. When trying to use latex to print the phrase "640x480 which drops to 12 FPS with a resolution of 1280×960." I get:               :68 Missing $ inserted ...drops to 12 FPS with a resolution of 1280
     :68 Extra }, or forgotten $ ...drops to 12 FPS with a resolution of 1280
     :69 Missing $ inserted
      I gather this is because Latex thinks I wish to enter 'math mode' and so is placing `$` signs in for me. I've tried using `\text{}` as suggested in other posts but I get almost triple the amount of errors. I also tried enclosing the numbers like ''640x800'' to force it to be text but I get the same errors. Can anyone help me solve this?


title: Positioning table of contents

text: The below command works in `.tex` file to move the position of table of contents.               \frame {       \frametitle{Outline}       \hfill       \parbox{.73\textwidth}{         \tableofcontents       }     }      But I want to do the same from `.sty` files. How can I do it?


title: Conditionals in \newcommand

text: I find myself using the `\newcommand` macro a lot and apart from having the occasional difficulty with properly defining the optional parameter the macro works well. There is one serious limitation though, which I hope will show itself as being my ignorance rather than a limitation, namely the ability to make the macro definition subject to the particular value of a parameter. A simple example: I find frequent use of the expression {1, 2, ..., n} what I call an n-set and am using the following simple macro:               \newcommand{\myNset}{\{1,2,\dots,n\}}      Wouldn't it be helpful if I could pass an integer as parameter, make `n` its default, and produce {1,2} or {1,2,3) etc. if the parameter happens to be 2 or 3. Certainly beats the clumsy:               \newcommand{\myTwoset}{\{1,2\}}     \newcommand{\myThreeset}{\{1,2,3\}}      etc., which of course is too clumsy to be of use. Where draw the line?, at 10?, at 27? This may only be a trivial example, but I find applications for such conditional processing of my `\newcommand` macros time and time again, for instance in connection with creating matrices. It would take my use of LaTeX to whole new level. By the way, I have read through the relevant pages in the LaTeX Companion, but no luck.


title: Modifying biblatex @inbook bibliography, remove Ed. by and change ordering

text: > **Possible Duplicate:**   >  Biblatex, JEA style I'm using bib latex for managing my bibliography, I did some adjustments and so far I'm quite pleased with it. When I add an @inbook source to my bib-file I get the result in the bibliography like this: > Badelt, C., More-Hollerweger, E. (2007): Ehrenamtliche Arbeit im > Nonprofitsektor. In: Handbuch der Nonprofit Organisation - Strukturen und > Management. Ed. by C. Badelt, M. Meyer, R. Simsa. 4. Aufl. Stuttgart: > Schäffer-Poeschel, 503–531. I want to change it to this: > Badelt, C., More-Hollerweger, E. (2007): Ehrenamtliche Arbeit im > Nonprofitsektor. In: C. Badelt, M. Meyer, R. Simsa.: Handbuch der Nonprofit > Organisation - Strukturen und Management. 4. Aufl. Stuttgart: Schäffer- > Poeschel, 503–531. The "Ed. by" should be gone and the author(s) should be placed before the booktitle. This is my configuration:               \usepackage[         backend=bibtex8,         style=authoryear-icomp,         hyperref=true,         maxbibnames=9,         maxcitenames=3,         firstinits=true,         isbn=false,         url=false         ]{biblatex}     \usepackage[autostyle=true,german=quotes]{csquotes}     \DeclareFieldFormat{postnote}{#1} % no prefix «S.» before page in citation     \renewcommand{\labelnamepunct}{\addcolon\addspace} % colon instead of dot before title     \DefineBibliographyStrings{ngerman}{andothers={et\ al\adddot}} %et al. instead of u.a.     \DeclareFieldFormat{pages}{#1}% no prefix for the `pages` field in the bibliography          %comma between volume and number          \renewbibmacro*{volume+number+eid}{%       \printfield{volume}%       \setunit*{\addcomma\space}%       \printfield{number}%       \setunit{\addcomma\space}%       \printfield{eid}}          \DeclareFieldFormat{journaltitle}{{#1},} % journal title with comma          \DeclareFieldFormat[inbook,thesis]{title}{\mkbibemph{#1}\addperiod} % italic title with period          \DeclareFieldFormat[inbook]{booktitle}{#1} % booktitle of inbook is printed as normal text          \DeclareFieldFormat[article]{title}{\mkbibemph{#1}} % italic title of journal article          \DeclareNameAlias{sortname}{last-first} % sorting          \renewcommand*{\finalnamedelim}{\addcomma\space} % remove "and" before last author in bibliography, place right before \bibliography          \bibliography{bibliography}      Is there an easy way to do this? Thanks!


title: How can I get horizontal line of navigation dots in header of Singapore beamer theme?

text: I'm writing a presentation using the `Singapore` theme. The dots in the navigation bar are appearing vertically (one below the other) rather than horizontally. This is consuming a lot of space of my frames and is even not looking good presentation wise. I have seen presentations using this theme where the dots appear horizontally. How can I do this?![enter image description here](http://i.stack.imgur.com/wTyjK.jpg)


title: Axes in the foreground with PSTricks

text: With the code shown below, the grid is on the foreground (one can see red lines on the labels...):               \documentclass[11pt]{article}           \usepackage[letterpaper, textwidth=7in, textheight=9.5in]{geometry}          \usepackage{amsfonts,amsmath,amssymb}          \usepackage{pstricks}     \usepackage{pst-plot}          \begin{document}          \begin{pspicture}(-5,-5)(5,5)     \psaxes[Ox=0,Oy=0,Dx=1,Dy=1,showorigin=false,tickstyle=top]{->}(0,0)(-5.5,-5.5)(5.5,5.5)     \psgrid[gridcolor=red,gridwidth=0.75pt,gridlabels=0,subgriddiv=5,subgridwidth=0.25pt](0,0)(-5,-5)(5,5)     \end{pspicture}          \end{document}      ![enter image description here](http://i.stack.imgur.com/9MCA6.png) Is it possible to have the axes instead of the grid in the foreground?


title: forLoop does not accept negative step?

text: I try to use `\forLoop` for a countdown sequence:               \documentclass{minimal}          \usepackage{forloop}     \usepackage{fmtcount}          \begin{document}     \newcounter{idx}     \forLoop[-1]{10}{1}{idx}{\numberstring{idx}\\}     \end{document}      But this simply does not do anything. If the step is positive, everything is fine. I looked up the documentation for `forloop` and in the implementation `\addtocounter` was used to increment/decrement the counter. `\addtocounter` accepts negative values and effectively adds them to a specified counter. So my question is: what am I doing wrong here?


title: Spacing between item and description using description list

text: How can I get the same result as the code below without having to use `\quad` spacing? Is there any parameter in `enumitem` to adjust the horizontal spacing?               \begin{description}     \item{Item 1} \quad Description 1     \item{Item 2} \quad Description 2     \end{description}      MWE for alignment issue:               \documentclass{book}          %%% Paper format %%%     \usepackage[paper=a4paper,bottom=2cm,left=3cm,right=2cm,top=3cm,headheight=7mm,headsep=5mm,marginparsep=5mm,marginparwidth=10mm]{geometry}     %%%%%%%%%%%%%          \usepackage{enumitem}     \usepackage{amsmath}          \begin{document}     \chapter*{Lista de Simbolos}     \begin{description}[labelsep=4em, align=left]     \item[$b$] Taxa agregada de bits alcançável para o sistema     \item[$H(f)$] Espectro do canal     \item[$H_k$] Ganho do $k$-ésimo subcanal     \item[$P_x$] Potência total de transmissão     \item[$s_k$] Densidade espectral de potência do sinal no $k$-ésimo subcanal     \item[$Sx(f)$] Densidade espectral de potência do sinal na frequência contínua     \item[$Sn(f)$] Densidade espectral de potência do AWGN na frequência contínua     \item[$\text{SNR}_k$] Razão sinal-ruído no subcanal $k$     \item[$\mathbf{X}$] Vetor correspondente ao símbolo DMT     \item[$\mathbf{X}_+$] Vetor de subsímbolos dos tons positivos do símbolo DMT.     \item[$X_k$] Subsímbolo no $k$-ésimo tom do símbolo DMT     \item[$\Gamma$] \textsl[Gap] de SNR a capacidade     \item[$\Delta f$] Largura de banda do subcanal (espaçamento tonal).     \item[$\sigma_k$] Densidade espectral de potência do AWGN no $k$-ésimo subcanal     \end{description}     \end{document}


title: Figure and subfigure long caption wrap

text: \FBwidth declaration seems to work for subfigures and for parent figures only if subfigures are placed in the same row. With subfigures in separate rows, \FBwidth for figure caption does not measure the width of the largest subfigure but the sum of all subfigures' width. Is there a way to apply wrap to the figure's caption as well?               \documentclass{article}              \usepackage{subfig}         \usepackage{floatrow}         \usepackage[top=1cm,bottom=1cm,left=1cm, right=1cm]{geometry}              % For demo only         \usepackage[demo]{graphicx}               \begin{document}              In the following example, subfigures' captions are wraped to the size of each subfigure. Global caption is wraped to the size of both figures.              \begin{figure}[h]             \centering             \ffigbox[\FBwidth]{                 \begin{subfloatrow}[2]                          \ffigbox[\FBwidth]{                         \caption{A very very very very very very very very                             very very very very long subcaption}                     }                     {                         \includegraphics[width=4cm,height=4cm]{image1}                     }                          \ffigbox[\FBwidth]{                         \caption{A very very very very very very very very                             very very very very long subcaption that is even                             longer than the first}                     }                     {                         \includegraphics[width=4cm,height=3cm]{image1}                     }                           \end{subfloatrow}                  }             {                 \caption{And here's the caption to the main figure that                     seems to be working ok}                 \label{tournaments}             }         \end{figure}          Unfortunately, if subfigures are place on separate rows, the global caption wraps as if they were in the same row.                  \begin{figure}[h]             \centering             \ffigbox[\FBwidth]{                 \begin{subfloatrow}[1]                          \ffigbox[\FBwidth]{                         \caption{A very very very very very very very very                             very very very very long subcaption}                     }                     {                         \includegraphics[width=4cm,height=3cm]{image1}                     }                 \end{subfloatrow}                      \begin{subfloatrow}[1]                     \ffigbox[\FBwidth]{                         \caption{A very very very very very very very very                             very very very very long subcaption that is even                             longer than the first}                     }                     {                         \includegraphics[width=4cm,height=3cm]{image1}                     }                           \end{subfloatrow}                  }             {                 \caption{And here's the caption to the main figure that                     seems to be working ok}                 \label{tournaments}             }         \end{figure}          \end{document}      ![Sample](http://i.stack.imgur.com/OmcNx.png)


title: Disable movie15 movies and U3D graphics for printing

text: I am using the `movie15` package to include movies and U3D graphics into my document. I have it setup so that a PDF reader not supporting U3D will display a static image which I have chosen instead. However, when printing the document, Acrobat Reader will print the U3D graphics instead of the static images. While this does not look terrible, I'd rather have it print the static images. How can I achieve this? EDIT: Some code was requested.               \includemovie[     poster,     text={\includegraphics[width=0.5\linewidth]{fig/cross_curv}},     toolbar,      label=cross_curv,     3Drender=SolidWireframe,     3Daac=30.000000,      3Droll=0.000000,      3Dc2c=-8.000000 -15.709999 -8.000000,      3Droo=37.459366,      3Dcoo=-8.000000 8.000000 8.000000,     3Dlights=CAD,     ]{0.5\linewidth}{0.4890\linewidth}{figures/cross_curv.u3d}%      If the PDF reader does not support U3D, the file cross_curv.png will be displayed.


title: Representation of Cross Product: A tikz Approach

text: How can I produce the following graph in tikz: ![enter image description here](http://i.stack.imgur.com/IUPIo.jpg)


title: Equation environment definition

text: Where is the full definition of the equation environment? I cannot find it in the `.cls` files. Is this in `latex.ltx`? Or something?


title: Using ConTeXt Commercially ...

text: This webpage, http://tex.loria.fr/formats/context/base/readme.pdf, and many others _explicitly_ state that ConTeXt must not be used for some purposes; e.g. competing with Pragma ADE. However, the source code is GPL(ed), which explicitly states the _exact opposite_! What is the **real** usage policy of ConTeXt, or isn't there one?


title: Make beamer not look like beamer

text: I'm going to present my senior thesis in front of our faculty members, by using beamer. But rumor has it that some of them do not like beamer very much. So I decided to make my slides not look like made by using beamer, perhaps by making it look like fancy slides made using, e.g., Keynote. The problem is how to do this. I started by replacing Computer Modern with other fonts that are not associated with TeX, but I think I need more. If you've presented slides atypical of beamer slides, please let me know how you did it. I'd appreciate your help.


title: xypic: how to create an arrow between two arrows that do not share a common target and/or source

text: I've created the following diagram by using invisible arrows, I wonder if there is another solution without using them.               \documentclass{article}     \usepackage[all]{xy}     \newdir{:=}{{}} %creates an empty shaft directional, the ":=" is chosen "randomly"     \begin{document}     \[     \xymatrix{A\ar@/^{1pc}/[dd]^{a}="a"\ar@/_{1pc}/[dd]_{b}="b" & \ar@{:=}@/^{2.0pc}/[dd]^{{}}="a"\ar@{:=}@/_{3.8pc}/[dd]^{{}}="b"\ar@/^{1.5pc}/@{=>}^{X}"b";"a" & A'\ar@/^{1pc}/[dd]^{a'}="a"\ar@/_{1pc}/[dd]_{b'}="b"\\     \\     B &  & B'     }     \]     \end{document}      This gives the following diagram: ![enter image description here](http://i.stack.imgur.com/nTEfK.png)


title: Problems with \newgeometry by using landscape and minipage

text: I try to rotate a tikz-tree and a table which are in a minipage environment by using `\landscape` because the tree besides the table is to wide. Now, the tree and the table are not centered. The last column of the table is almost not on the page. Therefore I tried to use the geometry package with `\newgeometry{left=5mm,right=5mm,top=5mm,bottom=5mm}` and set the margins to 5mm (I only want it for a single page). Unfortunately this does not work. I always get an error. Furthermore the text in the first column in the table is not centered like in the others. What do I wrong? Here is my code:               \documentclass[doc,apacite]{apa}     \usepackage[utf8]{inputenc}     \usepackage[T1]{fontenc}     %%%%Tikz%%%%%%     \usepackage{tikz}     \usetikzlibrary{trees,matrix,fit}     \usetikzlibrary{shapes}     %%%%Table%%%%%     \usepackage{ctable} % needed for \cmidrule{}     \usepackage{multirow} % needed for \multirow{}     \usepackage{array}     \usepackage{booktabs}     \usepackage{tabularx}     %%%%%%%%%%%%%%     \usepackage{pgfkeys}     \usepackage{lscape}          \usepackage{geometry}     \geometry{paper=a4paper, left=35mm, right=35mm, top=35mm, bottom=30mm}           \newlength\sibdist     \setlength\sibdist{1cm}     %\newcommand\sibdist{1.5cm}          \begin{document}          \newgeometry{left=5mm,right=5mm,top=5mm,bottom=5mm}          \footnotesize     \begin{landscape}     \begin{minipage}[t]{290pt}     \vspace{40pt}     %\hspace{0pt}     % Set the overall layout of the tree     \tikzstyle{level 1}=[level distance=3.0cm, sibling distance=6cm]     \tikzstyle{level 2}=[level distance=5.0cm, sibling distance=4cm]     \tikzstyle{level 3}=[level distance=5.0cm, sibling distance=4cm]     % Define styles for bags and leafs     \tikzstyle{bag} = [text width=4em, text centered]     \tikzstyle{end} = [circle, minimum width=3pt,fill, inner sep=0pt]     \begin{tikzpicture}[grow=right,     sloped,     myrect/.style={draw=black,fill=white!100,text width=3cm,align=center,inner sep=5pt},     myellipse/.style={ellipse,draw=black,fill=black!0,inner sep=2pt,text width=2.8cm,align=center},     myrect2/.style={rectangle,rounded corners = 15,draw=black,fill=white!100,text width=3.3cm,align=center,inner sep=5pt},]     \node[myrect]{ario}         child {             node[myrect2]{itari}                         child {                     node[label=right:                         ,myrect2]{ntolog} {}                             child {node[myrect2]                             {ards}                             edge from parent                             node[above] {$R$}                             node[below]  {}}                             child {node[myrect2]                             {ndcy tow}                             edge from parent                             node[above] {$R+k$}                             node[below]  {}}                     edge from parent                     node[above] {$D-k$}                     node[below]  {}                 }                 child {                     node[myrect2]                         {omin}                     edge from parent                     node[above] {$D+k$}                     node[below]  {}                 }                 edge from parent                  node[above] {}                 node[below]  {$u$}         }         child {             node[myrect2]{nse}                     edge from parent                          node[above] {$u-k$}                 node[below]  {}         };     \end{tikzpicture}     \end{minipage}     \hfill     \begin{minipage}[t]{150pt}     \vspace{0pt}     \hspace{10pt}     %\begin{table}[h]     %\renewcommand{\arraystretch}{2.5}     \begin{tabular}{|m{1.6cm}|m{1.6cm}|m{1.6cm}|m{1.6cm}|}                       nt & nt & nt & nt \\ \hline \hline     \rule{0pt}{60pt} e & le & ble & able  \\ \hline     \rule{0pt}{60pt} H & H & H & H  \\ \hline      \rule{0pt}{60pt} m & m  & m  & e  \\ \hline     \rule{0pt}{60pt} le & le & le & le     \end{tabular}     %\renewcommand{\arraystretch}{1}     %\end{table}     \end{minipage}     \end{landscape}          \restoregeometry          \end{document}


title: order of packages: svg and tocloft

text: The following MWE illustrate the issue:               \documentclass{scrreprt}     \usepackage[clean,pdf]{svg}     \usepackage{tocloft}     \begin{document}     \includesvg[width=\textwidth{}]{legacy-ip-only}     \end{document}      It will not compile, because the following message is shown:               ! LaTeX Error: Command \c@lofdepth already defined.                    Or name \end... illegal, see p.192 of the manual.          See the LaTeX manual or LaTeX Companion for explanation.     Type  H <return>  for immediate help.      ...                                                        l.607   \newcounter{lofdepth}                                  \setcounter{lofdepth}{1}     ?       If `tocloft` will be included before `svg` the MWE compiles without any error. Why?


title: PreviewMacro for todonotes

text: I like auctex with Preview and would like my todonote `\todo`'s shown in my emacs browser. However, this will either not show at all or consist of the `\tikzpicture` building blocks, namely each line separately. Now I realized that `\todo[inline]` for the auctex preview. Is there a way to give each `\todo` the `[inline]` tag for preview in auctex? I realize there is the `#{argument}{replacement}` option in Preview, however I did not manage to cook up something that will work on               \todo{some note}       as well as               \todo[color=green]{some green note}      transforming them to               \todo[inline]{some note}      and               \todo[color=green,inline]{some green note}      respectively.


title: How write a one-sentence arabic text in a latin document?

text: Is it possible to write one line with arabic letter in a latin-alphabet document? something like               ...     How are you...     سۆمتینگ سۆمتینگ...     now the latin is continued here     ...      How about mixing with equation and so on? Please notice that I use tons of packages for writing maths and drawing Feynman-diagrams and the like. I have arabic/english keyboard.


title: Error when compiling xcolor.ins in TeXmaker to generate xcolor.sty file

text: I have downloaded `xcolor.ins` and `xcolor.dtx` from http://kern.heimat.eu/tex/xcolor.html These two files are in the same folder. When I run the `.ins` file I get the error message `Log file not found`. The `.ins` file is a simple script added below.               \def\batchfile{xcolor.ins}          \input docstrip.tex          \askforoverwritefalse          \generate{\file{xcolor.lox}{\from{xcolor.dtx}{extract}}}          \batchinput{xcolor.lox}          \endbatchfile      Does anyone know what is wrong?


title: Match spacing of align in array environment

text: To typeset some displayed equations, only the `array` environment was powerful enough. However, the spacing of the `array` environment doesn't match the spacing of the `align` environment. How do I set the spacing of the `array` environment, such that equals the vertical spacing of the `align` environment. For instance:               \begin{align*}     a & = b + c \\     d & = e + f     \end{align*}      and               \[\begin{array}{rl}     a & = b + c \\     d & = e + f     \end{array}\]      have different spacing.


title: How to have each slide in a separate file, each compilable, then combine them

text: I would like to write each slide of a presentation into its own file, so that I can compile and view each slide, one at a time.   But, I still need to combine all of them to make my presentation.   What's is the way to do that?   I try the following, but it doesn't compile.   `includedoc` doesn't seems to be there in Beamer. file: 1.tex               \documentclass{beamer}     \begin{document}         \begin{frame}             Content         \end{frame}     \end{document}      file: slide.tex               \documentclass{beamer}     \begin{document}         \includedoc{1}     \end{document}


title: Trying to include R Code with listings package

text: I was trying to include some R Code in a simple LaTeX document, but for some reason I could not do it. I put the R Code in the same directory (I also tried putting the full directory for my R Code) of the TeX document, but I have as output a PDF document with this: `\lstinputlisting{Ra.R}` This is my LaTeX document. What I am doing bad?               \documentclass{article}     \usepackage{listings}     \usepackage{color}     \lstset{ %       language=R,                     % the language of the code       basicstyle=\footnotesize,       % the size of the fonts that are used for the code       numbers=left,                   % where to put the line-numbers       numberstyle=\tiny\color{gray},  % the style that is used for the line-numbers       stepnumber=1,                   % the step between two line-numbers. If it's 1, each line                                       % will be numbered       numbersep=5pt,                  % how far the line-numbers are from the code       backgroundcolor=\color{white},  % choose the background color. You must add \usepackage{color}       showspaces=false,               % show spaces adding particular underscores       showstringspaces=false,         % underline spaces within strings       showtabs=false,                 % show tabs within strings adding particular underscores       frame=single,                   % adds a frame around the code       rulecolor=\color{black},        % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. commens (green here))       tabsize=2,                      % sets default tabsize to 2 spaces       captionpos=b,                   % sets the caption-position to bottom       breaklines=true,                % sets automatic line breaking       breakatwhitespace=false,        % sets if automatic breaks should only happen at whitespace       title=\lstname,                 % show the filename of files included with \lstinputlisting;                                       % also try caption instead of title       keywordstyle=\color{blue},      % keyword style       commentstyle=\color{dkgreen},   % comment style       stringstyle=\color{mauve},      % string literal style       escapeinside={\%*}{*)},         % if you want to add a comment within your code       morekeywords={*,...}            % if you want to add more keywords to the set     }           \begin{document}     \begin{lstlisting}     \lstinputlisting{Ra.R}     \end{lstlisting}     \end{document}


title: Draw a rectangle behind tcolorbox

text: I'd like to draw a rounded rectangle behind an existing `tcolorbox`. The result should look like this: ![enter image description here](http://i.stack.imgur.com/Nc8No.jpg) That's what I've got so far:               \documentclass{book}          \usepackage[many]{tcolorbox}     \usetikzlibrary{calc}     \definecolor{mp}{RGB}{240,240,240} % Farbe für Nummerierung          \tcbset{ % Rahmen         colback=white,       arc=20pt,       freelance,       frame code={         \draw[rounded corners=20pt,color=mp, line width=1pt]           (frame.south west) --            (frame.north west) --            (frame.north east) --           (frame.south east) -- cycle;       }     }          \begin{document}          Wert     \begin{tcolorbox}        Erwachsen \\     8,9 - 10,1 mg/dL     2,25 - 2,75 mmol/L     Kinder höher     \end{tcolorbox}          \end{document}


title: Can't define environment whose macro code contains dot2tex environment

text: I try to define a new environment whose macro code contains the `dot2tex` environment from the `dot2texi` package (look at the appended MWE). Unfortunately the compilation ends with the following error               Opening dot2tex stream compiled/doc-dot2tex-fig1.dot)     Runaway argument?     ! File ended while scanning use of \next.     <inserted text>                  \par      <*> doc.tex          I suspect you have forgotten a `}', causing me     to read past where you wanted me to stop.     I'll try to recover; but if the error is serious,     you'd better type `E' or `X' now and fix your file.          ! Emergency stop.     <*> doc.tex          *** (job aborted, no legal \end found)      The complete log-file is further below. At this point i don't even know where to look at to resolve it. * * * **MWE**               \documentclass{article}     \usepackage{dot2texi}     \usepackage{tikz}     \usepackage{environ}     \NewEnviron{map}{%     \begin{dot2tex}[dot]     digraph {     \BODY     }     \end{dot2tex}     }     \usetikzlibrary{shapes,arrows}     \begin{document}     \begin{map}     A -> B -> C -> {C1 C2};     \end{map}     \end{document}      * * * **Log-File**               This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2014.4.10)  12 APR 2014 15:49     entering extended mode      \write18 enabled.      file:line:error style messages enabled.      %&-line parsing enabled.     **doc.tex     (./doc.tex     LaTeX2e <2011/06/27>     Babel <3.9h> and hyphenation patterns for 7 languages loaded.     (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls     Document Class: article 2007/10/19 v1.4h Standard LaTeX document class     (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo     File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)     )     \c@part=\count79     \c@section=\count80     \c@subsection=\count81     \c@subsubsection=\count82     \c@paragraph=\count83     \c@subparagraph=\count84     \c@figure=\count85     \c@table=\count86     \abovecaptionskip=\skip41     \belowcaptionskip=\skip42     \bibindent=\dimen102     )     (/usr/share/texlive/texmf-dist/tex/latex/dot2texi/dot2texi.sty     Package: dot2texi 2008/05/07 v3.0p1 Run dot2tex from LaTeX          (/usr/share/texlive/texmf-dist/tex/latex/moreverb/moreverb.sty     Package: moreverb 2008/06/03 v2.3a `more' verbatim facilities          (/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty     Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements     \every@verbatim=\toks14     \verbatim@line=\toks15     \verbatim@in@stream=\read1     )     \tab@position=\count87     \tab@size=\count88     \listing@line=\count89     )     (/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty     Package: xkeyval 2012/10/14 v2.6b package option processing (HA)          (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex     \XKV@toks=\toks16     \XKV@tempa@toks=\toks17     \XKV@depth=\count90     File: xkeyval.tex 2012/10/14 v2.6b key=value parser (HA)          (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex)))     \verbatim@out=\write3     runsystem(echo 'write18-test-2014412949'>"compiled/doc.w18")...executed.          \instream=\read2     runsystem(rm -- "compiled/doc.w18")...executed.          Package dot2texi Info: Automatically converting dot/neato files on input line 1     48.     \c@dtt@fignum=\count91     )     (/usr/share/texlive/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty     (/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty     (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/utilities/pgfutil-common.     tex     \pgfutil@everybye=\toks18     \pgfutil@tempdima=\dimen103     \pgfutil@tempdimb=\dimen104          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/utilities/pgfutil-common-     lists.tex))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/utilities/pgfutil-latex.d     ef     \pgfutil@abb=\box26      (/usr/share/texlive/texmf-dist/tex/latex/ms/everyshi.sty     Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)     ))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/utilities/pgfrcs.code.tex     Package: pgfrcs 2013/12/20 v3.0.0 (rcs-revision 1.28)     ))     Package: pgf 2013/12/18 v3.0.0 (rcs-revision 1.14)      (/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty     (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty     Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)          (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty     Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)          (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty     Package: trig 1999/03/16 v1.09 sin cos tan (DPC)     )     (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg     File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live     )     Package graphics Info: Driver file: pdftex.def on input line 91.          (/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def     File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX          (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty     Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)     )     (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty     Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)     )     \Gread@gobject=\count92     ))     \Gin@req@height=\dimen105     \Gin@req@width=\dimen106     )     (/usr/share/texlive/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/systemlayer/pgfsys.code.t     ex     Package: pgfsys 2013/11/30 v3.0.0 (rcs-revision 1.47)          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/utilities/pgfkeys.code.te     x     \pgfkeys@pathtoks=\toks19     \pgfkeys@temptoks=\toks20          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/utilities/pgfkeysfiltered     .code.tex     \pgfkeys@tmptoks=\toks21     ))     \pgf@x=\dimen107     \pgf@y=\dimen108     \pgf@xa=\dimen109     \pgf@ya=\dimen110     \pgf@xb=\dimen111     \pgf@yb=\dimen112     \pgf@xc=\dimen113     \pgf@yc=\dimen114     \w@pgf@writea=\write4     \r@pgf@reada=\read3     \c@pgf@counta=\count93     \c@pgf@countb=\count94     \c@pgf@countc=\count95     \c@pgf@countd=\count96     \t@pgf@toka=\toks22     \t@pgf@tokb=\toks23     \t@pgf@tokc=\toks24          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/systemlayer/pgf.cfg     File: pgf.cfg 2008/05/14  (rcs-revision 1.7)     )     Driver file for pgf: pgfsys-pdftex.def          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/systemlayer/pgfsys-pdftex     .def     File: pgfsys-pdftex.def 2013/07/18  (rcs-revision 1.33)          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/systemlayer/pgfsys-common     -pdf.def     File: pgfsys-common-pdf.def 2013/10/10  (rcs-revision 1.13)     )))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/systemlayer/pgfsyssoftpat     h.code.tex     File: pgfsyssoftpath.code.tex 2013/09/09  (rcs-revision 1.9)     \pgfsyssoftpath@smallbuffer@items=\count97     \pgfsyssoftpath@bigbuffer@items=\count98     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/systemlayer/pgfsysprotoco     l.code.tex     File: pgfsysprotocol.code.tex 2006/10/16  (rcs-revision 1.4)     )) (/usr/share/texmf/tex/latex/xcolor/xcolor.sty     Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)          (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg     File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive     )     Package xcolor Info: Driver file: pdftex.def on input line 225.     Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.     Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.     Package xcolor Info: Model `RGB' extended on input line 1353.     Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.     Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.     Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.     Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.     Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.     Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcore.code.t     ex     Package: pgfcore 2010/04/11 v3.0.0 (rcs-revision 1.7)      (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmath.code.tex     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathcalc.code.tex          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathutil.code.tex     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathparser.code.t     ex     \pgfmath@dimen=\dimen115     \pgfmath@count=\count99     \pgfmath@box=\box27     \pgfmath@toks=\toks25     \pgfmath@stack@operand=\toks26     \pgfmath@stack@operation=\toks27     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathfunctions.cod     e.tex     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathfunctions.bas     ic.code.tex)     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathfunctions.tri     gonometric.code.tex)     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathfunctions.ran     dom.code.tex)     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathfunctions.com     parison.code.tex)     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathfunctions.bas     e.code.tex)     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathfunctions.rou     nd.code.tex)     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathfunctions.mis     c.code.tex)     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathfunctions.int     egerarithmetics.code.tex)))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmathfloat.code.te     x     \c@pgfmathroundto@lastzeros=\count100     ))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcorepoints.     code.tex     File: pgfcorepoints.code.tex 2013/10/07  (rcs-revision 1.27)     \pgf@picminx=\dimen116     \pgf@picmaxx=\dimen117     \pgf@picminy=\dimen118     \pgf@picmaxy=\dimen119     \pgf@pathminx=\dimen120     \pgf@pathmaxx=\dimen121     \pgf@pathminy=\dimen122     \pgf@pathmaxy=\dimen123     \pgf@xx=\dimen124     \pgf@xy=\dimen125     \pgf@yx=\dimen126     \pgf@yy=\dimen127     \pgf@zx=\dimen128     \pgf@zy=\dimen129     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcorepathcon     struct.code.tex     File: pgfcorepathconstruct.code.tex 2013/10/07  (rcs-revision 1.29)     \pgf@path@lastx=\dimen130     \pgf@path@lasty=\dimen131     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcorepathusa     ge.code.tex     File: pgfcorepathusage.code.tex 2013/12/13  (rcs-revision 1.23)     \pgf@shorten@end@additional=\dimen132     \pgf@shorten@start@additional=\dimen133     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcorescopes.     code.tex     File: pgfcorescopes.code.tex 2013/10/09  (rcs-revision 1.44)     \pgfpic=\box28     \pgf@hbox=\box29     \pgf@layerbox@main=\box30     \pgf@picture@serial@count=\count101     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcoregraphic     state.code.tex     File: pgfcoregraphicstate.code.tex 2013/09/19  (rcs-revision 1.11)     \pgflinewidth=\dimen134     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcoretransfo     rmations.code.tex     File: pgfcoretransformations.code.tex 2013/10/10  (rcs-revision 1.17)     \pgf@pt@x=\dimen135     \pgf@pt@y=\dimen136     \pgf@pt@temp=\dimen137     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcorequick.c     ode.tex     File: pgfcorequick.code.tex 2008/10/09  (rcs-revision 1.3)     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcoreobjects     .code.tex     File: pgfcoreobjects.code.tex 2006/10/11  (rcs-revision 1.2)     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcorepathpro     cessing.code.tex     File: pgfcorepathprocessing.code.tex 2013/09/09  (rcs-revision 1.9)     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcorearrows.     code.tex     File: pgfcorearrows.code.tex 2013/11/07  (rcs-revision 1.40)     \pgfarrowsep=\dimen138     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcoreshade.c     ode.tex     File: pgfcoreshade.code.tex 2013/07/15  (rcs-revision 1.15)     \pgf@max=\dimen139     \pgf@sys@shading@range@num=\count102     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcoreimage.c     ode.tex     File: pgfcoreimage.code.tex 2013/07/15  (rcs-revision 1.18)          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcoreexterna     l.code.tex     File: pgfcoreexternal.code.tex 2013/07/15  (rcs-revision 1.20)     \pgfexternal@startupbox=\box31     ))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcorelayers.     code.tex     File: pgfcorelayers.code.tex 2013/07/18  (rcs-revision 1.7)     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcoretranspa     rency.code.tex     File: pgfcoretransparency.code.tex 2013/09/30  (rcs-revision 1.5)     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/basiclayer/pgfcorepattern     s.code.tex     File: pgfcorepatterns.code.tex 2013/11/07  (rcs-revision 1.5)     )))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/modules/pgfmoduleshapes.c     ode.tex     File: pgfmoduleshapes.code.tex 2013/10/31  (rcs-revision 1.34)     \pgfnodeparttextbox=\box32     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/modules/pgfmoduleplot.cod     e.tex     File: pgfmoduleplot.code.tex 2013/07/31  (rcs-revision 1.12)     )     (/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65     .sty     Package: pgfcomp-version-0-65 2007/07/03 v3.0.0 (rcs-revision 1.7)     \pgf@nodesepstart=\dimen140     \pgf@nodesepend=\dimen141     )     (/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18     .sty     Package: pgfcomp-version-1-18 2007/07/23 v3.0.0 (rcs-revision 1.1)     )) (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgffor.sty     (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/utilities/pgfkeys.code.te     x)) (/usr/share/texlive/texmf-dist/tex/latex/pgf/math/pgfmath.sty     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmath.code.tex))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/utilities/pgffor.code.tex     Package: pgffor 2013/12/13 v3.0.0 (rcs-revision 1.25)     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/math/pgfmath.code.tex)     \pgffor@iter=\dimen142     \pgffor@skip=\dimen143     \pgffor@stack=\toks28     \pgffor@toks=\toks29     ))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/frontendlayer/tikz/tikz.c     ode.tex     Package: tikz 2013/12/13 v3.0.0 (rcs-revision 1.142)          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/libraries/pgflibraryploth     andlers.code.tex     File: pgflibraryplothandlers.code.tex 2013/08/31 v3.0.0 (rcs-revision 1.20)     \pgf@plot@mark@count=\count103     \pgfplotmarksize=\dimen144     )     \tikz@lastx=\dimen145     \tikz@lasty=\dimen146     \tikz@lastxsaved=\dimen147     \tikz@lastysaved=\dimen148     \tikzleveldistance=\dimen149     \tikzsiblingdistance=\dimen150     \tikz@figbox=\box33     \tikz@figbox@bg=\box34     \tikz@tempbox=\box35     \tikz@tempbox@bg=\box36     \tikztreelevel=\count104     \tikznumberofchildren=\count105     \tikznumberofcurrentchild=\count106     \tikz@fig@count=\count107          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/modules/pgfmodulematrix.c     ode.tex     File: pgfmodulematrix.code.tex 2013/09/17  (rcs-revision 1.8)     \pgfmatrixcurrentrow=\count108     \pgfmatrixcurrentcolumn=\count109     \pgf@matrix@numberofcolumns=\count110     )     \tikz@expandcount=\count111          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/frontendlayer/tikz/librar     ies/tikzlibrarytopaths.code.tex     File: tikzlibrarytopaths.code.tex 2008/06/17 v3.0.0 (rcs-revision 1.2)     )))     (/usr/share/texlive/texmf-dist/tex/latex/environ/environ.sty     Package: environ 2013/04/01 v0.3 A new environment syntax          (/usr/share/texlive/texmf-dist/tex/latex/trimspaces/trimspaces.sty     Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list     )     \@envbody=\toks30     )     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/frontendlayer/tikz/librar     ies/tikzlibraryshapes.code.tex     File: tikzlibraryshapes.code.tex 2008/01/09 v3.0.0 (rcs-revision 1.1)          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/frontendlayer/tikz/librar     ies/tikzlibraryshapes.geometric.code.tex     File: tikzlibraryshapes.geometric.code.tex 2008/01/09 v3.0.0 (rcs-revision 1.1)               (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/libraries/shapes/pgflibra     ryshapes.geometric.code.tex     File: pgflibraryshapes.geometric.code.tex 2008/06/26 v3.0.0 (rcs-revision 1.1)     ))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/frontendlayer/tikz/librar     ies/tikzlibraryshapes.misc.code.tex     File: tikzlibraryshapes.misc.code.tex 2008/01/09 v3.0.0 (rcs-revision 1.1)          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/libraries/shapes/pgflibra     ryshapes.misc.code.tex     File: pgflibraryshapes.misc.code.tex 2013/07/18 v3.0.0 (rcs-revision 1.5)     ))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/frontendlayer/tikz/librar     ies/tikzlibraryshapes.symbols.code.tex     File: tikzlibraryshapes.symbols.code.tex 2008/01/09 v3.0.0 (rcs-revision 1.1)          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/libraries/shapes/pgflibra     ryshapes.symbols.code.tex     File: pgflibraryshapes.symbols.code.tex 2013/09/11 v3.0.0 (rcs-revision 1.6)     ))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/frontendlayer/tikz/librar     ies/tikzlibraryshapes.arrows.code.tex     File: tikzlibraryshapes.arrows.code.tex 2008/01/09 v3.0.0 (rcs-revision 1.1)          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/libraries/shapes/pgflibra     ryshapes.arrows.code.tex     File: pgflibraryshapes.arrows.code.tex 2008/06/26 v3.0.0 (rcs-revision 1.1)     ))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/frontendlayer/tikz/librar     ies/tikzlibraryshapes.callouts.code.tex     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/libraries/shapes/pgflibra     ryshapes.callouts.code.tex))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/frontendlayer/tikz/librar     ies/tikzlibraryshapes.multipart.code.tex     File: tikzlibraryshapes.multipart.code.tex 2008/01/09 v3.0.0 (rcs-revision 1.1)               (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/libraries/shapes/pgflibra     ryshapes.multipart.code.tex     File: pgflibraryshapes.multipart.code.tex 2010/01/07 v3.0.0 (rcs-revision 1.2)     \pgfnodepartlowerbox=\box37     \pgfnodeparttwobox=\box38     \pgfnodepartthreebox=\box39     \pgfnodepartfourbox=\box40     \pgfnodeparttwentybox=\box41     \pgfnodepartnineteenbox=\box42     \pgfnodeparteighteenbox=\box43     \pgfnodepartseventeenbox=\box44     \pgfnodepartsixteenbox=\box45     \pgfnodepartfifteenbox=\box46     \pgfnodepartfourteenbox=\box47     \pgfnodepartthirteenbox=\box48     \pgfnodeparttwelvebox=\box49     \pgfnodepartelevenbox=\box50     \pgfnodeparttenbox=\box51     \pgfnodepartninebox=\box52     \pgfnodeparteightbox=\box53     \pgfnodepartsevenbox=\box54     \pgfnodepartsixbox=\box55     \pgfnodepartfivebox=\box56     )))     (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/frontendlayer/tikz/librar     ies/tikzlibraryarrows.code.tex     File: tikzlibraryarrows.code.tex 2008/01/09 v3.0.0 (rcs-revision 1.1)          (/home/johannes/texmf/tex/generic/pgf/tex/generic/pgf/libraries/pgflibraryarrow     s.code.tex     File: pgflibraryarrows.code.tex 2013/09/23 v3.0.0 (rcs-revision 1.16)     \arrowsize=\dimen151     )) (./compiled/doc.aux)     \openout1 = `compiled/doc.aux'.          LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 13.     LaTeX Font Info:    ... okay on input line 13.     LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 13.     LaTeX Font Info:    ... okay on input line 13.     LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 13.     LaTeX Font Info:    ... okay on input line 13.     LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 13.     LaTeX Font Info:    ... okay on input line 13.     LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 13.     LaTeX Font Info:    ... okay on input line 13.     LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 13.     LaTeX Font Info:    ... okay on input line 13.      ABD: EveryShipout initializing macros     (/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii     [Loading MPS to PDF converter (version 2006.09.02).]     \scratchcounter=\count112     \scratchdimen=\dimen152     \scratchbox=\box57     \nofMPsegments=\count113     \nofMParguments=\count114     \everyMPshowfont=\toks31     \MPscratchCnt=\count115     \MPscratchDim=\dimen153     \MPnumerator=\count116     \makeMPintoPDFobject=\count117     \everyMPtoPDFconversion=\toks32     ) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty     Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO     )          (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty     Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)     Package ifluatex Info: LuaTeX not detected.     )     (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty     Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)     Package ifpdf Info: pdfTeX in PDF mode is detected.     )     Package pdftexcmds Info: LuaTeX not detected.     Package pdftexcmds Info: \pdf@primitive is available.     Package pdftexcmds Info: \pdf@ifprimitive is available.     Package pdftexcmds Info: \pdfdraftmode found.     )     (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty     Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf          (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty     Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)          (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty     Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)     ))     (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty     Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)          (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty     Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)          (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty     Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)     Package etexcmds Info: Could not find \expanded.     (etexcmds)             That can mean that you are not using pdfTeX 1.50 or     (etexcmds)             that some package has redefined \expanded.     (etexcmds)             In the latter case, load this package earlier.     )))     Package grfext Info: Graphics extension search list:     (grfext)             [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE     G,.JBIG2,.JB2,.eps]     (grfext)             \AppendGraphicsExtensions on input line 452.          (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg     File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv     e     ))     \openout3 = `compiled/doc-dot2tex-fig1.dot'.               Opening dot2tex stream compiled/doc-dot2tex-fig1.dot)     Runaway argument?     ! File ended while scanning use of \next.     <inserted text>                      \par      <*> doc.tex          I suspect you have forgotten a `}', causing me     to read past where you wanted me to stop.     I'll try to recover; but if the error is serious,     you'd better type `E' or `X' now and fix your file.          ! Emergency stop.     <*> doc.tex          *** (job aborted, no legal \end found)               Here is how much of TeX's memory you used:      14037 strings out of 494976      305884 string characters out of 6179137      355279 words of memory out of 5000000      17004 multiletter control sequences out of 15000+600000      3640 words of font info for 14 fonts, out of 8000000 for 9000      14 hyphenation exceptions out of 8191      55i,0n,67p,404b,116s stack positions out of 5000i,500n,10000p,200000b,80000s     !  ==> Fatal error occurred, no output PDF file produced!


title: Strange packages interaction: acronyms, silence, hyperref

text: The following does not compile. It only compiles if `silence` package is commented out. Does anyone know why? And how can I use the 3 packages together?               \documentclass{article}          \usepackage{silence}     \usepackage{acronym}     \usepackage{hyperref}          \begin{document}          \begin{acronym}     \acro{UE}{User Equipment}     \end{acronym}          \section{\acs{UE}}%<-- doesn't work           \acs{UE}%<-- works          \end{document}


title: How do I create a bib file in texlipse?

text: This seems like it should be really straightforward, but I can't figure it out. When I go to `File`\-->`New` there is no `.bib` file. Under `File`\-->`New`\-->`Other`\-->`Texlipse` there is no `.bib` file. Is there somewhere else that I should be looking to create this?


title: Presence of accents in sections, chapters etc.

text: i would like to know how can i put labels and names of sections and chapters using accents. I get errors when i try               \chapter{Conclusión}     como se menciona en \ref{algo}.     \section{Other seccion name with áccent}     \label{algo}


title: How to label a line created with draw command

text: 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 \} \\          \quad  & a_n &  \quad  \\          \quad  & \quad &  \quad  \\     };     \path[-latex]     (m-2-1) edge node[above] {$R$} (m-1-2)     (m-2-1) edge node[above] {$R$} (m-2-2)     (m-2-1) edge node[above] {$R$} (m-3-2)     (m-2-3) edge node[above] {$\in$} (m-1-2)     (m-2-3) edge node[above] {$\in$} (m-2-2)     (m-2-3) edge node[above] {$\in$} (m-3-2)     (m-2-2) edge[-, densely dotted] (m-3-2);     \draw[-latex] (m-2-1.south) |- (m-4-1.east) -| (m-2-3);     \end{tikzpicture}      And would like to put a label on the last edge created with `draw` command but do not know how. As you can see it is a particular edge.