Changes

Jump to navigation Jump to search
791 bytes added ,  07:14, 27 June 2010
2 new entries
\framed{middle!}
\stopalignment
\stoptext
</texcode>
 
=== Why is there a line-break in the output after some commands? ===
<texcode>
\starttext
\externalfigure[hacker][width=1cm] Why a new line here?
\stoptext
</texcode>
 
Answer: See previous answer!
<texcode>
\starttext
\dontleavehmode
\externalfigure[hacker][width=1cm] Same line!
\stoptext
</texcode>
 
=== Why the space is gobbled after some commands? ===
<texcode>
\starttext
X \externalfigure[hacker][width=1cm] X
\stoptext
</texcode>
 
Answer: When you don't use all of the optional square bracket arguments,
the ConTeXt gobbles the space after the last square bracket. You have at
least 2 solutions:
<texcode>
\starttext
X \externalfigure[hacker][width=1cm][] X % adding empty square brackets
 
X \externalfigure[hacker][width=1cm]\ X % adding explicit space command
\stoptext
</texcode>
147

edits

Navigation menu