You can define up to two custom units.
For example, the custom unit named 'ln' could be defined as 9.5pt. Then, when you enter "2ln", it will result in 19pt.
The names of custom units must be unique, and different of the standard units. Typical custom unit may be "ln", that stands for "line".
Define custom units in GlobalConfig, as fractions, expressed in millimeters, within Units node. IMPORTANT: If BigPoints = "true", you must use Den="720000". If BigPoints = "false", you must use Den="722700" <Units USACoding="true" BigPoints="true" > <Mis1 Name="line" Abbreviation="line" Num="2489200" Den="720000" DecimalPlaces="0" /> </Units> Notes •Instead to write a fraction, use Num="value" for numerator and Den="value" for denominator. •Only integer numbers are allowed as values for Num and Den. •If BigPoints = "true", you must use Den="720000". If BigPoints = "false", you must use Den="722700" •Convert first the designated value in millipoints, and then multiply the value with 254. •You can strip off the extra trailing zeroes (as long as you strip them equally both on numerator and denominator). Calculation examples for millipoints (Postscript and Tex) •Num="254" and Den="720000" corresponds to 1mpt (Postscript [big] millipoint). •Num="254" and Den="722700" corresponds to 1mpt (Tex). •Num="15625" and Den="41559000" corresponds to 1mdd (Didot millipoint). Custom units examples (unit "ln") •1ln of 10pt (Postscript): Num="254000" Den="720000" •1ln of 9.52pt (Postscript) corresponds to 9520mpt (Postscript), therefore 9520*254 = 2418080, therefore Num="2418080" Den="720000" •1ln of 10pt (Tex): Num="254000" Den="722700" •1ln of 9.52pt (Tex) corresponds to 9520mpt (Tex), therefore 9520*254 = 2418080, therefore Num="2418080" Den="722700" •1ln of 10dd: Num="15625" and Den="41559" •1ln of 9.52dd: Num="148750" and Den="41559" Example of lines in GlobalConfig •"ln" unit, corresponding to 10 Postscript points <Mis1 Name="line" Abbreviation="ln" Num="2540000" Den="720000" DecimalPlaces="2" /> <!-- Example custom unit 'page' - 1 page = 60 lines --> <Mis2 Name="page" Abbreviation="pg" Num="15240" Den="72" DecimalPlaces="2" /> IMPORTANT: To make these changes available to the GN4 users, after you saved the GLOBALCONFIG.XML file and imported it into the database, or after you modified it in EdAdmin4 and saved, recycle the GN4 application pools on all IIS servers and then make all users log out and log back in. |