New answers tagged

2

Instead of juggling with \addtocounter{enumi} etc it's better to use enumitem and it's start=... option. The \getrefnumber{...} macro from refcount provides an aid to get the real 'number' of an reference -- \ref isn't expandable and will fail here. Please note: \getrefnumber{...} will yield anything as equation number here, i.e. something 1.A.5 would be ...


0

For future references I also ended out with a solution building on the for loop defined in the link @DRi gave in the comments. The solution by @JMP is faster and is more elegant - however using for loops let me better control the number of beads and it is easier to make the path of the strings/arms random. \pgfmathsetmacro{\xvala}{0} ...


5

Here is a starting point for you, using the decorations.markings library of tikz as suggested by percusse. You just need to adjust the path in the way you want, to draw the 'star' correctly and the decoration of the path is done by tikz. By the way, is there any good reason, why you've started to define your coordinates in 3 dimensions? At least for getting ...


5

The fouridx package gives slightly better spacing for the right exponent: \documentclass{article} \usepackage{amsmath} \usepackage{fouridx} \begin{document} \begin{gather*}% {}_{k₀\!}^{\strut}\Delta_k^{(n)} \\% \fourIdx{}{k₀}{(n)}{k}{\!Δ} \end{gather*}% \end{document}


7

What I do is use an empty math atom as the anchor for the pre-script. I have to also (upon EDIT) add a \struted pre-superscript in order to push down the pre-subscript to the proper level as the post-subscript that later follows. Or, as shown in the 2nd case, one can tighten the gap after the pre-subscript by manually adding a negative space \! to the end ...



Top 50 recent answers are included