next up previous
Next: More on DiaGraph Up: DiaGraph Previous: How to use it?

Parameters

 

DiaGraph has parameters on which its operation depends slightly. All the parameters have their default values, which can be changed by the user by providing the configuration file named .diagraph (or diagraph.cnf on MS-DOS). Local changes can be also made within a source file by writing a line like \a=0.3, which will be in effect only in the following lines.

The built-in default values of these parameters are as described in the sample configuration file .diagraph (the numbers in the brackets). If you like to change the default values, put a modified configuration file with, e.g., \a=0.3, on the directory where you are. Or, put it on the directory where your environment variable DIAGRAPH points. (Or, on the same directory as diagraph.exe, if MS-DOS.) The configuration file will be searched for in the above-mentioned order. If not found, then the built-in default values are assumed.

When changing the value of a parameter within a source file, you may write -\c, which means to change the sign of the value of \c. The default value (built-in or that given by the configuration file) can be recovered by simply writing \c. Similarly for other parameters, but some are not allowed to have negative values.

The built-in default values are designed so that they are proper when the unit length is 1cm. So, you must always specify \setlength{\unitlength}{1cm} (or another appropriate specification of the unit length that you like) in the preamble of the LaTeX file that includes the resulting output file. (Note that the default unit length of LaTeX is 1pt.)



next up previous
Next: More on DiaGraph Up: DiaGraph Previous: How to use it?



Tomomichi Hagiwara
Tue Jul 28 19:12:21 JST 1998


Site Policy