diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/mathspic/mathspic.1')
-rw-r--r-- | Master/texmf-dist/doc/latex/mathspic/mathspic.1 | 44 |
1 files changed, 15 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/latex/mathspic/mathspic.1 b/Master/texmf-dist/doc/latex/mathspic/mathspic.1 index a0f9a70fd5b..9ffa4b6c6c5 100644 --- a/Master/texmf-dist/doc/latex/mathspic/mathspic.1 +++ b/Master/texmf-dist/doc/latex/mathspic/mathspic.1 @@ -1,15 +1,15 @@ -.\" copyright (c) 2005 A Syropoulos and RWD Nickalls +.\" copyright (c) 2010 A Syropoulos and RWD Nickalls .\" mathspic.1 .\" place this file in: /usr/share/man/man1/ .. -.TH mathsPIC 1 "February 2nd, 2005" "mathsPIC perl version" +.TH mathsPIC 1 "April 26, 2010" "mathsPIC perl version" .SH NAME .B mathsPIC .SH AUTHORS -A. Syropoulos and R.W.D. Nickalls (February 2005) +A. Syropoulos and R.W.D. Nickalls (April 26, 2010) - apostolo[at]<ocean1><ee><duth><gr> - dicknickalls[at]<compuserve><com> + asyropoulos[at]<yahoo><com> + dick[at]<nickalls><org> .SH DESCRIPTION .B mathsPIC @@ -100,21 +100,7 @@ command. It is best to place a comment symbol % at the end of LaTeX and TeX commands to limit white space at the end. - In order to prevent color commands in a diagram from influencing any following text (in the document) we recommend that the \\normalcolor command is used as a delimiter within the \\beginpicture...\\endpicture environment as shown in the example below. i.e. use two \\normalcolor commands; one just after the \\beginpicture command, and one just before the \\endpicture command. - - -----example: - \\usepackage{mathspic, color} - ... - \\beginpicture - \\normalcolor - ... - \\color{red}% - drawline{AB} - \\color{blue}% - drawcircle(C,5) - ... - \\normalcolor - \\endpicture + In the event of any colour-spill from a diagram into any following text (this used to be a problem in early TeX implementations) consider using the \\normalcolor command as a delimiter within the \\beginpicture...\\endpicture environment. ============================== @@ -190,7 +176,7 @@ This default arrowhead shape can be reset using the Arrowshape(default) command, .B DrawAngleArc This command draws an arc in the specified angle, a distance <radius> from the angle. The angle is either <internal> (less than 180 deg) or <external> (greater than 180 deg). The direction of the arc is either <clockwise> or <anticlockwise>, and this direction must correspond with the letter sequence specified for the angle. -Strange and unexpected results will be produced if the four parameters are not internally consistent. The option order angle/radius/internal/clockwise is important. The <radius> parameter can be any numerical expression. +Strange and unexpected results will be produced if the four parameters are not internally consistent. The option order angle/radius/internal or external/clockwise or anticlockwise is important. The <radius> parameter can be any numerical expression. -----syntax: DrawAngleArc{angle(), radius(), external, clockwise} @@ -290,7 +276,7 @@ Strange and unexpected results will be produced if the four parameters are not i ============================== .B DrawLine - This command draws a line joining two or more points. Use the Linethickness command to vary thickness. + This command draws a line joining two or more points. Use the Linethickness command to vary thickness. This command uses the PiCTeX \\putrule command for horizontal and vertical lines, and the \\plot command for all other orientations. -----syntax: DrawLine( <points> [, <points>] ) @@ -390,14 +376,14 @@ Strange and unexpected results will be produced if the four parameters are not i .B InputFile This command inputs a plain text file containing mathsPIC commands. Optionally, the file can be input several times, in which case this command functions like a DO--LOOP. -The <loopnumber> can be any numerical expression. If the <loopnumber> is not an integer then mathsPIC will round the value down to the nearest integer. +The <loopnumber> can be any numerical expression. If the <loopnumber> is not an integer then mathsPIC will round the value down to the nearest integer. See also the beginLOOP ... endLOOP commands. -----syntax: inputFile[*](<filename>)[<loopnumber>] -----notes: The inputfile* command is used to input a file in verbatim, i.e. a file with no mathsPIC commands, for example, a file containing only PiCTeX commands or data-points -for plotting etc. Note that the inputfile* command has no <loopnumber> option. +for plotting etc. Note that the inputfile* command has no <loopnumber> option. Note also that PiCTeX requires a ODD number of points. -----examples: inputFile(myfile.dat)[4] @@ -415,7 +401,7 @@ The current value of the linethickness (in current units) can be accessed using var t = _linethickness_ -----notes: - This command also sets the font to \verb!cmr! and plotsymbol to \\CM . and also sets the rule thickness for drawing horizontal and vertical lines. It is important to include a leading zero with decimal fractions less than one. + This command also sets the font to cmr and plotsymbol to \\CM . and also sets the rule thickness for drawing horizontal and vertical lines. It is important to include a leading zero with decimal fractions less than one. -----examples: linethickness(2pt) @@ -453,7 +439,7 @@ The current value of the linethickness (in current units) can be accessed using <name> one leading letter plus maximum of three trailing digits <chars> any TeX string allowed in an \\hbox{} <expr> any numerical expression - The polar(r,theta) option defaults to radians for the angle theta. To work in degrees then must append <deg> eg: polar(r,theta deg). Can use <direction()> and <directiondeg()> to replace theta. + The polar(r,theta) option defaults to radians for the angle theta. To work in degrees then must append <deg> eg: polar(r,theta deg). Can use <direction()> and <directiondeg()> to replace theta. Note that the term vector(AB) means use same (r, theta) as AB. -----examples: point(A){5,5} @@ -545,12 +531,12 @@ The current value of the linethickness (in current units) can be accessed using text(Z2){Z2, shift(5, -5)}[tr] text(Z3){Z2, polar(5, 20 deg)}[Br] text(Z4){Z2, polar(5, 1.34 rad)} - text(\framebox{Z5}){Z5} + text(\\framebox{Z5}){Z5} ============================== .B VAR - The var command is used to define scalar variables. It can be any numerical expression. A variable-name must begin with a single letter (either upper or lower case), and may have up to a maximum of three following digits. If a more detailed variable name is required, then a simple alternative is to use a mathsPIC macro---as any string can be allocated via macros (see the beginning of this chapter for details on macros). + The var command is used to define scalar variables. It can be any numerical expression. A variable-name must begin with a single letter (either upper or lower case), and may have up to a maximum of four following digits. If a more detailed variable name is required, then a simple alternative is to use a mathsPIC macro---as any string can be allocated via macros (see the beginning of this chapter for details on macros). Note that variables, constants and points have the same name structure, and a variable can have the same name as a point (and so we suggest points have uppercase letters and variables and constants have lowercase letters). New values can be re-allocated to existing variable-names; however, when this occurs then mathsPIC does not issue a warning message to hightlight this fact. @@ -586,5 +572,5 @@ The current value of the linethickness (in current units) can be accessed using .SH SEE ALSO The mathsPIC package manual and examples .SH BUGS -Please report bugs to Dick Nickalls (see manual for address) +Please report bugs to Dick Nickalls (dick [AT] nickalls [dot] org) or to Apostolos Syropoulos |