* setuplist
@ 2005-08-20 21:44 Olivier
2005-08-21 11:45 ` setuplist Olivier
0 siblings, 1 reply; 2+ messages in thread
From: Olivier @ 2005-08-20 21:44 UTC (permalink / raw)
Hi,
Does anyone know about a way to "reset" the state in a combined list.
Let me illustrate with an example:
\setuplist[chapter][alternative=f,margin=0cm,distance=0cm,before=,after=]
\setuplist[section][alternative=b,style=bold,width=5mm,margin=0mm,distance=0mm]
\setuplist[subsection][alternative=c,style=normal,margin=5mm,width=7mm,distance=2mm]
\chapter{A} % not indented in toc
\section{1}
\subsection{a}
\section{2}
\chapter{B} % indented as a section in toc
\section{1}
\subsection{a}
\chapter{C} % indented as a subsection
Thanks,
Olivier
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: setuplist
2005-08-20 21:44 setuplist Olivier
@ 2005-08-21 11:45 ` Olivier
0 siblings, 0 replies; 2+ messages in thread
From: Olivier @ 2005-08-21 11:45 UTC (permalink / raw)
Answering to myself. Seems like the alternative f is more sensitive than
the command one~:
\def\MyCommand#1#2#3{\framed[width=\hsize]{use#1#2#3aswanted}}
\setuplist[chapter][alternative=command,command=\MyCommand]
is enough to get rid of the indentation issue.
Olivier
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-21 11:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-20 21:44 setuplist Olivier
2005-08-21 11:45 ` setuplist Olivier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).