From: "C." <metan0r@gmx.de>
To: "Context-Mailinglist" <ntg-context@ntg.nl>
Subject: Left and centered text on the same line
Date: Sat, 5 Mar 2011 23:01:29 +0100 [thread overview]
Message-ID: <005b01cbdb80$e22714e0$a6753ea0$@gmx.de> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 698 bytes --]
Good evening,
How can I place left aligned and centered text on one line?
So that the centered text is in the same place as with \startaligned[middle]
I experimented with the following code:
\startalignment[middle]
I'm centered % this serves as a reference, its right in the middle of the
paper
\stopalignment
% now to the tricky part
\starttabulate[|lw(\dimexpr 0.5\textwidth\relax)|c|]
\NC I'm left \NC I'm centered \NC \NR
\NC I'm also left \NC I'm also centered \NC \NR
\stoptabulate
I tried various versions with the dimensions, subtracting \leftmarginwidth
and what not. to no avail.
The tabulate solution is always a tad off. What am I missing here?
-Christian
[-- Attachment #1.2: Type: text/html, Size: 3408 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________
next reply other threads:[~2011-03-05 22:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-05 22:01 C. [this message]
2011-03-05 23:07 ` Aditya Mahajan
2011-03-06 4:44 ` Wolfgang Schuster
2011-03-06 10:57 ` C.
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='005b01cbdb80$e22714e0$a6753ea0$@gmx.de' \
--to=metan0r@gmx.de \
--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).