From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: itemize: how to get the first level items indented?
Date: Wed, 20 Aug 2014 19:56:04 +0200 [thread overview]
Message-ID: <A4C3E1B6-DA39-4932-979C-E554FFC62832@gmail.com> (raw)
In-Reply-To: <C6A73DC8-8A7E-4182-B30C-D5C2E47A4B66@rna.nl>
[-- Attachment #1.1: Type: text/plain, Size: 911 bytes --]
Am 20.08.2014 um 19:01 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> Works ok at first level. Second level doesn't exactly align. But there is some startstopnarrower in play too. I'l try to create a minimal example.
The narrower environment does also use font dependent values for the left and right margins.
A good method to set a global value for all environments is to set the dimension with the
\definemeasure command and access it with the \measure command.
% engine=pdftex
\definemeasure[myindent][12pt]
\setupindenting[yes,\measure{myindent}]
\setupnarrower
[ left=\measure{myindent},
right=\measure{myindent},
middle=\measure{myindent}]
\setupitemize[each][margin=\measure{myindent}]%,width=\measure{myindent}]
\starttext
\input knuth
\startitemize
\item \input ward
\stopitemize
\startnarrower
\input zapf
\stopnarrower
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1987 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2014-08-20 17:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-19 14:27 Gerben Wierda
2014-08-19 14:33 ` Wolfgang Schuster
2014-08-19 22:21 ` Gerben Wierda
2014-08-19 23:22 ` Aditya Mahajan
2014-08-20 14:07 ` Gerben Wierda
2014-08-20 15:23 ` Wolfgang Schuster
2014-08-20 15:32 ` Gerben Wierda
2014-08-20 15:34 ` Wolfgang Schuster
2014-08-20 15:53 ` Gerben Wierda
2014-08-20 16:01 ` Wolfgang Schuster
2014-08-20 17:01 ` Gerben Wierda
2014-08-20 17:56 ` Wolfgang Schuster [this message]
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=A4C3E1B6-DA39-4932-979C-E554FFC62832@gmail.com \
--to=schuster.wolfgang@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).