Re: [NTG-context] typing midaligned

2006-05-09 Thread Peter Münster
On Mon, 8 May 2006, Hans Hagen wrote: ? wrote: On Sun, 7 May 2006, Hans Hagen wrote: ? wrote: On Sat, 6 May 2006, Hans Hagen wrote: you mean that you want centered verbatim? Yes! A very nice solution would be: \starttyping[location=middle] or

Re: [NTG-context] typing midaligned

2006-05-09 Thread Peter Münster
On Tue, 9 May 2006, Hans Hagen wrote: ? wrote: I don't understand, it's still not centred... Or do you mean, I have to put the typing into a box, measure the width of the box, and then calculate the right margin ((\textwidth - \typingwidth) / 2) ? indeed this is teh only way

Re: [NTG-context] typing midaligned

2006-05-08 Thread Peter Münster
On Sun, 7 May 2006, Hans Hagen wrote: ? wrote: On Sat, 6 May 2006, Hans Hagen wrote: you mean that you want centered verbatim? Yes! A very nice solution would be: \starttyping[location=middle] or \setuptyping[location=middle] \starttext \setuptyping

Re: [NTG-context] typing midaligned

2006-05-08 Thread Hans Hagen
� wrote: On Sun, 7 May 2006, Hans Hagen wrote: ? wrote: On Sat, 6 May 2006, Hans Hagen wrote: you mean that you want centered verbatim? Yes! A very nice solution would be: \starttyping[location=middle] or \setuptyping[location=middle]

Re: [NTG-context] typing midaligned

2006-05-07 Thread Hans Hagen
� wrote: On Sat, 6 May 2006, Hans Hagen wrote: you mean that you want centered verbatim? Yes! A very nice solution would be: \starttyping[location=middle] or \setuptyping[location=middle] \starttext \setuptyping

Re: [NTG-context] typing midaligned

2006-05-06 Thread Taco Hoekwater
Peter Münster wrote: Hello, such things are really easy and straightforward with LaTeX (parbox and minipage), but with ConTeXt I have still a lot of difficulties. This is what I do to align some typing in the middle: \starttext \input tufte

Re: [NTG-context] typing midaligned

2006-05-06 Thread Hans Hagen
Taco Hoekwater wrote: Peter M�nster wrote: Hello, such things are really easy and straightforward with LaTeX (parbox and minipage), but with ConTeXt I have still a lot of difficulties. This is what I do to align some typing in the middle: \starttext \input tufte

Re: [NTG-context] typing midaligned

2006-05-06 Thread Peter Münster
On Sat, 6 May 2006, Hans Hagen wrote: you mean that you want centered verbatim? Yes! A very nice solution would be: \starttyping[location=middle] or \setuptyping[location=middle] Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing

[NTG-context] typing midaligned

2006-05-05 Thread Peter Münster
Hello, such things are really easy and straightforward with LaTeX (parbox and minipage), but with ConTeXt I have still a lot of difficulties. This is what I do to align some typing in the middle: \starttext \input tufte \setuptyping[before=\vskip-\lineheight,after=\vskip-0.13\lineheight]