Changes

Jump to navigation Jump to search
no edit summary
{{Reference|name=showjustification|attributes= Description ==}}
== [[Help:Reference|Syntax]] ==<table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd">\showjustification<!-- --></td> </tr></table> == Description == Show justification line squashing/stretching in color.{{since|2012|text=nov 2012}}
* blue: natural width is larger than hsize
* cyan: natural width is smaller than hsize (raggedleft)
* yellow: natural width is smaller than hsize (raggedcenter)
* red: probably bad newsnatural width is larger than hsize; overfull hbox
== Example ==
 
<texcode>
\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
</texcode>
[[CategoryFile:CommandsShowjustification.png]] == See also ==* {{cmd|version}}* {{src|trac-jus.lua}} == Help from ConTeXt-Mailinglist/Forum ==All issues with:{{Forum|showjustification}} 
[[Category:Command/Debugging]]
[[Category:Command/MkIV only]]

Navigation menu