Difference between revisions of "Command/showjustification"
< Command
Jump to navigation
Jump to search
(Created page with "== Description == Show justification in color * blue: natural width is larger than hsize * green: natural width is smaller than hsize * magenta: natural width is smaller than h...") |
(No difference)
|
Revision as of 08:40, 28 November 2012
Description
Show justification in color
- 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: probably bad news
Example
\starttext \showjustification \showframe {\notragged \input ward \blank} {\raggedright \input ward \blank} {\raggedleft \input ward \blank} {\raggedcenter \input ward \blank} {\hsize1cm \notragged x x xxxxxx xxxxxxxxxxxxxxxxxxx\par} \blank \framed[width=10cm,align=middle]{test} \stoptext