Tag Info

New answers tagged

3

In case anyone else comes across this bug I am posting my workaround, until the bug is fixed. I defined MyInt(\x)=x-mod(\x,1) which yields: Notes MyInt() produces results identical to the current broken floor() function. Corrected version is defined as Floor() in the MWE as per How to Graph Floor/Ceiling Functions in LaTeX (PGFPlots). Code: ...


4

Strings should be quoted, not braced: \documentclass{article} \usepackage{tikz} \begin{document} \newcommand\johnlist{{"ala","bla","cla"}} \begin{tikzpicture} \node[shape=circle,draw=black] at (0,0) {\pgfmathparse{\johnlist[1]}\pgfmathresult}; \end{tikzpicture} \end{document} Note the additional braces in the definition of \johnlist and the removal ...



Top 50 recent answers are included