Again: "hanging" for a lot of paragraphs?
Hi friends,
there are for sure more sophisticated and more urgent problems,
but my question to me is really a big problem.
Isn't there anybody that knows a command or a work-around that could help?
Thank you very much,
Steffen
Steffen Wolfrum
Hi,
I know there is \starthanging xxxx \stophanging and \hangafter=1 \hangindent=1em xxxx. Both commands need to be added to each affected paragraph again and again, right?
Is there a way to have this hanging first line for a series of paragraphs - with just a kind of
\starthangingarea
aaaaaa
bbbbbb
cccccc
\stophangingarea
In cases like bibliographies and alike this would speed up work a lot!!
Thank you very much,
Steffen Wolfrum _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hi, Very quick hack: \starttext \def\hangover{\hangafter=1\hangindent=1em }% sorry for the stupid macro name \definestartstop[hangingarea] [before={\bgroup\appendtoks\hangover\to\everypar}, after=\egroup] \starthangingarea \input tufte \input tufte \stophangingarea \input tufte \stoptext Patrick
At 21:55 18/02/2004, you wrote:
Hi friends,
there are for sure more sophisticated and more urgent problems, but my question to me is really a big problem.
Isn't there anybody that knows a command or a work-around that could help?
Hm, for some time there is a secret feature in cont-new.tex which i still have to finish: \starttext \start \setupparagraphintro[reset,first][\hangafter-2 \hangindent2em FIRST] \input ward \blank \input ward \blank \input ward \blank \input ward \blank \stop \page \start \setupparagraphintro[reset,next][\hangafter-2 \hangindent2em NEXT] \input ward \blank \input ward \blank \input ward \blank \input ward \blank \stop \page \start \setupparagraphintro[reset,each][\hangafter-2 \hangindent2em EACH] \input ward \blank \input ward \blank \input ward \blank \input ward \blank \stop \stoptext The next option only works when you have the following patch in cont-new.tex (Search for original): \def\dosetupparagraphintro[#1][#2]% {\processallactionsinset [#1] [ \v!reset=>\global\chardef\everyparagraphintro\zerocount \global\everyfirstparagraphintro\emptytoks \global\everynextparagraphintro \emptytoks, \v!eerste=>\global\chardef\everyparagraphintro\plusone \doglobal\appendtoks#2\to\everyfirstparagraphintro, \v!volgende=>\ifcase\everyparagraphintro\global\chardef\everyparagraphintro\plusone\fi \doglobal\appendtoks#2\to\everynextparagraphintro, \v!elk=>\ifcase\everyparagraphintro\global\chardef\everyparagraphintro\plustwo\fi \doglobal\appendtoks#2\to\everyfirstparagraphintro \doglobal\appendtoks#2\to\everynextparagraphintro]}
participants (3)
-
Hans Hagen
-
Patrick Gundlach
-
Steffen Wolfrum