> -----Ursprüngliche Nachricht-----
> Von: Wolfgang Schuster <[email protected]>
> Gesendet: Mittwoch, 12. März 2025 16:20
> An: [email protected]
> Betreff: [NTG-context] Re: Structureuservariable and long lines
>
> Am 12.03.2025 um 14:23 schrieb [email protected]:
> > Hi,
> >
> > I have section headings where I need to output some descriptions after
> > the label and before the heading title (which may be missing in some
> > cases). I’ve thought the something like the example below should work,
> > but the text from the variable overflows.
> >
> > What am I missing here?
> >
> > Is there maybe an easier way to reach that goal?
> >
> > Best,
> >
> > Denis
> >
> > \define[2]\sectionCMD
> > {#1\par
> > \structureuservariable{something}\par
> > #2
> > }
>
> \define[2]\sectionCMD
> {\vbox\bgroup
> #1\par
> \structureuservariable{something}\par
> #2
> \egroup}
>
Thanks that works.
How can I now format the individual parts? This applies the \bf-formatting even
to #1 and to the variable which is not wanted.
\define[2]\inksubsectionCMD
{\vbox\bgroup
#1\endgraf
\structureuservariable{description}\endgraf
{\bf #2}\egroup
}
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________