Indentation inside \framed won't go away
Hello, I have this nagging issue of indentation (in the 1st line) showing up inside \framed in spite of all the commands to skip indentation (see attached PDF). It appears that *\setupindenting[no]* is not playing any role here and some other parameter is overriding this. Any tips would be appreciated. best regards, Ramkumar \definepapersize[a4-portrait][A4][A4] \setuppapersize[a4-portrait] \setuplayout [topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle] \starttext \offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax] {\framed[frame=on,offset=none,align=flushleft] { % \startparagraph[align=high] \setupindenting[no] Chief Vitalstatistix\\ Getafix\\ Dogmatix\\ Asterix\\ Obelix\\ } } \stoptext
I use
\removeunwantedspaces
in this case.
Ramkumar KB via ntg-context
Hello,
I have this nagging issue of indentation (in the 1st line) showing up inside \framed in spite of all the commands to skip indentation (see attached PDF).
It appears that *\setupindenting[no]* is not playing any role here and some other parameter is overriding this.
Any tips would be appreciated.
best regards, Ramkumar
\definepapersize[a4-portrait][A4][A4] \setuppapersize[a4-portrait] \setuplayout [topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]
\starttext
\offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax] {\framed[frame=on,offset=none,align=flushleft] { % \startparagraph[align=high] \setupindenting[no] Chief Vitalstatistix\\ Getafix\\ Dogmatix\\ Asterix\\ Obelix\\ } } \stoptext
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
___________________________________________________________________________________
\definepapersize[a4-portrait][A4][A4] \setuppapersize[a4-portrait] \setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle] \starttext \offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax] {\framed[frame=on,offset=none,align=flushleft] {% percent sign here, otherwise you get a space Chief Vitalstatistix\\ Getafix\\ Dogmatix\\ Asterix\\ Obelix\\ } } \stoptext Massi Il 21/10/21 10:32, Ramkumar KB via ntg-context ha scritto:
Hello,
I have this nagging issue of indentation (in the 1st line) showing up inside \framed in spite of all the commands to skip indentation (see attached PDF).
It appears that *\setupindenting[no]* is not playing any role here and some other parameter is overriding this.
Any tips would be appreciated.
best regards, Ramkumar
\definepapersize[a4-portrait][A4][A4] \setuppapersize[a4-portrait] \setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]
\starttext
\offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax] {\framed[frame=on,offset=none,align=flushleft] { % \startparagraph[align=high] \setupindenting[no] Chief Vitalstatistix\\ Getafix\\ Dogmatix\\ Asterix\\ Obelix\\ } } \stoptext
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 10/21/2021 10:32 AM, Ramkumar KB via ntg-context wrote:
Hello,
I have this nagging issue of indentation (in the 1st line) showing up inside \framed in spite of all the commands to skip indentation (see attached PDF).
It appears that *\setupindenting[no]* is not playing any role here and some other parameter is overriding this.
Any tips would be appreciated.
best regards, Ramkumar
\definepapersize[a4-portrait][A4][A4] \setuppapersize[a4-portrait] \setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]
\starttext
\offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax] {\framed[frame=on,offset=none,align=flushleft] { % \startparagraph[align=high] \setupindenting[no] Chief Vitalstatistix\\ Getafix\\ Dogmatix\\ Asterix\\ Obelix\\ } } \stoptext you get what you ask for: spaces
{\framed[frame=on,offset=none,align=flushleft] {% \setupindenting[no]% Chief Vitalstatistix\\ or \offset[x=11mm,y=23mm] \bgroup \framed[frame=on,offset=none,align=flushleft] \bgroup \setupindenting[no]% Chief Vitalstatistix\\ Getafix\\ Dogmatix\\ Asterix\\ Obelix\\ \egroup \egroup ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
FV / Massi / Hans,
Thank you so much for the valuable tips.
I will find a suitable place in the Wiki and add this information / nugget.
best regards,
Ramkumar
On Thu, Oct 21, 2021 at 5:10 PM Hans Hagen
On 10/21/2021 10:32 AM, Ramkumar KB via ntg-context wrote:
Hello,
I have this nagging issue of indentation (in the 1st line) showing up inside \framed in spite of all the commands to skip indentation (see attached PDF).
It appears that *\setupindenting[no]* is not playing any role here and some other parameter is overriding this.
Any tips would be appreciated.
best regards, Ramkumar
\definepapersize[a4-portrait][A4][A4] \setuppapersize[a4-portrait]
\setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]
\starttext
\offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax] {\framed[frame=on,offset=none,align=flushleft] { % \startparagraph[align=high] \setupindenting[no] Chief Vitalstatistix\\ Getafix\\ Dogmatix\\ Asterix\\ Obelix\\ } } \stoptext
you get what you ask for: spaces
{\framed[frame=on,offset=none,align=flushleft] {% \setupindenting[no]% Chief Vitalstatistix\\
or
\offset[x=11mm,y=23mm] \bgroup \framed[frame=on,offset=none,align=flushleft] \bgroup \setupindenting[no]% Chief Vitalstatistix\\ Getafix\\ Dogmatix\\ Asterix\\ Obelix\\ \egroup \egroup
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
fv leung
-
Hans Hagen
-
mf
-
Ramkumar KB