Changes

Jump to navigation Jump to search
1,258 bytes added ,  18:09, 28 December 2014
Created page with "{{Reference |name={{subst:SUBPAGENAME}} |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd..."
{{Reference
|name=setcharstrut
|attributes=
}}

== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setcharstrut<!--
--><span class="first">[...]</span><!--
--></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[...]</td>
<td>''list-of-characters''</td>
</tr>
</table>

== Description ==

Set strut to cover the maximum height and depths of all the characters specified as argument.

== Example ==
By default, position of page headers (including page numbers) are
computed on a per-page basis and the resulting baseline depends on the
maximum glyph height of the given header (which extends to the top of
the header space). Consequently, the baseline of page headers on
successive pages might differ visibly. Presuming, the page numbers
are the "limiting factor" here (i.e. are larger than the page header proper)
a common baseline can be enforced across all pages by
something like
<texcode>
\setuppagenumbering[location={header,margin}, style=\bfc\setcharstrut{0123456789}\strut, strut=no]
</texcode>

== See also ==
* {{cmd|setstrut}}

== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|setcharstrut}}

[[Category:Commands|setcharstrut]]
6

edits

Navigation menu