I have these kinds of statements
\framed[frame=off,align=flushleft,width=\textwidth]{\phrasetext{metamodelexplanation}}
but the text inside the frame is typeset with indentation.
I tried \setupindenting both before and after \starttext, (none,no,never) but that doesn’t work.
How do I turn indenting off in all frameds with align=flushleft or otherwise *everywhere*?
Gerben Wierda (LinkedIn https://www.linkedin.com/in/gerbenwierda) R&A IT Strategy https://ea.rna.nl/ (main site) Book: Chess and the Art of Enterprise Architecture https://ea.rna.nl/the-book/ Book: Mastering ArchiMate https://ea.rna.nl/the-book-edition-iii/
Gerben Wierda via ntg-context schrieb am 19.05.2022 um 17:27:
I have these kinds of statements
\framed[frame=off,align=flushleft,width=\textwidth]{\phrasetext{metamodelexplanation}}
but the text inside the frame is typeset with indentation.
I tried \setupindenting both before and after \starttext, (none,no,never) but that doesn’t work.
How do I turn indenting off in all frameds with align=flushleft or otherwise *everywhere*?
You have to provide a minimal example, in the following the example the text within the frame isn't indented.
%%%% begin example \setupindenting[yes,medium]
\showframe[text][text]
\starttext
metamodelexplanation
\framed[frame=off,align=flushleft,width=\textwidth]{metamodelexplanation}
metamodelexplanation
\stoptext %%%% end example
Wolfgang
On 19 May 2022, at 18:22, Wolfgang Schuster via ntg-context ntg-context@ntg.nl wrote:
You have to provide a minimal example, in the following the example the text within the frame isn't indented.
I cannot always provide a minimal example (how much I would like to) as my TeX is produced in a pipeline from 5600 lines of lua and METAPOST code.
But luckily, in this case I can, the one using \phrasetext is indented, the other one is not.:
\setuplanguage[en][patterns={en}]\mainlanguage[en]
\definelabelclass[phrase]
\setupphrasetext[en][metamodelexplanation= {Only direct relations are shown. Abstract elements are expanded so only real metamodel elements are shown. Uses the Mastering ArchiMate 9-colour scheme to assist learning and quick reading.}]
\starttext \setupindenting[none] \setupindenting[no]
\definelayer[coremodel][width=\textwidth,height=\textheight] \setlayer[coremodel][preset=lefttop,voffset=0.6cm]{\framed[frame=off,align=flushleft,width=\textwidth]{\phrasetext{metamodelexplanation}}} \setlayer[coremodel][preset=lefttop,voffset=6cm]{\framed[frame=off,align=flushleft,width=\textwidth]{Only direct relations are shown. Abstract elements are expanded so only real metamodel elements are shown. Uses the Mastering ArchiMate 9-colour scheme to assist learning and quick reading}} \placelayer[coremodel] \stoptext
G
Gerben Wierda via ntg-context schrieb am 03.06.2022 um 00:57:
On 19 May 2022, at 18:22, Wolfgang Schuster via ntg-context <ntg-context@ntg.nl mailto:ntg-context@ntg.nl> wrote:
You have to provide a minimal example, in the following the example the text within the frame isn't indented.
I cannot always provide a minimal example (how much I would like to) as my TeX is produced in a pipeline from 5600 lines of lua and METAPOST code.
But luckily, in this case I can, the one using \phrasetext is indented, the other one is not.:
\setuplanguage[en][patterns={en}]\mainlanguage[en]
\definelabelclass[phrase]
\setupphrasetext[en][metamodelexplanation= {...}]
The space in your text comes from the space between the = and { when you set the text for metamodelexplanation.
Wolfgang