From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: John Kitzmiller <kitz@inradius.net>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \defineparagraphs
Date: Sat, 09 Jul 2016 17:10:30 +0200 [thread overview]
Message-ID: <578113E6.30001@gmail.com> (raw)
In-Reply-To: <FA5903A0-295C-4123-B051-1F08215AA9FE@inradius.net>
[-- Attachment #1.1: Type: text/plain, Size: 889 bytes --]
> John Kitzmiller <mailto:kitz@inradius.net>
> 9. Juli 2016 um 14:48
>
>
> Thank you Wolfgang. I had to change .5\localhsize to .5\textwidth for
> it to work here (and scale down the cow to make it fit in the barn.)
>
> I am looking into combinations to center the graphic in the second x
> box, and make a \setupcombination[mycombination] similar to
> \defineparagraph[Mypar] to reduce typing.
\definecombination[john][nx=2,ny=1,width=.5\textwidth]
\startcombination[john]
{...}{}
{...}{}
\stopcombination
> \tbox is new to me. Is that a ConTeXt macro of TEX \vtop{\hbox}?
The command changes the vertical position of the content (by putting it
into an \hbox and changing the height/depth values).
\setupblackrules[width=2cm,height=2cm]
\setuplayout[grid=yes]\showgrid
\starttext
XXX {\blackrule}
XXX \tbox{\blackrule}
XXX \bbox{\blackrule}
XXX
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2401 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:[~2016-07-09 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-08 11:53 \defineparagraphs kitz
2016-07-08 13:20 ` \defineparagraphs Wolfgang Schuster
2016-07-09 12:48 ` \defineparagraphs John Kitzmiller
2016-07-09 15:10 ` 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=578113E6.30001@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=kitz@inradius.net \
--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).