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

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

Reply via email to