Am 26.06.2013 um 19:16 schrieb Pablo Rodríguez
On 26/06/13 04:47, Wolfgang Schuster wrote:
Am 26.06.2013 um 00:07 schrieb Pablo Rodríguez
: One more question, the file belongs in the following code:
\startstandardmakeup[align=middle] \typesetfile[sample-document.tex][width=10cm, frame=on] \stopstandardmakeup
How can I get this horizontally centered It is vertically centered, and it should be also horizontally aligned, but I don't know why doesn't it work.
You need \dontleavehmode, i.e. \dontleavehmode\typesetfile[…].
Many thanks for your reply, Wolfgang.
From what I understand, the command is basically telling ConTeXt: “don’t make a new paragraph break after the inserted float”, isn‘t it?
No, the command tells TeX to go into horizontal mode. \starttext \ruledvbox {\ruledhbox{One} \ruledhbox{Two}} \ruledvbox {\dontleavehmode \ruledhbox{One} \ruledhbox{Two}} \stoptext Wolfgang