Difference between revisions of "Command/showjustification"
< Command
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
== [[Help:Reference|Syntax]] (autogenerated) == | == [[Help:Reference|Syntax]] (autogenerated) == | ||
<syntax>showjustification</syntax> | <syntax>showjustification</syntax> | ||
+ | |||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
<table cellspacing="4" cellpadding="2" class="cmd"> | <table cellspacing="4" cellpadding="2" class="cmd"> | ||
Line 15: | Line 16: | ||
== Description == | == Description == | ||
− | Show line squashing/stretching in color | + | Show line squashing/stretching in color (since nov 2012). |
* blue: natural width is larger than hsize | * blue: natural width is larger than hsize |
Latest revision as of 13:31, 8 June 2020
\showjustification
Syntax (autogenerated)
\showjustification |
Syntax
\showjustification |
Description
Show line squashing/stretching in color (since nov 2012).
- blue: natural width is larger than hsize
- green: natural width is smaller than hsize
- magenta: natural width is smaller than hsize (raggedright)
- cyan: natural width is smaller than hsize (raggedleft)
- yellow: natural width is smaller than hsize (raggedcenter)
- red: natural width is larger than hsize; overfull hbox
Example
\setuppapersize[A5] \setuplayout[ topspace=1cm, height=19cm, ] \starttext \showjustification \showframe {\notragged \input ward \blank} {\raggedright \input ward \blank} {\raggedleft \input ward \blank} {\raggedcenter \input ward \blank} The x lines have \tex{hsize} 1cm:\par {\hsize1cm \notragged x x xxxxxx xxxxxxxxxxxxxxxxxxx\par} \blank \framed[width=10cm,align=middle]{test} \stoptext
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: