ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Horizontal space and framedtext
Date: Sun, 3 Nov 2019 22:54:04 +0100	[thread overview]
Message-ID: <0f23a92e-efa0-ed24-ac5b-72b581429e9f@gmail.com> (raw)
In-Reply-To: <CACyK-ep5bsxLkhX0cBHOBH4egt1j7JHA5JK2eyXYKfaYRiHRAg@mail.gmail.com>


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

Fabrice Couvreur schrieb am 03.11.2019 um 22:46:
> Hi Wolfgang,
> I know it takes a predefined argument, but I wanted to quote the name 
> of the command as such  \hspace[]. Nevertheless, it does not work with 
> this :
>
> \usecolors[xwi]
> \starttext
> \startframedtext[width=fit,frame=off,
>  background=color,backgroundcolor=paleturquoise]
>
> {\it lancers}\unknown
>
> {\it dé}\unknown
>
> Tant que {\it dé}\unknown Faire
>
> *\unknown
> *
> *\hspace[big]\unknow*n
>
> Fin Tant que
> \stopframedtext
> \stoptext

\hspace works only in horizontal mode and when you try the command at 
the start of a paragraph you need \dontleavehmode to start the paragraph.

\starttext

\hspace[big]\unknown

\dontleavehmode\hspace[big]\unknown

\stoptext

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1889 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:[~2019-11-03 21:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-03  9:56 Fabrice Couvreur
2019-11-03 10:53 ` Wolfgang Schuster
2019-11-03 21:46   ` Fabrice Couvreur
2019-11-03 21:54     ` Wolfgang Schuster [this message]
2019-11-03 21:53       ` Fabrice Couvreur

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=0f23a92e-efa0-ed24-ac5b-72b581429e9f@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.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).