Changes

Jump to navigation Jump to search
1,366 bytes added ,  20:47, 1 November 2012
no edit summary
==Settings==
 
Often references (or links) are printed in a different color than the normal text. In pararef the colors can be set via three paramters:
* <code>crossrefColor</code> for the entire reference text,
* <code>crossreffixColor</code> for the color of the prefix and suffix if different from <code>crossrefColor</code>
* <code>crossrefrefColor</code> for the detail, ref itself and ref details
 
They are defined as parameters of the module:
<texcode>
\usemodule[pararef][crossrefColor=...,crossreffixColor=...,crossrefrefColor=...]
...
</texcode>
 
The brackets and text part for <code>\crossref</code> can also be adjusted or extended with other languages:
 
<texcode>
\setupcrossreftext[internalPrefix={}]
\setupcrossreftext[internalSuffix={}]
\setupcrossreftext[externalPrefix={\[}]
\setupcrossreftext[externalSuffix={\]}]
\setupcrossreftext[cz][atpageLeft={ na straně }]
\setupcrossreftext[cz][atpageRight={ }]
\setupcrossreftext[de][atpageLeft={ auf Seite }]
\setupcrossreftext[de][atpageRight={}]
\setupcrossreftext[en][atpageLeft={ on page }]
\setupcrossreftext[en][atpageRight={}]
</texcode>
 
If you want to change the "classic" style of referencing to the "new" style you only need:
 
<texcode>
\setupcrossreftext[internalPrefix={↗}]
\setupcrossreftext[internalSuffix={}]
\setupcrossreftext[externalPrefix={↑}]
\setupcrossreftext[externalSuffix={}]
</texcode>
98

edits

Navigation menu