238,588 reputation
11665936
bio website tex.stackexchange.com/users/…
location Colombia
age 45
visits member for 3 years, 11 months
seen 16 hours ago

Useful notes for some of my answers:

CTAN lion drawing by Duane Bibby.

How do you accept an answer?](http://meta.tex.stackexchange.com/q/1852/3954)

minimal working example](http://www.minimalbeispiel.de/mini-en.html)

The demo option for graphicx simply replaces actual figures with black rectangles; do not use that option in your actual document.


16h
comment Forcing subfigure caption to right-middle of figure
+1. A minor suggestion: since the subcaptions are narrow, it would be better to locally use something like \captionsetup[subfigure]{justification=raggedright} to prevent ugly spacing issues in the subcaptions (which you will see if you change the second subcation to, for example, \subcaption{Another ugly image.})
17h
comment TiKZ: place shortened arrow between every pair of points in a draw statement?
@Alasdair I think it would be better if you write a proper answer instead of adding the solution to your question (you can, of course, accept your own answer if no better option appears).
1d
comment How to move tree leaf nodes horizontally after automatic positioning?
@cfr No; I used the code just below "EDIT" and this is what I got: imgur.com/q2rp6AU (same result as in the image you posted). Perhaps neo's system is using outdated packages?
1d
comment Add a phrase to an existing algorithmic command/environment
@FilippoBistaffa \usepackage[noend]{algcompatible} for the standard \FORALL; if you need this for the new block, please feel free to open a new question.
1d
comment How to move tree leaf nodes horizontally after automatic positioning?
@cfr Yes, the dynamic tree keys are powerful; I remember I used some of those features in an answer here some time ago. Regarding the beta-testing, no, I haven heard anything.
1d
comment How to move tree leaf nodes horizontally after automatic positioning?
Nice! (I had already given you my +1).
1d
comment what does \z mean?
@user126154 Perhaps you are trying something like this? \pgfmathrandomitem\z{mylist} \edef\xxxx{\z} \xxxx \xxxx
1d
comment what does \z mean?
@user126154 That's exactly what \pgfmathrandomitem does: \documentclass{article} \usepackage{tikz} \begin{document} \pgfmathdeclarerandomlist{mylist}{{one}{two}{three}{four}{five}{six}{seven}} \pgfmathrandomitem\z{mylist} \z\z\z \end{document}
1d
comment what does \z mean?
@user126154 \z\prunelist{mylist} removes the item stored in \z from the list.
1d
comment what does \z mean?
\pgfmathrandomitem internally makes the necessary definition.
1d
comment what does \z mean?
It's simply the name of a macro.
1d
comment LaTeX Beamer: Define \itemsep globally
@Masroor since \itemize is defined in beamer with an optional argument, using etoolbox's \patchcmd might produce undesired results. \xpatchcmd was written to deal with those cases correctly.
1d
comment LaTeX Beamer: Define \itemsep globally
@Masroor Your try with \AtBeginEnvironment (from etoolbox) executes the code immediately before \itemize so it won't have effect.
1d
comment Changing the font of algorithm name in algo.sty
@user1914367 please see my updated answer. You also need to redefine another command, in case the optional argument is used.
1d
comment Changing the font of algorithm name in algo.sty
@user1914367 this is even easier. See my updated answer.
2d
comment Automatical title section in beamer only on the first frame after \section
Instead of using \frametitle, have you tried using the tree or smoothtree outer themes? Try this, for example, \documentclass{beamer} \useoutertheme{smoothtree} \begin{document} \section{Test section one} \begin{frame} test\end{frame} \subsection{Test subsection one one} \begin{frame} test\end{frame} \subsection{Test subsection one two} \begin{frame} test\end{frame} \section{Test section two} \begin{frame} test\end{frame} \subsection{Test subsection two one} \begin{frame} test\end{frame} \end{document}
2d
comment TIKZ mathematical diagram: arrows should have a common source
+1. Nice. Yoor code can be further simplified: \documentclass[10pt]{amsart} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}[row sep=2ex,start anchor=real east,end anchor=real west,arrows=dash] &e_{12}e_{14}e_{25}e_{25}e_{25} \\ e_{14}e_{15}e_{24}e_{25} \ar[ur] \ar[r] \ar[dr] \ar[ddr,red] \ar[dddr] &e_{12}e_{15}e_{24}e_{25}e_{25} \\ &e_{13}e_{14}e_{35}e_{25}e_{25} \\ &e_{13}e_{15}e_{34}e_{25}e_{25} \\ &e_{13}e_{25}e_{34}e_{25}e_{25} \end{tikzcd} \end{document}
2d
comment Extra space before the first row of an array
Using your code, I don't get the extra spacing (using TeX Live2014).
2d
comment Justification of customized endnotes
@egreg Perhaps turn your comment into an answer?
2d
comment Beamer - ! File ended while scanning use of \next
@KevinC it's not strange in beamer (one of the tags), due to the way the fragile option causes frames with verbatim material to be processed.