Tagged Questions
3
votes
1answer
150 views
PGF loop variables in string comparisons
In a bigger context, I need to check whether an integer parameter is contained in a set of numbers. I decided to encode sets as strings; elements are separated by !. I don't know whether this is the ...
6
votes
2answers
943 views
How to concatenate strings, to e.g. create commands that return lists?
I was thinking about Felix' Question, where he wanted to return lists in TikZ. My approach so far was to return the single results as individual \nodes, separated one centimeter each. Now I would like ...
1
vote
2answers
235 views
\pgfmathdectobase macro \pgfmathresult digit index or bitwise operators
Is there a way to access each digit of a macro returned by \pgfmathdectobase (or \pgfmathresult) which is a binary number ? This would be useful for a function which prints the power set of a given ...