Hi. Consider the following example: <file example.tex> \setuphead[section][stopper={.}, numbercommand=\Branch, style=bold] \def\Branch#1{Branch #1} \setupcolumns[2] \starttext \startcolumns \section{This is a short title} \input knuth \section{This is not a short title either, this is a long, very very long title} \input knuth \stopcolumns \stoptext </file> Q1. I want to add the word 'Branch' before a number in section title. May be there is another way to accomplish this. I looked through manual (cont-eni.pdf) but didn't find another solution. Q2. The text of second section is aligned on right edge of 'Branch 2.'. Is there option to make section text to be align on left edge of text body? I use last minimals on Linux (x86_64). --- WBW, Vladimir Lomov -- Q: How many IBM 370's does it take to execute a job? A: Four, three to hold it down, and one to rip its head off.
Am 12.05.10 09:29, schrieb Vladimir Lomov:
Q1. I want to add the word 'Branch' before a number in section title. May be there is another way to accomplish this. I looked through manual (cont-eni.pdf) but didn't find another solution.
\setuplabeltext[<language>][section=Branch ]
Q2. The text of second section is aligned on right edge of 'Branch 2.'. Is there option to make section text to be align on left edge of text body?
\setuphead[section][alternative=paragraph] Wolfgang
** Wolfgang Schuster [2010-05-12 15:02:19 +0200]:
Q1. I want to add the word 'Branch' before a number in section title. May be there is another way to accomplish this. I looked through manual (cont-eni.pdf) but didn't find another solution. \setuplabeltext[<language>][section=Branch ] Q2. The text of second section is aligned on right edge of 'Branch 2.'. Is there option to make section text to be align on left edge of text body? \setuphead[section][alternative=paragraph]
Wolfgang
Thank you Wolfgang. I was aware of \setuphead and \setuplabeltext commands (actually I dig through manual trying to find answers on my questions). Your information is good guide, as always :) --- WBW, Vladimir Lomov -- Fashions have done more harm than revolutions. -- Victor Hugo
participants (2)
-
Vladimir Lomov
-
Wolfgang Schuster