Tag Info

1 vote
Accepted

splitting code on to separate pages in a worksheet

UPDATED Try this code. The code was simplified to avoid repetitions. Each line of 8 problems is generated by ; \OneXLine{<true or false>}{<result color>} The first argument controls the ...
• 30.3k
Accepted

How to improve rand from pgfmath in tkz-euclide?

If you need more than 26 points, you're going to want to use a number for the points' names. (The \foreach macro would allow \foreach \pnt in {A,...,P}.) Here I'm using three \foreach loops: to ...
• 90.7k
1 vote
Accepted

Plotting function with polygonal domain using pgfplots

There is nothing wrong with the way you specify your domain: domain=-1:1, y domain=-1:1. A domain is the area over which the function is plotted. The problem comes from two things. Firstly PGFPlots ...
• 25.6k
Accepted

adding another node to a number line

I took the liberty to rewrite the \tikznumberline command. You can now use the following keys to change the number line and its labels: start and end specify the points on the line that shall be ...
• 90.7k
1 vote

foreach limit computed through an operation between pgfmathsetlengthmacros

As percusse said, the \foreach macro doesn't evaluate the elements of a list – at least not by default. However, the /pgf/foreach/parse key activates the parsing for the last element in the list. For ...
• 90.7k