From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: How to make startalignment middle not change the linewidth
Date: Tue, 15 Aug 2006 21:00:56 -0400 (EDT) [thread overview]
Message-ID: <Pine.WNT.4.63.0608152059240.3080@nqvgln> (raw)
In-Reply-To: <Pine.WNT.4.63.0608151924460.3080@nqvgln>
On Tue, 15 Aug 2006, Aditya Mahajan wrote:
> Hi,
> It seems that startalignment[middle] does not like long lines.
> Consider the following example (not strictly minimal, but I can not
> get such a marginal case with default setup).
>
> \setuppapersize[letter][letter]
>
> \setuplayout[
> width=middle,
> height=middle,
> location=middle,
> topspace=.75in,
> bottomspace=0.75in,
> backspace=0.75in,
> cutspace=0.75in,
> leftmargin=0in,
> rightmargin=0in,
> leftmargindistance=0in,
> rightmargindistance=0in,
> header=0in,
> footer=0in,
> headerdistace=0in,
> footerdistance=0in,
> ]
>
> \definetypeface[ieee] [rm] [serif] [times] [texansi]
> \definetypeface[ieee] [mm] [maths] [modern] [texansi]
Duh, I need to learn how to do font setup correctly and without typos.
Even with the correction,
\definetypeface[ieee] [rm] [serif] [times] [default] [texnansi]
\definetypeface[ieee] [mm] [maths] [modern] [default] [texnansi]
the linebreaking is the same as before.
> \setupbodyfont[ieee,10pt]
>
> \definefont[TitleFont] [Regular at 24pt]
>
> \setvariables[paper]
> [ title={Optimal Performance of Feedback Control Systems with
> Limited Communication over Noisy Channels}]
>
> \starttext
> {\TitleFont\setupinterlinespace
> \getvariable{paper}{title}
> \blank[1.0em]\endgraf}
>
> \startalignment[middle]
> {\TitleFont\setupinterlinespace
> \getvariable{paper}{title}
> \blank[1.0em]\endgraf}
> \stopalignment
> \stoptext
>
> How can I get the same linebreaking as the first case, but with each
> line middle aligned?
>
> Aditya
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
>
--
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
next prev parent reply other threads:[~2006-08-16 1:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-15 23:36 Aditya Mahajan
2006-08-16 1:00 ` Aditya Mahajan [this message]
2006-08-16 7:23 ` Taco Hoekwater
2006-08-16 17:44 ` Aditya Mahajan
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=Pine.WNT.4.63.0608152059240.3080@nqvgln \
--to=adityam@umich.edu \
--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).