ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gerben Wierda via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Gerben Wierda <gerben.wierda@rna.nl>
Subject: Re: How do I turn off indentation inside a \framed with align=?
Date: Fri, 3 Jun 2022 00:57:59 +0200	[thread overview]
Message-ID: <CCDB405A-CD14-4EBD-B911-99B1265A60CF@rna.nl> (raw)
In-Reply-To: <8ab288e5-ed2d-94fc-479d-27a95114ebcb@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1376 bytes --]

> 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 meta­model 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 meta­model elements are shown. Uses the Mastering ArchiMate 9-colour scheme to assist learning and quick reading}}
\placelayer[coremodel]
\stoptext

G

[-- Attachment #1.2: Type: text/html, Size: 2978 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2022-06-02 22:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-19 15:27 Gerben Wierda via ntg-context
2022-05-19 16:22 ` Wolfgang Schuster via ntg-context
2022-06-02 22:57   ` Gerben Wierda via ntg-context [this message]
2022-06-03 11:02     ` Wolfgang Schuster via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CCDB405A-CD14-4EBD-B911-99B1265A60CF@rna.nl \
    --to=ntg-context@ntg.nl \
    --cc=gerben.wierda@rna.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).