title: Beamer - Title page is perturbed when adding notes

text: I'm working on a Beamer presentation in which I want my notes to be along with a small preview of the current slide only (bigger than the default). I worked on the following MWE, which seems to work ok, except for the fact that I changed my title page to be tikzpicture nodes... Now the title slide looks ok if I do not add nodes, but becomes completely unstructured when I add the notes... I guess there is something simple to be changed in the relative/absolute positions of the nodes, but I have tried many things and I cannot reproduce the look of the slide without notes when I add the notes... This the MWE:               \listfiles          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %%% For normal presentations WITHOUT NOTES     %\documentclass[ignorenonframetext, xcolor={dvipsnames,table}]{beamer}     %\usepackage{etex}     %\reserveinserts{28}     %\setbeameroption{hide notes}     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %%% For presentations WITH NOTES     %\documentclass[ignorenonframetext, xcolor={dvipsnames,table}]{beamer}     %\usepackage{etex}     %\reserveinserts{28}     %\usepackage[utf8x]{inputenc}     %\usepackage{pgfpages}     %\setbeameroption{show notes on second screen=left}     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %%% For handouts with lots of extra notes     \documentclass[handout, ignorenonframetext, xcolor={dvipsnames,table}]{beamer}     \usepackage{etex}     \reserveinserts{28}     \usepackage{pgfpages}     \pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm] % could also use letterpaper     \setbeameroption{show notes on second screen=bottom} % Beamer manual, section 19.3     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%               \setbeamercolor{background canvas}{bg=pink}          \usepackage{lmodern}     \usepackage{tikz}     \usetikzlibrary{calc}          \setbeamertemplate{title page}{              \begin{tikzpicture}[remember picture, overlay, every node/.style={inner sep=0,outer sep=0}]             \node [rectangle, fill=gray, anchor=north east, minimum width=.86\paperwidth, minimum height=3cm] (box) at (current page.north east){};             \node at ($(box.west)+(.1,0)$) [anchor=east]{\includegraphics[height=3cm,width=1.5cm]{example-image}};                       \node[anchor=center, align=left, font=\color{white}\usebeamerfont{title}] (title) at ($(box)+(0,.25)$)             {\inserttitle};                      \ifx\insertauthor\@empty             \else             \node [anchor=west, font=\color{white}\usebeamerfont{author}] (author) at ($(title.south west)-(0,.5)$) {                 {\insertauthor}                 };                 \fi                      \ifx\insertinstitute\@empty             \else             \node [anchor=center] (institute) at ($(box.south)-(0,1.5)$) {%                 {\insertinstitute}                 };                 \fi                      \ifx\insertdate\@empty             \else             \node [anchor=west, font=\color{blue}\usebeamerfont{date}] (date) at ($(institute.south west)-(-.2,2)$) {%                 {\insertdate}                 };                 \fi                            \node [anchor=west] (email) at ($(date.south west)-(2.52,1)$) {%             \color{blue}                 {\scriptsize \email}                 };         \end{tikzpicture}     }          \setbeamertemplate{note page}[plain] % Beamer manual, section 19.1     \newlength{\parskipbackup}     \setlength{\parskipbackup}{\parskip}     \newlength{\parindentbackup}     \setlength{\parindentbackup}{\parindent}     \newcommand{\baselinestretchbackup}{\baselinestretch}          \usetemplatenote{            \insertslideintonotes{0.3}%            \rmfamily \scriptsize%       \setlength{\parindent}{1em} \setlength{\parskip}{1ex}%       \renewcommand{\baselinestretch}{1}%            \insertnote%            \setlength{\parskip}{\parskipbackup}%       \setlength{\parindent}{\parindentbackup}%       \renewcommand{\baselinestretch}{\baselinestretchbackup}%     }                    \title[short title]{full title}     \author{John Smith}     \date[\today]{\today}     \newcommand{\email}{\textit{john@smith.com}}                    \begin{document}               \begin{frame}     \titlepage     \note{this is a note}     \end{frame}          \begin{frame}     This is the first slide     \note{this is another note}     \end{frame}          \end{document}      Which produces ![this absolutely beautiful title slide](http://i.stack.imgur.com/oijcr.png) But if you comment the first block and uncomment the second to add the notes in an A4 handout format, you will get ![this completely ugly title page](http://i.stack.imgur.com/E4IPo.png)... Can anyone help me with this?? A SUPER BONUS would be if anyone would be able to place a smaller preview of the following slide alongside the preview of the current slide!! **EDIT:** I'm including below the \listfiles output (check the slight changes in the MWE):                *File List*       beamer.cls    2012/10/15 development version 3.24 A class for typesetting pres     entations (rcs-revision 24853e6b98cf)     beamerbasercs.sty    2012/11/13 (rcs-revision cb16a617839f)     beamerbasemodes.sty    2012/04/15 (rcs-revision cc6557182d97)     beamerbasedecode.sty    2010/05/01 (rcs-revision efa082c6111d)        ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)     beamerbaseoptions.sty    2010/04/27 (rcs-revision 982469101dd6)       keyval.sty    1999/03/16 v1.13 key=value parser (DPC)     geometry.sty    2010/09/12 v5.6 Page Geometry       ifvtex.sty    2010/03/01 v1.5 Detect VTeX and its facilities (HO)      ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional       size11.clo    2007/10/19 v1.4h Standard LaTeX file (size option)      pgfcore.sty    2010/04/11 v2.10 (rcs-revision 1.7)     graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)     graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)         trig.sty    1999/03/16 v1.09 sin cos tan (DPC)     graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live       pdftex.def    2011/05/27 v0.06d Graphics/color for pdfTeX     infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error messages (HO)      ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general use (HO)     pdftexcmds.sty    2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)     ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)     luatex-loader.sty    2010/03/09 v0.4 Lua module loader (HO)       pgfsys.sty    2010/06/30 v2.10 (rcs-revision 1.37)       pgfrcs.sty    2010/10/25 v2.10 (rcs-revision 1.24)     everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)       pgfrcs.code.tex       pgfsys.code.tex     pgfsyssoftpath.code.tex    2008/07/18  (rcs-revision 1.7)     pgfsysprotocol.code.tex    2006/10/16  (rcs-revision 1.4)       xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)        color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive     colortbl.sty    2012/02/13 v1.0a Color table columns (DPC)        array.sty    2008/09/09 v2.4c Tabular extension package (FMi)     dvipsnam.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)      pgfcore.code.tex      xxcolor.sty    2003/10/24 ver 0.1     hyperref.sty    2012/11/06 v6.83m Hypertext links for LaTeX     hobsub-hyperref.sty    2012/05/28 v1.13 Bundle oberdiek, subset hyperref (HO)     hobsub-generic.sty    2012/05/28 v1.13 Bundle oberdiek, subset generic (HO)       hobsub.sty    2012/05/28 v1.13 Construct package bundles (HO)      intcalc.sty    2007/09/27 v1.1 Expandable calculations with integers (HO)     etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)     kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO)     kvdefinekeys.sty    2011/04/07 v1.3 Define keys (HO)     pdfescape.sty    2011/11/25 v1.13 Implements pdfTeX's escape features (HO)     bigintcalc.sty    2012/04/08 v1.3 Expandable calculations on big integers (HO)       bitset.sty    2011/01/30 v1.1 Handle bit-vector datatype (HO)     uniquecounter.sty    2011/01/30 v1.2 Provide unlimited unique counter (HO)     letltxmacro.sty    2010/09/02 v1.4 Let assignment for LaTeX macros (HO)      hopatch.sty    2012/05/28 v1.2 Wrapper for package hooks (HO)     xcolor-patch.sty    2011/01/30 xcolor patch     atveryend.sty    2011/06/30 v1.8 Hooks at the very end of document (HO)     atbegshi.sty    2011/10/05 v1.16 At begin shipout hook (HO)     refcount.sty    2011/10/16 v3.4 Data extraction from label references (HO)      hycolor.sty    2011/01/30 v1.7 Color options for hyperref/bookmark (HO)      auxhook.sty    2011/03/04 v1.3 Hooks for auxiliary files (HO)     kvoptions.sty    2011/06/30 v3.11 Key value format for package options (HO)       pd1enc.def    2012/11/06 v6.83m Hyperref: PDFDocEncoding definition (HO)     hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive          url.sty    2013/09/16  ver 3.4  Verb mode for urls, etc.      hpdftex.def    2012/11/06 v6.83m Hyperref driver for pdfTeX     rerunfilecheck.sty    2011/04/15 v1.7 Rerun checks for auxiliary files (HO)     beamerbaserequires.sty    2010/05/01  (rcs-revision efa082c6111d)     beamerbasecompatibility.sty    2012/05/01  (rcs-revision 67c48b3b652d)     beamerbasefont.sty    2012/09/19  (rcs-revision 733629cd0c6c)      amssymb.sty    2013/01/14 v3.01 AMS font symbols     amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support     beamerbasetranslator.sty    2010/06/11  (rcs-revision 85fd1cc7fc42)     translator.sty    2010/06/12 ver 1.10     translator-language-mappings.tex     beamerbasemisc.sty    2012/02/24  (rcs-revision 2ff5461be705)     beamerbasetwoscreens.sty    2010/05/01  (rcs-revision efa082c6111d)     beamerbaseoverlay.sty    2012/11/11  (rcs-revision 6afbc49b1109)     beamerbasetitle.sty    2010/09/21  (rcs-revision f0446ed0b6ae)     beamerbasesection.sty    2012/11/11  (rcs-revision 0056eef6f17f)     beamerbaseframe.sty    2012/09/13  (rcs-revision dcd846607320)     beamerbaseverbatim.sty    2012/08/30  (rcs-revision dfdb135076b3)     beamerbaseframesize.sty    2011/09/12  (rcs-revision 70f9d8411e54)     beamerbaseframecomponents.sty    2012/09/13  (rcs-revision dcd846607320)     beamerbasecolor.sty    2010/06/06  (rcs-revision d1a9b48be06d)     beamerbasenotes.sty    2010/05/01  (rcs-revision efa082c6111d)     beamerbasetoc.sty    2012/10/02  (rcs-revision 5ed0f4010e8a)     beamerbasetemplates.sty    2010/05/01  (rcs-revision efa082c6111d)     beamerbaseauxtemplates.sty    2012/05/01  (rcs-revision 67c48b3b652d)     beamerbaseboxes.sty    2012/05/13  (rcs-revision 56972908a390)     beamerbaselocalstructure.sty    2012/11/13  (rcs-revision ddfba79dac19)     enumerate.sty    1999/03/05 v3.00 enumerate extensions (DPC)     beamerbasenavigation.sty    2012/04/03  (rcs-revision 42a0f21a412d)     beamerbasetheorems.sty    2010/06/06  (rcs-revision 7e7cc5e53e9d)      amsmath.sty    2013/01/14 v2.14 AMS math features      amstext.sty    2000/06/29 v2.01       amsgen.sty    1999/11/30 v2.0       amsbsy.sty    1999/11/29 v1.2d       amsopn.sty    1999/12/14 v2.01 operator names       amsthm.sty    2004/08/06 v2.20     beamerbasethemes.sty    2010/05/01  (rcs-revision efa082c6111d)     beamerthemedefault.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)     beamerfontthemedefault.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)     beamercolorthemedefault.sty    2010/06/17  (rcs-revision d02a7cf4d8ae)     beamerinnerthemedefault.sty    2012/05/01  (rcs-revision 67c48b3b652d)     beamerouterthemedefault.sty    2012/10/02  (rcs-revision 5ed0f4010e8a)         etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)     pgfpages.sty    2004/11/05 ver 0.01         calc.sty    2007/08/22 v4.3 Infix arithmetic (KKT,FJ)      lmodern.sty    2009/10/30 v1.6 Latin Modern Fonts         tikz.sty    2010/10/13 v2.10 (rcs-revision 1.76)          pgf.sty    2008/01/15 v2.10 (rcs-revision 1.12)     pgfcomp-version-0-65.sty    2007/07/03 v2.10 (rcs-revision 1.7)     pgfcomp-version-1-18.sty    2007/07/23 v2.10 (rcs-revision 1.1)       pgffor.sty    2010/03/23 v2.10 (rcs-revision 1.18)      pgfkeys.sty          pgfkeys.code.tex       pgffor.code.tex         tikz.code.tex      ot1lmss.fd    2009/10/30 v1.6 Font defs for Latin Modern     supp-pdf.mkii     epstopdf-base.sty    2010/02/09 v2.5 Base part for package epstopdf       grfext.sty    2010/08/19 v1.1 Manage graphics extensions (HO)     epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live      nameref.sty    2012/10/27 v2.43 Cross-referencing by name of section     gettitlestring.sty    2010/12/03 v1.4 Cleanup title references (HO)            b.out            b.out     translator-basic-dictionary-English.dict         translator-bibliography-dictionary-English.dict         translator-environment-dictionary-English.dict         translator-months-dictionary-English.dict         translator-numbers-dictionary-English.dict         translator-theorem-dictionary-English.dict         example-image.png    Graphic file (type png)       ot1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern      ***********      **NEW EDIT!!** As in this other related question I posted, if I place the line "\pgfpagesuselayout{2 on 1}" after the line "\setbeameroption{show notes}" the title slide remains perfectly unperturbed as it should be!! However, the slide preview and notes that appear at the bottom belong to the NEXT SLIDE, instead of to the CURRENT SLIDE!! What is going on with that? Let see if anyone could help me make this work also for the 2nd commented block on the MWE to have the notes on the left. Thanks!!


title: Rounded corner for the code listing

text: Is it possible to make a rounded corner for the tex code listing? Given:               \documentclass[10pt]{article}     \usepackage[usenames,dvipsnames]{xcolor} %used for font color     \usepackage[utf8]{inputenc} %useful to type directly diacritic characters     \usepackage{listings}     \usepackage{tcolorbox}     \tcbuselibrary{listings}          \begin{document}          \definecolor{lbcolor}{rgb}{0.1,0.1,0.1}          \lstdefinestyle{mystyle}{          basicstyle=\ttfamily\color{White},          language=Java,          tabsize=1,          keywordstyle=\color{Red}\bf,          showstringspaces=false,          morekeywords={public, class}      }          \newtcblisting{mylisting}{           arc=0pt,           top=0mm,           bottom=0mm,           left=0mm,           right=0mm,           boxrule=0pt,           colback=black,           listing only,           listing options={style=mystyle},           hbox     }          \begin{mylisting}     public class MyObject{              public MyObject(){             System.out.println("MyObject");         }     }     \end{mylisting}          \end{document}       I would like to make a rounded corner. This code will be included in a presentation, and although only a cosmetics issue, it looks much appealing when you have nice rounded corners and shadows. Is it possible to do in in Latex?


title: How to change bullets to basic numbers in each tier of Beamer table of contents?

text: I would like to have Beamer table of contents like this:   1. item    1.1. item   1.2. item   2. item    2.1. item   2.2. item It is partially similar like this: Remove the bullets in Beamer's table of contents, but there is no number before name of second-tier list item – subsection. So how do I get numbers to all the points - tiers of table of contents?


title: Texlive, update and dvips

text: When I run `tlmgr update -all`, I see that, or at least I understand that the engine `dvips` is updated at some point. If yes, what is updated in `dvips`? ![enter image description here](http://i.stack.imgur.com/vBX6p.png)


title: How to include Big Draft text as background only for imported document part

text: I want to include a big "Draft" text on the background in some files imported by the `import` package in this way:               \subimport{}{test.text}      How can you include such a big "Draft" text to the background of some imported files?. This is a MWE:               \documentclass{article}     \usepackage{import}     \usepackage{lipsum} % for dummy text     \begin{document}     \lipsum[1-5]  % main dummy text       \newpage     \subimport{}{test.tex} % subdocument that must have the a big "Draft" in the background      \end{document}      The `test.tex` file is:               \lipsum[1-10]


title: "Undefined control sequence. \biburlsetup ->\Urlmuskip" error when compiling with biblatex

text: Here's the minimal failing example.               \documentclass{article}     \usepackage{biblatex}     \begin{document}     Here's a citation \cite{Quine:1948}.     \printbibliography     \end{document}          @article{Quine:1948,         Author = {Willard V. Quine},         Journal = {The Review of Metaphysics},         Month = {September},         Number = {5},         Pages = {21--38},         Title = {On What There Is},         Volume = {2},         Year = {1948},     }      When I compile this I get,               ! Undefined control sequence.     \biburlsetup ->\Urlmuskip                                =0mu plus 3mu\relax \mathchardef \UrlBigBreakPenal...     l.4 Here's a citation \cite{Quine:1948}.          ?       I'm using biblatex 2.8a. The only other error I detect in the log file is:               (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/blx-dm.def)     Package biblatex Info: Trying to load biblatex custom data model...     Package biblatex Info: ... file 'biblatex-dm.cfg' not found.      * * * Following up on a suggestion from `moewe` I did this:               \listfiles     \documentclass{article}     \usepackage{biblatex}          \begin{document}     \the\Urlmuskip     \end{document}      Same error as above. Here are the package versions.                article.cls    2007/10/19 v1.4h Standard LaTeX document class       size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)     biblatex.sty    2013/11/25 v2.8a programmable bibliographies (PK/JW/AB)     biblatex2.sty    2013/11/25 v2.8a programmable bibliographies (biber) (PK/JW/AB     )     etoolbox.sty    2011/01/03 v2.1 e-TeX tools for LaTeX         etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)       keyval.sty    1999/03/16 v1.13 key=value parser (DPC)     kvoptions.sty    2011/06/30 v3.11 Key value format for package options (HO)      ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general use (HO)     kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO)     infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error messages (HO)     etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)     ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)       logreq.sty    2010/08/04 v1.0 xml request logger       logreq.def    2010/08/04 v1.0 logreq spec v1.0       ifthen.sty    2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)          url.sty    1999/03/02  ver 1.4  Verb mode for urls, email addresses, and f     ile names       blx-dm.def     biblatex-dm.cfg     blx-compat.def    2013/11/25 v2.8a biblatex compatibility (PK/JW/AB)     biblatex.def         standard.bbx    2013/11/25 v2.8a biblatex bibliography style (PK/JW/AB)      numeric.bbx    2013/11/25 v2.8a biblatex bibliography style (PK/JW/AB)      numeric.cbx    2013/11/25 v2.8a biblatex citation style (PK/JW/AB)     biblatex.cfg          english.lbx    2013/11/25 v2.8a biblatex localization (PK/JW/AB)      ***********      Here's the log file from compiling with `latex`.               This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) (format=latex 2014.3.19)  23 MAR 2014 08:12     entering extended mode      restricted \write18 enabled.      %&-line parsing enabled.     **minimal3.tex     (./minimal3.tex     LaTeX2e <2011/06/27>     Babel <3.9j> and hyphenation patterns for 78 languages loaded.     (/usr/local/texlive/2013/texmf-dist/tex/latex/base/article.cls     Document Class: article 2007/10/19 v1.4h Standard LaTeX document class     (/usr/local/texlive/2013/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/local/texlive/2013/texmf-dist/tex/latex/biblatex/biblatex.sty     Package: biblatex 2013/11/25 v2.8a programmable bibliographies (PK/JW/AB)               Package biblatex Warning: No "backend" specified, using Biber backend.     (biblatex)                To use BibTeX, load biblatex with      (biblatex)                the "backend=bibtex" option.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/biblatex2.sty     Package: biblatex2 2013/11/25 v2.8a programmable bibliographies (biber) (PK/JW/     AB)          (/usr/local/texlive/2013/texmf-dist/tex/latex/etoolbox/etoolbox.sty     Package: etoolbox 2011/01/03 v2.1 e-TeX tools for LaTeX          (/usr/local/texlive/2013/texmf-dist/tex/latex/etex-pkg/etex.sty     Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)     \et@xins=\count87     )     \etb@tempcnta=\count88     )     (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/keyval.sty     Package: keyval 1999/03/16 v1.13 key=value parser (DPC)     \KV@toks@=\toks14     )     (/usr/local/texlive/2013/texmf-dist/tex/latex/oberdiek/kvoptions.sty     Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)          (/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/ltxcmds.sty     Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)     )     (/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty     Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)          (/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/infwarerr.sty     Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)     )     (/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/etexcmds.sty     Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)          (/usr/local/texlive/2013/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.     )     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.     )))     (/usr/local/texlive/2013/texmf-dist/tex/latex/logreq/logreq.sty     Package: logreq 2010/08/04 v1.0 xml request logger     \lrq@indent=\count89          (/usr/local/texlive/2013/texmf-dist/tex/latex/logreq/logreq.def     File: logreq.def 2010/08/04 v1.0 logreq spec v1.0     ))     (/usr/local/texlive/2013/texmf-dist/tex/latex/base/ifthen.sty     Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)     )     (/usr/local/texlive/2013/../texmf-local/tex/latex/html/url.sty     Package: url 1999/03/02  ver 1.4  Verb mode for urls, email addresses, and file      names     )     \c@tabx@nest=\count90     \c@listtotal=\count91     \c@listcount=\count92     \c@liststart=\count93     \c@liststop=\count94     \c@citecount=\count95     \c@citetotal=\count96     \c@multicitecount=\count97     \c@multicitetotal=\count98     \c@instcount=\count99     \c@maxnames=\count100     \c@minnames=\count101     \c@maxitems=\count102     \c@minitems=\count103     \c@citecounter=\count104     \c@savedcitecounter=\count105     \c@uniquelist=\count106     \c@uniquename=\count107     \c@refsection=\count108     \c@refsegment=\count109     \c@maxextratitle=\count110     \c@maxextratitleyear=\count111     \c@maxextrayear=\count112     \c@maxextraalpha=\count113     \c@abbrvpenalty=\count114     \c@highnamepenalty=\count115     \c@lownamepenalty=\count116     \c@maxparens=\count117     \c@parenlevel=\count118     \blx@tempcnta=\count119     \blx@tempcntb=\count120     \blx@tempcntc=\count121     \blx@maxsection=\count122     \blx@maxsegment@0=\count123     \blx@notetype=\count124     \blx@parenlevel@text=\count125     \blx@parenlevel@foot=\count126     \blx@sectionciteorder@0=\count127     \labelnumberwidth=\skip43     \labelalphawidth=\skip44     \shorthandwidth=\skip45     \biblabelsep=\skip46     \bibitemsep=\skip47     \bibnamesep=\skip48     \bibinitsep=\skip49     \bibparsep=\skip50     \bibhang=\skip51     \blx@bcfin=\read1     \blx@bcfout=\write3     \c@mincomprange=\count128     \c@maxcomprange=\count129     \c@mincompwidth=\count130     Package biblatex Info: Trying to load biblatex default data model...     Package biblatex Info: ... file 'blx-dm.def' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/blx-dm.def)     Package biblatex Info: Trying to load biblatex custom data model...     Package biblatex Info: ... file 'biblatex-dm.cfg' not found.     \c@afterword=\count131     \c@savedafterword=\count132     \c@annotator=\count133     \c@savedannotator=\count134     \c@author=\count135     \c@savedauthor=\count136     \c@bookauthor=\count137     \c@savedbookauthor=\count138     \c@commentator=\count139     \c@savedcommentator=\count140     \c@editor=\count141     \c@savededitor=\count142     \c@editora=\count143     \c@savededitora=\count144     \c@editorb=\count145     \c@savededitorb=\count146     \c@editorc=\count147     \c@savededitorc=\count148     \c@foreword=\count149     \c@savedforeword=\count150     \c@holder=\count151     \c@savedholder=\count152     \c@introduction=\count153     \c@savedintroduction=\count154     \c@namea=\count155     \c@savednamea=\count156     \c@nameb=\count157     \c@savednameb=\count158     \c@namec=\count159     \c@savednamec=\count160     \c@shortauthor=\count161     \c@savedshortauthor=\count162     \c@shorteditor=\count163     \c@savedshorteditor=\count164     \c@translator=\count165     \c@savedtranslator=\count166     \c@labelname=\count167     \c@savedlabelname=\count168     \c@institution=\count169     \c@savedinstitution=\count170     \c@lista=\count171     \c@savedlista=\count172     \c@listb=\count173     \c@savedlistb=\count174     \c@listc=\count175     \c@savedlistc=\count176     \c@listd=\count177     \c@savedlistd=\count178     \c@liste=\count179     \c@savedliste=\count180     \c@listf=\count181     \c@savedlistf=\count182     \c@location=\count183     \c@savedlocation=\count184     \c@organization=\count185     \c@savedorganization=\count186     \c@origlocation=\count187     \c@savedoriglocation=\count188     \c@origpublisher=\count189     \c@savedorigpublisher=\count190     \c@publisher=\count191     \c@savedpublisher=\count192     \c@language=\count193     \c@savedlanguage=\count194     \c@pageref=\count195     \c@savedpageref=\count196     Package biblatex Info: Trying to load compatibility code...     Package biblatex Info: ... file 'blx-compat.def' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/blx-compat.def     File: blx-compat.def 2013/11/25 v2.8a biblatex compatibility (PK/JW/AB)     )     Package biblatex Info: Trying to load generic definitions...     Package biblatex Info: ... file 'biblatex.def' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/biblatex.def     File: biblatex.def      \c@textcitecount=\count197     \c@textcitetotal=\count198     \c@textcitemaxnames=\count199     \c@biburlnumpenalty=\count200     \c@biburlucpenalty=\count201     \c@biburllcpenalty=\count202     \c@smartand=\count203     )     Package biblatex Info: Trying to load bibliography style 'numeric'...     Package biblatex Info: ... file 'numeric.bbx' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx     File: numeric.bbx 2013/11/25 v2.8a biblatex bibliography style (PK/JW/AB)     Package biblatex Info: Trying to load bibliography style 'standard'...     Package biblatex Info: ... file 'standard.bbx' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/bbx/standard.bbx     File: standard.bbx 2013/11/25 v2.8a biblatex bibliography style (PK/JW/AB)     \c@bbx:relatedcount=\count204     \c@bbx:relatedtotal=\count205     ))     Package biblatex Info: Trying to load citation style 'numeric'...     Package biblatex Info: ... file 'numeric.cbx' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/cbx/numeric.cbx     File: numeric.cbx 2013/11/25 v2.8a biblatex citation style (PK/JW/AB)     Package biblate      * * * Following up on a suggestion from `moewe` I did this:               \listfiles     \documentclass{article}     \usepackage{biblatex}          \begin{document}     \the\Urlmuskip     \end{document}      Same error as above. Here are the package versions.                article.cls    2007/10/19 v1.4h Standard LaTeX document class       size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)     biblatex.sty    2013/11/25 v2.8a programmable bibliographies (PK/JW/AB)     biblatex2.sty    2013/11/25 v2.8a programmable bibliographies (biber) (PK/JW/AB     )     etoolbox.sty    2011/01/03 v2.1 e-TeX tools for LaTeX         etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)       keyval.sty    1999/03/16 v1.13 key=value parser (DPC)     kvoptions.sty    2011/06/30 v3.11 Key value format for package options (HO)      ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general use (HO)     kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO)     infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error messages (HO)     etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)     ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)       logreq.sty    2010/08/04 v1.0 xml request logger       logreq.def    2010/08/04 v1.0 logreq spec v1.0       ifthen.sty    2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)          url.sty    1999/03/02  ver 1.4  Verb mode for urls, email addresses, and f     ile names       blx-dm.def     biblatex-dm.cfg     blx-compat.def    2013/11/25 v2.8a biblatex compatibility (PK/JW/AB)     biblatex.def         standard.bbx    2013/11/25 v2.8a biblatex bibliography style (PK/JW/AB)      numeric.bbx    2013/11/25 v2.8a biblatex bibliography style (PK/JW/AB)      numeric.cbx    2013/11/25 v2.8a biblatex citation style (PK/JW/AB)     biblatex.cfg          english.lbx    2013/11/25 v2.8a biblatex localization (PK/JW/AB)      ***********      Here's the log file from compiling with `latex`.               This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) (format=latex 2014.3.19)  23 MAR 2014 08:12     entering extended mode      restricted \write18 enabled.      %&-line parsing enabled.     **minimal3.tex     (./minimal3.tex     LaTeX2e <2011/06/27>     Babel <3.9j> and hyphenation patterns for 78 languages loaded.     (/usr/local/texlive/2013/texmf-dist/tex/latex/base/article.cls     Document Class: article 2007/10/19 v1.4h Standard LaTeX document class     (/usr/local/texlive/2013/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/local/texlive/2013/texmf-dist/tex/latex/biblatex/biblatex.sty     Package: biblatex 2013/11/25 v2.8a programmable bibliographies (PK/JW/AB)               Package biblatex Warning: No "backend" specified, using Biber backend.     (biblatex)                To use BibTeX, load biblatex with      (biblatex)                the "backend=bibtex" option.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/biblatex2.sty     Package: biblatex2 2013/11/25 v2.8a programmable bibliographies (biber) (PK/JW/     AB)          (/usr/local/texlive/2013/texmf-dist/tex/latex/etoolbox/etoolbox.sty     Package: etoolbox 2011/01/03 v2.1 e-TeX tools for LaTeX          (/usr/local/texlive/2013/texmf-dist/tex/latex/etex-pkg/etex.sty     Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)     \et@xins=\count87     )     \etb@tempcnta=\count88     )     (/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/keyval.sty     Package: keyval 1999/03/16 v1.13 key=value parser (DPC)     \KV@toks@=\toks14     )     (/usr/local/texlive/2013/texmf-dist/tex/latex/oberdiek/kvoptions.sty     Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)          (/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/ltxcmds.sty     Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)     )     (/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty     Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)          (/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/infwarerr.sty     Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)     )     (/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/etexcmds.sty     Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)          (/usr/local/texlive/2013/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.     )     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.     )))     (/usr/local/texlive/2013/texmf-dist/tex/latex/logreq/logreq.sty     Package: logreq 2010/08/04 v1.0 xml request logger     \lrq@indent=\count89          (/usr/local/texlive/2013/texmf-dist/tex/latex/logreq/logreq.def     File: logreq.def 2010/08/04 v1.0 logreq spec v1.0     ))     (/usr/local/texlive/2013/texmf-dist/tex/latex/base/ifthen.sty     Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)     )     (/usr/local/texlive/2013/../texmf-local/tex/latex/html/url.sty     Package: url 1999/03/02  ver 1.4  Verb mode for urls, email addresses, and file      names     )     \c@tabx@nest=\count90     \c@listtotal=\count91     \c@listcount=\count92     \c@liststart=\count93     \c@liststop=\count94     \c@citecount=\count95     \c@citetotal=\count96     \c@multicitecount=\count97     \c@multicitetotal=\count98     \c@instcount=\count99     \c@maxnames=\count100     \c@minnames=\count101     \c@maxitems=\count102     \c@minitems=\count103     \c@citecounter=\count104     \c@savedcitecounter=\count105     \c@uniquelist=\count106     \c@uniquename=\count107     \c@refsection=\count108     \c@refsegment=\count109     \c@maxextratitle=\count110     \c@maxextratitleyear=\count111     \c@maxextrayear=\count112     \c@maxextraalpha=\count113     \c@abbrvpenalty=\count114     \c@highnamepenalty=\count115     \c@lownamepenalty=\count116     \c@maxparens=\count117     \c@parenlevel=\count118     \blx@tempcnta=\count119     \blx@tempcntb=\count120     \blx@tempcntc=\count121     \blx@maxsection=\count122     \blx@maxsegment@0=\count123     \blx@notetype=\count124     \blx@parenlevel@text=\count125     \blx@parenlevel@foot=\count126     \blx@sectionciteorder@0=\count127     \labelnumberwidth=\skip43     \labelalphawidth=\skip44     \shorthandwidth=\skip45     \biblabelsep=\skip46     \bibitemsep=\skip47     \bibnamesep=\skip48     \bibinitsep=\skip49     \bibparsep=\skip50     \bibhang=\skip51     \blx@bcfin=\read1     \blx@bcfout=\write3     \c@mincomprange=\count128     \c@maxcomprange=\count129     \c@mincompwidth=\count130     Package biblatex Info: Trying to load biblatex default data model...     Package biblatex Info: ... file 'blx-dm.def' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/blx-dm.def)     Package biblatex Info: Trying to load biblatex custom data model...     Package biblatex Info: ... file 'biblatex-dm.cfg' not found.     \c@afterword=\count131     \c@savedafterword=\count132     \c@annotator=\count133     \c@savedannotator=\count134     \c@author=\count135     \c@savedauthor=\count136     \c@bookauthor=\count137     \c@savedbookauthor=\count138     \c@commentator=\count139     \c@savedcommentator=\count140     \c@editor=\count141     \c@savededitor=\count142     \c@editora=\count143     \c@savededitora=\count144     \c@editorb=\count145     \c@savededitorb=\count146     \c@editorc=\count147     \c@savededitorc=\count148     \c@foreword=\count149     \c@savedforeword=\count150     \c@holder=\count151     \c@savedholder=\count152     \c@introduction=\count153     \c@savedintroduction=\count154     \c@namea=\count155     \c@savednamea=\count156     \c@nameb=\count157     \c@savednameb=\count158     \c@namec=\count159     \c@savednamec=\count160     \c@shortauthor=\count161     \c@savedshortauthor=\count162     \c@shorteditor=\count163     \c@savedshorteditor=\count164     \c@translator=\count165     \c@savedtranslator=\count166     \c@labelname=\count167     \c@savedlabelname=\count168     \c@institution=\count169     \c@savedinstitution=\count170     \c@lista=\count171     \c@savedlista=\count172     \c@listb=\count173     \c@savedlistb=\count174     \c@listc=\count175     \c@savedlistc=\count176     \c@listd=\count177     \c@savedlistd=\count178     \c@liste=\count179     \c@savedliste=\count180     \c@listf=\count181     \c@savedlistf=\count182     \c@location=\count183     \c@savedlocation=\count184     \c@organization=\count185     \c@savedorganization=\count186     \c@origlocation=\count187     \c@savedoriglocation=\count188     \c@origpublisher=\count189     \c@savedorigpublisher=\count190     \c@publisher=\count191     \c@savedpublisher=\count192     \c@language=\count193     \c@savedlanguage=\count194     \c@pageref=\count195     \c@savedpageref=\count196     Package biblatex Info: Trying to load compatibility code...     Package biblatex Info: ... file 'blx-compat.def' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/blx-compat.def     File: blx-compat.def 2013/11/25 v2.8a biblatex compatibility (PK/JW/AB)     )     Package biblatex Info: Trying to load generic definitions...     Package biblatex Info: ... file 'biblatex.def' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/biblatex.def     File: biblatex.def      \c@textcitecount=\count197     \c@textcitetotal=\count198     \c@textcitemaxnames=\count199     \c@biburlnumpenalty=\count200     \c@biburlucpenalty=\count201     \c@biburllcpenalty=\count202     \c@smartand=\count203     )     Package biblatex Info: Trying to load bibliography style 'numeric'...     Package biblatex Info: ... file 'numeric.bbx' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx     File: numeric.bbx 2013/11/25 v2.8a biblatex bibliography style (PK/JW/AB)     Package biblatex Info: Trying to load bibliography style 'standard'...     Package biblatex Info: ... file 'standard.bbx' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/bbx/standard.bbx     File: standard.bbx 2013/11/25 v2.8a biblatex bibliography style (PK/JW/AB)     \c@bbx:relatedcount=\count204     \c@bbx:relatedtotal=\count205     ))     Package biblatex Info: Trying to load citation style 'numeric'...     Package biblatex Info: ... file 'numeric.cbx' found.          (/usr/local/texlive/2013/texmf-dist/tex/latex/biblatex/cbx/numeric.cbx     File: numeric.cbx 2013/11/25 v2.8a biblatex citation style (PK/JW/AB)     Package biblate


title: How to automatically insert values into latex code/template

text: I'm in the process of generating an automated report in pdf from latex. Each report is the same, but has different values/graphs. The graphs is no problem, but what is the best way to process a latex template and insert values on predefined places? Any ideas on how you would do this? Thanks!


title: Strange behaviour writing accents in texmaker

text: Sometimes, when I'm going to write accentuated letters such as `á`, just after pressing `´`, that symbol is written, instead of waiting for the next letter. The strange thing is that it works well (for some time) if I switch window and switch back to texmaker (for example, alt+tab, or changing desktop with ctrl+alt+arrow, or closing and reopening texmaker). I don't know if I have misconfigured texmaker, or if it is an operative system issue. I apologize if this is not the place to ask for this. Though I can not give reproducible behaviour, this is what I have:   * linux mint 16 xfce   * installed texlive-latex-base   * installed texlive-lang-spanish   * installed texmaker    * configured texmaker editor to utf-8 with a base document generated with `wizard > new document`               \documentclass[11pt,a4paper]{article}     \usepackage[utf8]{inputenc}     \usepackage[spanish]{babel}     \usepackage{graphicx}     \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}     \begin{document}     ´a    % here I typed ´a     % here I switch and switch back     á     % here I also typed ´a     \end{document}      As I can workaround by switching and switching back to write any accentuated letter (and texmaker compiles words as `técnica` perfectly), it is not an important problem, but I'm curious why is this happenning. ### EDIT I have realised that the error happens when compiling (F1) and goes away when enter some menus like searching or replacing (Ctrl+f and Esc fixes it). ### EDIT 2 As @dcmst suggested, installing `ibus-qt4` fixes it. See comments below.


title: biblatex: relatedtype={bytranslator} does not work as expected with @article and @incollection

text: Yesterday I asked how to include the translation of a work in the bibliography in the form "translated by ... as ...". I was told to use the fields `related={<key>}` and `relatedtype={bytranslator}`. This worked very well for my purposes, at first. But then I realized that it works correctly only for `@book`, not for `@article` or `@incollection`. Take, for example, the following `@incollection` and its translation, which is an `@article`: > Derrida, Jacques (2001). “Une certaine possibilité impossible de dire > l’événement”. In: _Dire l’événement, est-ce possible?_ Paris: L’Harmattan, > pages 79–112. > > Derrida, Jacques (2007). “A certain impossible possibility of saying the > event”. Translated by Gila Walker. In: _Critical Inquiry_ 33.2, pages > 441–461. Combining the two with `relatedtype={bytranslator}` produces the following incomplete entry: > Derrida, Jacques (2001). “Une certaine possibilité impossible de dire > l’événement”. In: _Dire l’événement, est-ce possible?_ Paris: L’Harmattan, > pages 79–112. Translated by Gila Walker as “A certain impossible possibility > of saying the event” (2007). The information about the journal and number in which the translation appeared is missing. That is, the entry should read (I think): > Derrida, Jacques (2001). “Une certaine possibilité impossible de dire > l’événement”. In: _Dire l’événement, est-ce possible?_ Paris: L’Harmattan, > pages 79–112. Translated by Gila Walker as “A certain impossible possibility > of saying the event”. In: _Critical Inquiry_ 33.2 (2007), pages 441–461. Here is a minimal example:               \documentclass[12pt]{article}          \usepackage{filecontents}          \begin{filecontents}{biblio.bib}     @incollection{Derrida2001,     author = {Derrida, Jacques},     title = {Une certaine possibilit\'{e} impossible de dire l'\'{e}v\'{e}nement},     location = {Paris},     publisher = {L'Harmattan},     year = {2001},     pages = {79-112},     booktitle = {Dire l'\'{e}v\'{e}nement, est-ce possible?},     related = {Derrida2007},     relatedtype = {bytranslator},     }     @article{Derrida2007,     author = {Derrida, Jacques},     translator = {Walker, Gila},     title = {A certain impossible possibility of saying the event},     journaltitle = {Critical Inquiry},     volume = {33},     number = {2},     year = {2007},     pages = {441-461},     }          \end{filecontents}          \usepackage[style=authoryear,abbreviate=false]{biblatex}     \addbibresource{biblio.bib}          \begin{document}          Citing a text by \textcite{Derrida2001}.          \printbibliography          \end{document}      When I switch the `translator`, `related`, and `relatedtype` fields, (incorrectly) making the `@incollection` the translation of the `@article`, a similar truncation happens. Instead of > Derrida, Jacques (2007). “A certain impossible possibility of saying the > event”. In: _Critical Inquiry_ 33.2, pages 441–461. Translated by Gila > Walker as “Une certaine possibilité impossible de dire l’événement”. In: > _Dire l’événement, est-ce possible?_ (Paris: L’Harmattan, 2001). I get > Derrida, Jacques (2007). “A certain impossible possibility of saying the > event”. In: _Critical Inquiry_ 33.2, pages 441–461. Translated by Gila > Walker as “Une certaine possibilité impossible de dire l’événement” (Paris: > L’Harmattan, 2001). That is, the title of the book in which the `@incollection` appeared is missing. Is this a bug? If so, is there a way around it? Thanks in advance for your help!


title: Perhaps a missing \item?

text: I tried to reduce the size between lists using the `enumitem` package and I got an error saying `perhaps missing an \item`. This is my code below where I am clearly not missing it!                   \begin{description}[topsep=0pt,itemsep=-1ex,partopsep=1ex,parsep=1ex][topsep=0pt,itemsep=-1ex,partopsep=1ex,parsep=1ex]         \item{(i)}  $xSx$ does not hold for all $x\in X$ (irreflexive).         \item{(ii)}  For all $x,y\in X$, $xSy$ and $ySz$ implies $xSz$ (transitive).         \end{description}


title: How I could add an image in the bottom of pages of my document

text: ![enter image description here](http://i.stack.imgur.com/U93pg.png) Hello! In the picture you can see the bottom of pages 2-7 of one document that I found. I would like to apply the same format in my document and I would like your help. As you can see the document consists of three different images - turbines in different position - (page 3,5,7) and this is repeated till the end. Generally, how I could place an image in the bottom of my page like in this document?


title: Add space between paragraphs in Beamer

text: Customizing spacing between paragraphs in Beamer plagues me constantly. To split two paragraphs by one empty line I usually put `\medskip` tag between paragraphs, but this is very ugly solution. Now I try with `\parskip`, which works fine, but fails inside various environments (e.g., also affecting spacing between items in itemize environment). Minimum example is pasted below. Any help is much appreciated.               \documentclass{beamer}     \usepackage[english]{babel}     \usepackage[utf8x]{inputenc}     \usepackage{parskip}     \setlength{\parskip}{\smallskipamount}           \begin{document}     \begin{frame}{Test frame}     Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum quis erat dolor. Aenean tincidunt sem non quam feugiat tempus.          Sed semper justo vitae sem ultrices semper. Mauris urna leo, dictum eget vulputate vitae, venenatis ut leo.     \end{frame}     \end{document}


title: Writing "Proof of . . ." cleanly in svjour3

text: Perhaps I am spoiled by `amsthm`, but I rather like being able to freely rename the proof environment, especially when there are intervening statements. For example: Example 1: nice behavior               \documentclass[11pt]{article}     \usepackage{amsthm}     \newtheorem{prop}{Proposition}[section]     \newtheorem{lem}[prop]{Lemma}          \begin{document}     \begin{prop} \label{eq:prop1}      Some proposition.     \end{prop}     We prove the above proposition with the help of the following lemma (see [citation]).     \begin{lem}     A useful lemma.     \end{lem}     \begin{proof}[Proof of Prop.~\ref{eq:prop1}]     This is desired behaviour.     \end{proof}     \end{document}      ![A standard environment: the original "proof" is overwritten](http://i.stack.imgur.com/i97SN.png) `svjour3`, however, does not have this property. The `proof` environment as predefined does not omit the original "Proof." text, and puts your addition in parentheses. My workaround is to have a `proofrename` proof with an empty name, and following their suggestion, to use the `theopargself` environment to omit the parentheses around the optional argument. Example 2: bad behavior               \RequirePackage{fix-cm}     \documentclass[smallextended,envcountsame,envcountsect]{svjour3}         \smartqed  % flush right qed marks, e.g. at end of proof     \usepackage{graphicx}     \usepackage{mathptmx}      % use Times fonts if available on your TeX system     \usepackage{amsmath,amssymb}          \spnewtheorem*{proofrename}{}{\itshape}{\rm}          \begin{document}          \begin{proposition} \label{prop:prop1}     The \texttt{proof} environment is strange in \texttt{svjour3}.     \end{proposition}     We prove the above proposition with the help of the following lemma (see [citation]).     \begin{lemma}     A useful lemma.     \end{lemma}          \begin{proof}[Proof of \ref{prop:prop1}, Version 1]     Optional arguments do \textit{not} supersede the ``proof'' statement.       \end{proof}          \begin{theopargself}     \begin{proofrename}[Proof of \ref{prop:prop1}, Version 2.]     Even suppressing the name, there is still some whitespace.       \end{proofrename}     \end{theopargself}     \end{document}      ![svjour3 behavior: the proof is not omitting, or there is some whitespace](http://i.stack.imgur.com/iOMAN.png) Are there any suggestions to get a better `proof` environment? I know it is possible, because of one of the free articles at the journal I'm considering: see the free article by Z. Ercan at Positivity. **Note:** I see that most of the other `svjour3` answers use `\def` ; however, the template `LaTeX` file that comes with `svjour3` requests that you eschew `\def` in favor of `\newcommand` . Therefore, I will prefer answers without `\def`, though I recognize that this may not be possible.


title: Overlap in graphing TikZ picture

text: I'm drawing trees in graph theory. Some of the nodes are overlapped. Can anyone help?                % Red-black tree         % Author: Madit         \documentclass{article}         \usepackage{tikz}         \usetikzlibrary{arrows}              \tikzset{           treenode/.style = {align=center, inner sep=0pt, text centered,             font=\sffamily},           arn_n/.style = {treenode, circle,black, draw=black, text width=1.5em}% arbre rouge noir, noeud noir           %arn_r/.style = {treenode, circle, black, draw=black,              %text width=1.5em},% arbre rouge noir, noeud rouge           %arn_x/.style = {treenode, circle, black, draw=black,             % text width=1.5em}% arbre rouge noir, nil         }              \begin{document}         %1         \begin{tikzpicture}[->,>=stealth',level/.style={sibling distance = 5cm/#1,           level distance = 1.5cm}]          \node [arn_n] {4}             child{ node [arn_n] {3}                      child{ node [arn_n] {1}                          child{ node [arn_n] {5} } %for a named pointer                                     child{ node [arn_n] {}}                     }                     child{ node [arn_n] {2}                                     %child{ node [arn_n] {18}}                                     %child{ node [arn_n] {}}                     }                      child{ node [arn_n] {2}                                     %child{ node [arn_n] {18}}                                     %child{ node [arn_n] {}}                     }                                         }            child{ node [arn_n] {3}                      child{ node [arn_n] {1}                          %child{ node [arn_n] {5} } %for a named pointer                                     %child{ node [arn_n] {}}                     }                     child{ node [arn_n] {2}                                     %child{ node [arn_n] {18}}                                     %child{ node [arn_n] {}}                     }                      child{ node [arn_n] {2}                                     %child{ node [arn_n] {18}}                                     %child{ node [arn_n] {}}                     }                                         }             child{ node [arn_n] {3}                      child{ node [arn_n] {1}                          %child{ node [arn_n] {5} } %for a named pointer                                     %child{ node [arn_n] {}}                     }                     child{ node [arn_n] {2}                                     %child{ node [arn_n] {18}}                                     %child{ node [arn_n] {}}                     }                      child{ node [arn_n] {2}                                     %child{ node [arn_n] {18}}                                     %child{ node [arn_n] {}}                     }                                         }         ;          \end{tikzpicture}                   \end{document}      ![enter image description here](http://i.stack.imgur.com/ydFf0.png)


title: Beamer Column Order

text: I am using beamer and I have created two columns using               \begin{columns}       \column{.5\textwidth}     Column Number 1       \column{.5\textwidth}     Column Number 2      \end{columns}      And I'd like to control the order of these columns when using the `\pause` command. When using the `\pause` before `\column{.5\textwidth}` command, it would cause the column on the left to be appeared and then after clicking or so, the second column will appear. How can I make beamer first draw the right column and then draw the left column?


title: How to make the subsection number and the section title share the same vertical alignment in ToC?

text: # Background The following screenshot shows "the left part of section title" and "the left part of subsection number" have different vertical alignment lines. For `12pt` option passed to `\documentclass`, I can make they have the same vertical alignment lines by using `\setlength{\cftsecnumwidth}{26pt}`. For other font sizes, I need a manual trial and error adjustment. ![alt text](http://i.stack.imgur.com/5Z56l.png) # Question Is it possible to get an exact & automatic adjustment value to be passed to `\setlength{\cftsecnumwidth}{}` instead of using the magic number obtained by trial and error?


title: WYSIWYG LaTeX editor for maths

text: I am fascinated by the Maths SE using MathJAX for expressing maths equations. However writing the equations takes some time and searching for a newbie, so I am looking for a WYSIWYG editor that allows to write equations easily without the need to type the TeX code. Maple allows me to do that by pressing buttons, but unfortunately I don't have access to it at home, so I am basically looking for an alternative.


title: Setting sub-section when section is not numbererd

text: My code looks something like:               \section*{Perspectives}     \setcounter{subsection}{1}     \subsection{...}      The problem is that the subsection now starts from 0.2 instead of 0.1 initially, whereas I want it to start from 1.0. Thanks!


title: Glyph substitution: alternate capital Q in URW-Garamond? (LaTeX, Mac OS X)

text: I am using URW Garamond in LaTeX running on Mac OS X. The capital Q has a very long swash (extending beyond the next two glyphs!), which makes it unusable for me (I have too many capital Q's in my writing, e.g. from Chinese pinyin, W.V.O. Quine, among others). I would like to use an alternate capital Q, with a normal swash, which I assume may exist in the font. I have looked in vain for a package or explanation how to make this switch. I would appreciate any suggestions on how to fix this. PS. I am asking because I am considering using URW Garamond for a book soon to be published by an academic press, assuming I can fix this. If not, I will use the `fourier` package. For a number of reasons I cannot consider alternatives such as XeTeX. I am somewhat hesitant to try to install Adobe Garamond Premier Pro, but I might consider it if that is the only solution.


title: Why two forms for annotating style of text?

text: When I want text to be large I say:               {\Large lorem}      When I want text to be bold I say:               \textbf{lorem}      Why the inconsistency? What's the implementation detail or philosophy behind these two different forms?


title: Sum and Difference on the number line using TikZ

text: I am trying to replicate the idea of sum and difference of real numbers on the number line and have been successful in some way. For example, the code:               \documentclass[letterpaper]{article}     \usepackage{fullpage}     \usepackage{amsmath,amssymb,amsthm,enumitem}     \usepackage[dvipsnames]{xcolor}     %\usepackage{array,multicol}     \usepackage{tikz}     \begin{document}     \begin{tikzpicture}[x=0.75cm,>=stealth]             \draw[<->] (-5,0)--(5,0);             \foreach \x in {-4,...,4}             \draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt) node[below] {\footnotesize $\x$};             \node[below] at (-5,-5pt) {$\ldots$};             \node[below] at (5,-5pt) {$\ldots$};             \fill (3,0) circle (2pt);             \fill (-4,0) circle (2pt);             \draw[<-,out=45,in=135,color=blue] (-4,0) to (-3,0) to (-2,0) to (-1,0) to (0,0) to (1,0) to (2,0) to (3,0);             \node[color=OrangeRed] at (3,-0.75) {\small Start};             \node[color=Cerulean] at (-4,-0.75) {\small End};             \node at (-0.5,0.5) {\small Move 7 units to the \emph{left}};             %\draw[->,shorten >=5pt,shorten <=5pt,out=45,in=135,distance=0.5cm] (0,0) to (1,0);     \end{tikzpicture}     \end{document}      yeilds: ![enter image description here](http://i.stack.imgur.com/IcJHG.png) What I tried to do now was to create a `\newcommand` in which one can indicate a moving arrow to the right as a sum and left as a difference. This is what I have so far:               \documentclass{article}     \usepackage[dvipsnames]{xcolor}     \usepackage{tikz}     \newcommand{\addsubnumline}[3]{%     \begin{tikzpicture}[out=45,in=135,relative,>=stealth]     \draw[<->] (-5,0)--(5,0);     \foreach \x in {-4,...,4}     \draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt) node[below] {\footnotesize $\x$};     \fill (#1,0) circle (2pt);     \fill (#2,0) circle (2pt);     \foreach \i in {#1,...,#2}% Thinking on using [remember=\i as \lasti (initially #1)]     {     \draw[#3] (\i,0) to (\i+1,0);% Try a \breakforeach but don't know     }     \end{tikzpicture}}          \begin{document}          \addsubnumline{-4}{2}{->,color=MidnightBlue}          \end{document}      Which yields: ![enter image description here](http://i.stack.imgur.com/qPVcf.png) What I am trying to achieve is the first image but within one command. I know that my error in the code above would be where `\draw[#3] (\i,0) to (\i+1,0);` is found as the `\i+1` gives the extra jump. The other problem would be to determine the text in the middle of the counting and that it automatically determines to the right or left. This can be probably done with a `\if` and `\else` statement probably. Note also that in the first example, the arrows are not shown for every jump and in the second yes. I like the first one better. Any assistance it the matter will be highly appreciated.


title: Mark a pseudocode block and insert comments near it

text: I am currently working on a LaTeX `beamer` presentation where I have to explain an algorithm. So I wrote this algorithm with               \usepackage{algorithm,algpseudocode}      This is the current algorithm:               \begin{frame}     \begin{algorithm}[H]         \begin{algorithmic}             \Function{tarjan}{Node* node}                 \State $node.visited \gets $ \textbf{true}                 \State $node.index \gets indexCounter$                 \State $s.push(node)$                 \ForAll{$successor$ in $node.successors$}                     \If{$!node.visited$}                         \Call{tarjan}{successor}                     \EndIf                     \State $node.lowlink \gets$ \Call{min}{$node.lowlink, successor.lowlink$}                 \EndFor                      \If{$node.lowlink == node.index$}                     \Repeat                          \State $successor \gets stack.pop()$                     \Until{$successor == node$}                 \EndIf             \EndFunction         \end{algorithmic}     \label{alg:seq2}     \end{algorithm}     \end{frame}      It looks like that: ![enter image description here](http://i.stack.imgur.com/JW05t.png) Now I would like to mark a block and write a comment to it: ![enter image description here](http://i.stack.imgur.com/1XBlx.png) I made the box with Gimp. How do I get this result with LaTeX? (Notes / hints for a better usage of the `algorithmic` environment are also welcome. It's the first time I use it.)


title: How to make the author and year show when citing a source

text: I am trying to cite a source in my file. I want it to come out as "(see Author et al. (Year) for a discussion)". I already have the natbib package in use, and I set my \bibliographystyle to {plainnat}. However, what comes out when I generate the pdf file is: (see (author?) [1] for a discussion) with "(author?)" in bold text. How can I show the author/s and the year instead of the reference number?


title: Insert ams classification in scrartcl

text: How should I insert the AMS classification in the bottom of the first page ? Google doesn't seem to say anything. EDIT: Here is the requested code:               \documentclass[12pt,numbers=withendperiod]{scrartcl}           \newcommand\blfootnote[1]{%       \begingroup       \renewcommand\thefootnote{}\footnote{#1}%       \addtocounter{footnote}{-1}%       \endgroup     }          \begin{document}     \title{}     \author{}     \date{}     \maketitle          \section{Introduction}          \blfootnote{\textup{2000} \textit{Mathematics Subject Classification}: \textup{11D72}}           \end{document}


title: Uncommon type of logical tree

text: I'm trying to reproduce such tree: ![enter image description here](http://i.stack.imgur.com/8XB50.png) I know that it was created with Latex, but since I'm a beginner, I really don't know where to start. Would it be possible to create something like that in TkiZ?


title: Several caption problems in longtable and tabulary

text: I'm trying to typeset some multipage tables with tablenotes and repeating captions on each page. I found this question, which marries the `longtable` environment with `tabulary`. This is quite nice, because then I don't need to take care of the column widths myself, but can use one of the `LRJC` options of `tabulary` to do that for me. In the following MWE, almost everything works out nicely, but there are some caption problems.               \documentclass{scrartcl}          \usepackage[hypcap=true]{caption}         \captionsetup{labelfont=bf, justification=justified, singlelinecheck=false, format=plain}          \usepackage{tabulary, booktabs, longtable, ltcaption}     \usepackage[referable]{threeparttablex}          %% define a new envrionment which marries longtable with tabulary     \makeatletter     \def\ltabulary{%     \def\endfirsthead{\\}%     \def\endhead{\\}%     \def\endfoot{\\}%     \def\endlastfoot{\\}%     \def\tabulary{%       \def\TY@final{%     \def\endfirsthead{\LT@end@hd@ft\LT@firsthead}%     \def\endhead{\LT@end@hd@ft\LT@head}%     \def\endfoot{\LT@end@hd@ft\LT@foot}%     \def\endlastfoot{\LT@end@hd@ft\LT@lastfoot}%     \longtable}%       \let\endTY@final\endlongtable       \TY@tabular}%     \dimen@\columnwidth     \advance\dimen@-\LTleft     \advance\dimen@-\LTright     \tabulary\dimen@}     \def\endltabulary{\endtabulary}     \makeatother     % from http://tex.stackexchange.com/questions/78075/multi-page-with-tabulary (see there for usage)               \begin{document}          \begin{table}         \caption{Nice long caption directly above the start of the table with lots of...}     \begin{threeparttable}         \begin{tabulary}{\textwidth}{LlLLL}             \toprule             top cell one with title & top cell two with title & longtop with note & top cell four with title & top cell five with title\\             \midrule             cell & cell & big long cell stuff & cell & more cell\\             cell & cell & big long cell stuff & cell & more cell\\             cell & cell & big long cell stuff & cell & more cell\\             cell & cell & big long cell stuff & cell & more cell\\             cell & cell & big long cell stuff & cell & more cell\\             cell & cell & big long cell stuff & cell & more cell\\             \bottomrule         \end{tabulary}         \begin{tablenotes}\footnotesize             \note This is a long explanation going over multiple lines. This is a long explanation going over multiple lines. This is a long explanation going over multiple lines. This is a long explanation going over multiple lines. This is a long explanation going over multiple lines.         \end{tablenotes}     \end{threeparttable}     \end{table}               \begin{ThreePartTable}         \begin{TableNotes}\footnotesize             \note This is a long explanation going over multiple lines. This is a long explanation going over multiple lines. This is a long explanation going over multiple lines. This is a long explanation going over multiple lines. This is a long explanation going over multiple lines.         \end{TableNotes}     %   \setlength\LTleft{0pt}     %   \setlength\LTright{0pt}         \captionof{table}{Example of long table over multiple pages}         \begin{ltabulary}{rLlcccc}             \toprule             cell 1 & cell with linebreaks if it gets too wide and wider and wider and wider and wider & cell 3 & cell 4 & 5 & 6 & 7 \\             \midrule             \endfirsthead             \toprule             cell 1 & cell with linebreaks if it gets too wide & cell 3 & cell 4 & 5 & 6 & 7 \\             \midrule             \endhead             \endfoot             \bottomrule             \insertTableNotes             \endlastfoot             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\             1 & 2 & 3 & 4 & 5 & 6 & 7 \\         \end{ltabulary}     \end{ThreePartTable}               \begin{table}         \caption{Nice long caption directly above the start of the table with lots of...}     \begin{threeparttable}         \begin{tabulary}{\textwidth}{LlLLL}             \toprule             top cell one with title & top cell two with title & longtop with note & top cell four with title & top cell five with title\\             \midrule             cell & cell & big long cell stuff & cell & more cell\\             cell & cell & big long cell stuff & cell & more cell\\             cell & cell & big long cell stuff & cell & more cell\\             cell & cell & big long cell stuff & cell & more cell\\             cell & cell & big long cell stuff & cell & more cell\\             cell & cell & big long cell stuff & cell & more cell\\             \bottomrule         \end{tabulary}         \begin{tablenotes}\footnotesize             \note This is a long explanation going over multiple lines. This is a long explanation going over multiple lines. This is a long explanation going over multiple lines. This is a long explanation going over multiple lines. This is a long explanation going over multiple lines.         \end{tablenotes}     \end{threeparttable}     \end{table}          \end{document}      The above code compiles fine, but I have to use `\captionof` which produce problems 2 to 4. If I replace it with `\caption{Example of long table over multiple pages}`, I get the errors in problem 1. These are the problems:   1. I cannot use the `\caption{}` command. It gives me `! LaTeX Error: \caption outside float`. This is the case regardless if I use the `caption` package or not. Also, the placement does not matter. I can put it inside the `ltabulary` environment or outside, both times it gives me the same error. I suspect that, since `longtable` uses its own caption command and it's not included in the definition of `ltabulary` from the question, it does not work. If that is the case, the error makes sense, because `longtable` is not set inside a float which `\caption` needs. I worked around this by using the `\captionof` command from the `caption` package, but this comes with its own problems:   2. The spacing between the caption and the table is too big compared to the other two tables. This can be fixed with `\vspace{-12pt}`, but it's rather tedious to do that for each table.   3. The numbering of subsequent tables is wrong. The third table in the MWE is numbered 4 instead of 3. I suspect this is a problem with longtable and `\captionof`, because longtable sets a new table for each page which increases the table counter. This can be fixed with `\addtocounter{table}{-1}`, but this is, again, rather tedious.   4. I cannot repeat the caption for each page, because `\captionof` inside the `ltabulary` environment gives me an error: `! Missing \endgroup inserted`. I could probably fix this by setting the caption manually, but this is even more tedious, because if I move a table, I have to go back to each table and adjust the numbering. It should also not repeat the whole caption for each page, but add something along the lines of "Table 2 (continued)". Is there some wizard here who can add the `\caption` command to the `ltabulary` definition (which would presumably fix all the problems above in one go), or fix it some other way?


title: How to make breqn work across multiple pages?

text: I'm creating a document programmatic and use `breqn` to automatically break equations across multiple lines. But when a single equation is larger then a page it fails.               \documentclass[11pt,fleqn]{article}     \usepackage[landscape,margin=.5in]{geometry}     \usepackage{amsmath}     \usepackage{breqn}               \begin{document}     \begin{dmath}     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)} =      {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(10)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}+     {RtMinLimitDev5minQty}_{ao, cmsid, gpid, mp, mpid, sl, M(5)}     \end{dmath}            \end{document}


title: References are not updating - bibtex and texpad

text: I am new to latex and my references are not updating. Texpad doesn't generate any bbl files either. Why aren't my references updating even when I choose bibtex typesetting?


title: Url is not displayed correctly

text: I am using some big faculty LaTeX template for my thesis, so I do not really know, which packages I am supposed to mention here ... Anyway, I am trying to write some urls. I write them like               \url{http://tex.stackexchange.com/questions/ask}      But the result in the PDF is               ¡http://tex.stackexchange.com/questions/ask¿      What can be wrong? How can I get rid of those marks?


title: Consistent vertical spacing with tabu

text: In the following table I get some vertical space after the rows whose content is short but not after the row having a cell with long content. The problem is that I want to generate the report from my program and I won't know ahead of time whether each cell will be long or short and I am really hoping that I don't have to do something like examine the content and output different latex code for short and long content cells.               \documentclass{article}     \usepackage{xcolor}     \usepackage{colortbl}     \usepackage{booktabs}     \usepackage{tabu}     \begin{document}          \begin{center}\small      \extrarowsep=3pt\begin{tabu} to \columnwidth{>{\bfseries}lX}                 \everyrow{\tabucline[blue]-}      A & a \\      B & b \\      C & c \\      D & Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \\      E & e \\      \end{tabu}      \end{center}           \end{document}      Output: ![screenshot](http://i.stack.imgur.com/fx0Vd.png)


title: latexmk precompiler options

text: Are there any precompiler options for `latexmk` I can use _inside my LaTeX source_ files? (For instance, to tell `latexmk` to compile using XeLaTeX instead of PDFLaTeX.) I know how to do that with the `.latexmkrc` file, but it would be more useful to me if I could do it within my source files.


title: Undefined control squence \Hy@writebookmark upon patching section command in beamer

text: I attempted to provide a solution to Renew section command to wrap whole section in an environment and thought the best way was to use `etoolbox` to patch the `\section` command. But this leads to:               ! Undefined control sequence.     l.1 ...metitle {Text 1}\let \Hy@writebookmark \org                                                       @writebookmark {}      Here is the MWE:               \RequirePackage{etoolbox}     \documentclass{beamer}          \newif\ifInSection%     \global\InSectionfalse%     \makeatletter     \pretocmd\beamer@section{\ifInSection\end{frame}\fi\global\InSectiontrue}{}{}%     \apptocmd\beamer@section{\begin{frame}[fragile]{#1}}{}{}%     \makeatother          %\AtEndDocument{\end{frame}}% Needed to end the frame at \end{document}          \begin{document}     \section{Text 1}% Do a begin{frame} at end of this macro     Some text (1).     %\end{frame}% Start of next \section will do this          \section{Text 2}% Will end previous frame     Some text (2).     \end{frame}% Delete once \AtEndDocument above works     \end{document}      The `\pretocmd` is used to end the previous `frame` upon the start of a new `\section`, if a previous section was started. The `\apptocmd` is used to start the `frame` at the end of the `\section`. I am not very familiar with `beamer` so not sure if there is an easier way to do this.


title: vertical space around horizontal rules between tabu rows while maintaining color

text: I would like to increase the vertical space before and after a horizontal rule in a tabu table but want the color that is in the cells below and above the rule to not be broken but continue right throuh the rule. Here is my attempt. The first horizontal rule (which is green) does not have enough vertical space so I tried a couple of approaches shown in the red and blue horizontal rules but in both those cases I get white space intervening and I want the color to go right through from the cell above to the cell below. In addition the red rule does not really have enough space above and below it anyways. ADDED: The vertical spacing between rows 1 and 2 should not be changed since there is no rule between them. Also it might be that different horizontal rules require different vertical spacing so the spacing should ideally be controllable on a rule by rule basis.               \documentclass{article}     \usepackage{xcolor}     \usepackage{colortbl}     \usepackage{booktabs}     \usepackage{tabu}     \begin{document}          \begin{center}     \begin{tabu}{X>{\columncolor{blue}}XXX}     1 & 2 & a & b\\     1 & 2 & a & b\\     \tabucline[green]-     1 & 2 & a & b\\     \arrayrulecolor{red}     \cmidrule(r{1.0ex}){1-2}\cmidrule(l{1.0ex}){3-4}     1 & 2 & \cellcolor{green}a & b\\     \addlinespace     \tabucline[blue]-     \addlinespace     1 & 2 & \cellcolor{green}a & b\\     \end{tabu}     \end{center}     \end{document}      Output: ![screenshot](http://i.stack.imgur.com/YgzWg.png)


title: Is there an equation editor for Windows?

text: Is there anything like LaTeXit, a Mac-only program, that converts math equations into LaTeX code, for windows?


title: Vertical alignment of subfigures

text: So I have a document which in a lot of places uses one pstree (part of the pstricks package) and a simple tabular side by side...I do this with subfigures. The problem is that because the pstree image is bigger than the table there is much empty space under the table. I want the table to be vertically centered according to the height of the pstree. Is there a way to do this?               \begin{figure}[h]     \begin{center}          \subfigure {         PSTree code     }          \hspace{40pt}          \subfigure {         \begin{tabular}{c|c|c|}                 The Table         \end{tabular}     }          \end{center}          \caption{The caption for both}     \label{mylabel:1}     \end{figure}


title: Spaces in memoir's section headings

text: I need chapter and section headings without numbers and with any leading spaces ignored (the document is generated by a program - `dblatex`). Here is an example:               \documentclass[12pt]{memoir}          \usepackage{lipsum}          \setcounter{chapter}{-1}     \setcounter{section}{-1}          \renewcommand{\chaptername}{}          \renewcommand{\thechapter}{}     \renewcommand{\thesection}{}          \begin{document}     \chapter{ mychapter }     \section{ mysection }     \lipsum     \end{document}      Unfortunately while chapter headings come out perfectly, section headings are indented, I assume, by   1. gap between missing section number and the heading text (`\quad`?), and    2. the leading space While I can try to "remove" the first part of the indent by `\setsechook{\hangsecnum}`, the leading spaces have to be dealt with by manual editing. How can I achieve the same behavior as in chapter headings (no indent, leading space ignored)?


title: dont apply color in section of Annexs

text: I create a specific color font for my section and subsection ..               \chapterfont{\color{blue}}  % sets colour of chapters     \sectionfont{\color{purple}}  % sets colour of sections     \subsectionfont{\color{magenta}}  % sets colour of subsections     \subsubsectionfont{\color{cyan}}  % sets colour of subsections     \paragraphfont{\color{teal}}  % sets colour of paragraph      But in my Annexs I dont like to color sections what should i do ? Thanks


title: Is it possible to use spot colors in TikZ graphics?

text: Using ConTeXt and Metapost, it is fairly easy to define spot colors and use them in an image:               \starttext     \definecolor[MyRed][c=0,m=1,y=1,k=0]     \definespotcolor[RedSpot][MyRed][p=1,e=MyRed]          \startMPpage       draw unitsquare scaled 10cm;       fill fullcircle scaled 8cm shifted(5cm,5cm) withcolor \MPcolor{RedSpot};       setbounds currentpicture to boundingbox currentpicture enlarged 2mm;     \stopMPpage     \stoptext      The PDF color channels may be separated using GhostScript and then summarized using ImageMagick's `montage` utility:               gs -dBATCH -dNOPAUSE -sDEVICE=tiffsep -r300 -sOutputFile=separation.tif <output pdf>     montage -label "%f" -density 300 <output pdf> *.*.tif -geometry 600 output.png      _NOTE: There is a bug in GhostScript 9.0 -- 9.02 that breaks the tiffsep device by making it unable to load color profiles_ The resulting summary shows that the PDF consists of a black frame and a circle that occupies a spot channel: ![Color Separation of ConTeXt output](http://i.stack.imgur.com/vOeG6.png) * * * A similar effect can be achieved using XColor and PS-Tricks:               \begin{filecontents*}{spot_color.pro}     TeXDict begin     /RedSpotCMYK [0 1 1 0] def     /RedSpotSpot (RedSpot) def     /RedSpotDef RedSpotCMYK aload pop RedSpotSpot findcmykcustomcolor def     /XC@RedSpot{RedSpotDef 1.0 setcustomcolor}XCdef     end     \end{filecontents*}          \documentclass{minimal}     \usepackage[prologue]{xcolor}     \usepackage{pstricks}          \usepackage[tightpage,active,psfixbb]{preview}     \setlength\PreviewBorder{2mm}     \PreviewEnvironment{pspicture}          \definecolor{RedSpot}{cmyk}{0 1 1 0}          \begin{document}     \begin{pspicture}       \psframe (0,0) (10cm,10cm)       \pscircle[fillcolor=RedSpot,fillstyle=solid,linestyle=none] (5cm,5cm){4cm}     \end{pspicture}          \end{document}      Compiled with LaTeX and converted to PDF:               latex pstricks_spot     dvips -h tex.pro -h xcolor.pro -h spot_color.pro pstricks_spot     ps2pdf pstricks_spot.ps      This gives a similar color separation: ![Color Separation of PSTricks output](http://i.stack.imgur.com/IuKKc.png) * * * However, if I try to swap TikZ for PSTricks in the above process:               \begin{filecontents*}{spot_color.pro}     TeXDict begin     /RedSpotCMYK [0 1 1 0] def     /RedSpotSpot (RedSpot) def     /RedSpotDef RedSpotCMYK aload pop RedSpotSpot findcmykcustomcolor def     /XC@RedSpot{RedSpotDef 1.0 setcustomcolor}XCdef     end     \end{filecontents*}          \documentclass{minimal}     \usepackage[prologue]{xcolor}     \usepackage{tikz}          \usepackage[tightpage,active,psfixbb]{preview}     \setlength\PreviewBorder{2mm}     \PreviewEnvironment{tikzpicture}          \definecolor{RedSpot}{cmyk}{0 1 1 0}          \begin{document}     \begin{tikzpicture}[x=1cm,y=1cm]       \draw            (0,0) rectangle (10,10);       \fill[color=RedSpot] (5,5) circle (4);     \end{tikzpicture}          \end{document}      _NOTE:TikZ 2.10 is broken when combined with the Preview package and `dvips`_ The red circle no longer occupies a separate channel: ![Color Separation of TikZ output](http://i.stack.imgur.com/aJ6Yw.png) * * * Therefore, my question is: > Given that XColor can enable spot colors for PSTricks graphics and TikZ also > uses XColor, is it possible to use spot colors in TikZ graphics? If so, I will be asking a follow-up question about doing so without rendering through Postscript (i.e using `pdflatex` instead of `latex`/`dvips`/`ps2pdf`)


title: Include chapters in List of Figures with titletoc?

text: I'm working on a `book` using `titlesec`&`titletoc` and want to include chapters (with their numbers and names, but _no page number_ ) in the list of figures, _if and only if_ they contain figures. Manually adding               \addtocontents{lof}{\contentsline {chapter}{\numberline {\thechapter} {#1}}{} }}      after each chapter works (`#1` is the chaptername), and I could also fix the alignment (not part of MWE), but I couldn't append this to `\chapter`. Can I get `titletoc` to include chapters into the list of figures?   Or how do I modify `\chapter` to add themselves to the lof?               \documentclass[a4paper,12pt]{book}          \usepackage[pagestyles,psfloats,clearempty,newlinetospace]{titlesec}     \usepackage{titletoc}          \titleformat{\chapter}{\huge\bfseries\filcenter}{\vspace{1cm}\thechapter}{0.5cm}{}[]          %\let\Oldchapter\chapter     %\renewcommand{\chapter}[1]{\Oldchapter{#1}\addtocontents{lof}%     %{\contentsline {chapter}{\numberline {\thechapter} {#1}}{} }}          \begin{document}          \tableofcontents     \listoffigures          \mainmatter          \chapter{Introduction}     \section{First}          \chapter{Has Figures}     \begin{figure}     \rule{1cm}{1cm}     \caption{caption text}     \end{figure}          \end{document}


title: wrapfig and rotating place figure at end of document

text: With the packages `wrapfig` and `rotating` and calls to `wraptable`, `sideways` and `tabular`, I get a document where the table is placed at the end of the document. For instance, in a two page document defined by `\pagebreak`, my table gets placed on the second page, or at the end of the document, and not where I want it, on the first page where it is declared. Anyone know why this happens or have a work around?               \documentclass[12pt,letterpaper]{article}     \usepackage[american]{babel}     \usepackage{rotating}     \usepackage{wrapfig}          \begin{document}          \section{Test page 1}          \begin{wraptable}{r}{.5\textwidth}     \begin{sideways}     \begin{tabular}{l}     1 \\     2 \\     3 \\     4     \end{tabular}     \end{sideways}     \end{wraptable}          \pagebreak          \section{Test page 2}          \end{document}      Basically, I want to rotate a (sizable) table on a page that also has horizontal text.


title: Add keyword with special character

text: I'm trying to add a language (Scheme) in the lstlisting package.               \section{Scheme}     \lstdefinelanguage{Scheme}     {morekeywords={,lambda, cond, case, display, let, import, quote, quasiquote, unquote,     define, begin, newline, if, list, apply, null?, car, cdr, or, not, and, for-each,      make-vector, vector-length, vector-ref, vector-set!, eqv?, eq?, equal?, else, set!,      define-record-type, fields, mutable, immutable, assert, parent, with-exception-handler, }     sensitive=false,     morecomment=[l]{;},     morecomment=[s]{/*}{*/},     morestring=[b]",     }      But, it does when I use a lstlisting it does not recognize the keyword with "!", "?", "-"... Do you know how can I fix it? Thank you,


title: Help with drawing a picture (pgf/tikz)

text: I am interested on drawing (I suspect that using pgf/tikz is one of the easiest ways to accomplish this) a picture like the following one ![enter image description here](http://i.stack.imgur.com/yQBP2.jpg) It is supposed to be a grid of the plane (I only care about the points with natural coordinates), where there are some "red bags" which contain some of these points , and there is a region that is coloured on yellow (one of the red bags corresponds exactly to the points in the yellow region). Any idea about how to use pgf/tikz to draw something like this?


title: How to reference sections, equations, and figures in a separate document (e.g., supplemental information)?

text: I have a main document (manuscript) and a supplemental document. I wonder if there is a way that I can "link" the two (make them recognize each other) so that section, equation, and figure references across documents are recognized?


title: How do I enforce a font size on a newly-defined symbol while using it in math mode?

text: I've defined the following new commands:               \newcommand{\atoi}{\mathrm{\rotatebox[origin=c]{180}{$\iotaup$}}}     \newcommand{\scriptatoi}{{\scriptsize{\mathrm{\rotatebox[origin=c]{180}{$\iotaup$}}}}}      to use in this formula (and other formulas in which $\atoi$ occurs):               $\psi^{\scriptatoi x\phi}_{z}  \equiv \exists y(\phi^y_x \:\&\: \forall u(\phi^u_x \rightarrow u\!=\!y) \:\&\: \psi^y_z)$      When I typeset the LaTeX source file using pdflatex (from TeXLive 2010), I get the following complaint: LaTeX Font Warning: Command \scriptsize invalid in math mode on input line 352. If, however, I write the following line instead:               $\psi^{\atoi x\phi}_{z}  \equiv \exists y(\phi^y_x \:\&\: \forall u(\phi^u_x \rightarrow u\!=\!y) \:\&\: \psi^y_z)$      the atoi character appears full size, not superscript size. Writing               $\psi^{\scriptsize\atoi x\phi}_{z}  \equiv \exists y(\phi^y_x \:\&\: \forall u(\phi^u_x \rightarrow u\!=\!y) \:\&\: \psi^y_z)$      again yields the desired typeset result, and again yields the LaTeX Font Warning. How can I do what I want, that is, get my new symbol in an appropriate superscript size when using it in a superscript, while respecting the font restrictions of math mode?


title: Page numbers only half printed in scrreprt

text: I just made a printout of my document in `scrreprt`. I went to a copy shop to see, if everything worked out. Unfortunately, the page numbers are printed only half (the bottom part is cut off). I asked the owner of the shop what was the problem, as the pages are visible on the actual pdf, as for example on page 8: ![enter image description here](http://i.stack.imgur.com/TQz8B.png) The owner told me that the printer adds margins like 5mm, which cut off the bottom. It can be set to scale accordingly, but then my own set margins would not be 100% correct anymore. My question is, what can be done in Latex to account for this? Maybe raising the numbers a bit? If that's an option, it would have to be possible without changing anything else with regards to format or positioning. My document is very much finalized. Any help is highly appreciated. part of my preamble (let me know if you wanna see the full thing)               \documentclass[a4paper, 12pt, headsepline, headings=small, numbers=noendperiod]{scrreprt}     \usepackage{float}     \usepackage[onehalfspacing]{setspace}     \usepackage[T1]{fontenc}     \usepackage[utf8]{inputenc}     \usepackage[ngerman]{babel}     \usepackage{amsmath, amssymb, mathtools}     \usepackage[inline]{enumitem}      \usepackage{mathptmx}      \usepackage[a4paper,]{geometry}     \geometry{left=2cm,right=5cm,top=2cm,bottom=2cm}      Or is it normal to let the printer do the final 'scaling'? Answer: No. I checked the scaled printout's margins which were a little bit too big (eg 2.3 cm on top instead of 2 etc.) Edit: still looking for a simple solution which does as few as possible to the final document. 'Only' move up the page numbers a bit.


title: Center a single chapter heading

text: I want to have a **single** chapter heading centered. The other chapter headings should **not** be centered. I tried the following:               \documentclass[12pt]{scrbook}     \usepackage{lipsum} % for filler text          \begin{document}               \chapter*{\centering{single centered heading}}     \begin{center}          \lipsum          \end{center}          \chapter*{regular not centered heading}     \lipsum          \end{document}


title: ignore subscripts or hide subscripts

text: Is there a way to define a command in a way, that a possible subsequent subscript is hidden? something like               \newcommand{\mycommand}[1]{#1\nosubscript}      analogously to math operators and `\limit` if i want the subscript below. The background is, that I want to be able to define commands for beamer with overlays, that do not show the subscripts at all on specific slides. I try to avoid having to include the subscripts as parameters of the commands. What I would like to achieve, is for example a redefined command `\underbrace` with an overlay specification, such that               $\underbrace<3>{x < 0}_{x \text{ negative}}$      will display the underbrace including its subscript only at on specified overlays, and just `x < 0` otherwise.


title: How do I reuse a command name two or more times?

text: I found out how to reuse a command name. But how can I reuse a command more times, each time using the previous definition? If I simply try something like               \newcommand{\aaa}{a}     \let\oldaaa\aaa     \renewcommand{\aaa}{\oldaaa b} % now \aaa is ab     \let\oldaaa\aaa     \renewcommand{\aaa}{\oldaaa c} % now \aaa should be abc      I get _TeX capacity exceeded_ error. This is a very simplified example. The problem came up when I was trying to write a command that would accomplish a similar task, ie. concatenate its arguments when called repetitively; so, ideally the code should be similar for each repetition.


title: Incomplete arrows and missing arrow heads in TikZ

text: I have the following plot which looks good, but there are two issues:   1. Not all arrows have arrow-heads. I have no idea why this is.    2. Some edges are not long enough. For example, the left edge of the root does not touch the root at the base. What can I do to fix this?               \tikzstyle{every node}=[align=center, fill=white, rectangle, draw, rounded corners]         \tikzset{external/remake next}         \begin{tikzpicture}[->, thick,scale=0.8, level distance=3em, growth parent anchor=south]         \node {Cryptographic\\primitives}         [sibling distance=25em]         child {             [sibling distance=10em]             node {Public-key\\primitives}             child{                  [sibling distance=.5em]                 node {Public-key\\ciphers}             }             child{                  [sibling distance=.5em]                 node {Signatures}             }         }            child {             [sibling distance=10em]             node {Symmetric-key\\primitives}             child{                  [sibling distance=10em]                 node {Symmetric-key\\ciphers}                 child {                     node {Block\\ciphers}                     child {                         node {Lightweight\\block ciphers}                     }                    }                 child {                     node {Stream\\ciphers}                 }             }             child{                  [sibling distance=2em]                 node {Hash\\functions}             }             child{                  [sibling distance=2em]                 node {Pseudo-random\\sequences}             }         }         ;         \end{tikzpicture}