Indentation as in itemize
When you use itemize text is neatly put under each-other. I have the folowing in a macro: \bTR \RowWorkTable{}{\bullet\space #1} \eTR When text is overflowing to the following line, the text starts under the bullet. I would like it to start under the character after the space, just like in itemize. How would I do this? As a hack I now use: \bTR \RowWorkTable{}{\startitemize \item #1 \stopitemize} \eTR This does what I want, but I do not find it very pretty. (I have also the feeling that it makes the compilation time longer.) -- Cecil Westerhof
Am 05.08.2011 um 09:02 schrieb Cecil Westerhof:
When you use itemize text is neatly put under each-other. I have the folowing in a macro: \bTR \RowWorkTable{}{\bullet\space #1} \eTR
When text is overflowing to the following line, the text starts under the bullet. I would like it to start under the character after the space, just like in itemize. How would I do this?
You can use descriptions with “location=left”.
As a hack I now use: \bTR \RowWorkTable{}{\startitemize \item #1 \stopitemize} \eTR
This does what I want, but I do not find it very pretty. (I have also the feeling that it makes the compilation time longer.)
It’s slower but you won’t notice a difference of a few microseconds. Wolfgang
2011/8/5 Wolfgang Schuster
Am 05.08.2011 um 09:02 schrieb Cecil Westerhof:
When you use itemize text is neatly put under each-other. I have the folowing in a macro: \bTR \RowWorkTable{}{\bullet\space #1} \eTR
When text is overflowing to the following line, the text starts under the bullet. I would like it to start under the character after the space, just like in itemize. How would I do this?
You can use descriptions with “location=left”.
I tried that, but it did not work. I think I'll stay with the 'ugly' solution. It is only in the macro itself. So I live with it. (For the moment being.)
As a hack I now use: \bTR \RowWorkTable{}{\startitemize \item #1 \stopitemize} \eTR
This does what I want, but I do not find it very pretty. (I have also the feeling that it makes the compilation time longer.)
It’s slower but you won’t notice a difference of a few microseconds.
Sometimes ConTeXt takes a lot longer to compile. (Two to three times. Do not ask me why.) It looks like this happened when I made the change. So I will not bother about it. -- Cecil Westerhof
Am 06.08.2011 um 11:50 schrieb Cecil Westerhof:
2011/8/5 Wolfgang Schuster
Am 05.08.2011 um 09:02 schrieb Cecil Westerhof:
When you use itemize text is neatly put under each-other. I have the folowing in a macro: \bTR \RowWorkTable{}{\bullet\space #1} \eTR
When text is overflowing to the following line, the text starts under the bullet. I would like it to start under the character after the space, just like in itemize. How would I do this?
You can use descriptions with “location=left”.
I tried that, but it did not work. I think I'll stay with the 'ugly' solution. It is only in the macro itself. So I live with it. (For the moment being.)
You can also make an extra column only for the bullet.
As a hack I now use: \bTR \RowWorkTable{}{\startitemize \item #1 \stopitemize} \eTR
This does what I want, but I do not find it very pretty. (I have also the feeling that it makes the compilation time longer.)
It’s slower but you won’t notice a difference of a few microseconds.
Sometimes ConTeXt takes a lot longer to compile. (Two to three times. Do not ask me why.) It looks like this happened when I made the change. So I will not bother about it.
Itemize writes the number of entries of each environment to the auxilary file and when there is a change in this file you get two or three runs. Wolfgang
2011/8/6 Wolfgang Schuster
When you use itemize text is neatly put under each-other.
I have the folowing in a macro:
\bTR \RowWorkTable{}{\bullet\space #1} \eTR
When text is overflowing to the following line, the text starts under
the bullet. I would like it to start under the character after the space, just like in itemize. How would I do this?
You can use descriptions with “location=left”.
I tried that, but it did not work. I think I'll stay with the 'ugly' solution. It is only in the macro itself. So I live with it. (For the moment being.)
You can also make an extra column only for the bullet.
Will not work in my case. Sometimes there is placed something without a bullet. I could then merge the two columns, but that would even be more ugly as the current solution.
As a hack I now use:
\bTR \RowWorkTable{}{\startitemize \item #1 \stopitemize} \eTR
This does what I want, but I do not find it very pretty. (I have also the
feeling that it makes the compilation time longer.)
It’s slower but you won’t notice a difference of a few microseconds.
Sometimes ConTeXt takes a lot longer to compile. (Two to three times. Do not ask me why.) It looks like this happened when I made the change. So I will not bother about it.
Itemize writes the number of entries of each environment to the auxilary file and when there is a change in this file you get two or three runs.
Aaah, that explains it. Thanks. -- Cecil Westerhof
Am 06.08.2011 um 14:59 schrieb Cecil Westerhof:
You can also make an extra column only for the bullet.
Will not work in my case. Sometimes there is placed something without a bullet. I could then merge the two columns, but that would even be more ugly as the current solution.
I thought you hide the table code in your own commands, when this is the case you can make different commands for entries with and without bullets where the second place a empty column and the first a bullet in the extra column. Wolfgang
participants (2)
-
Cecil Westerhof
-
Wolfgang Schuster