From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: setuphead
Date: Sun, 30 Jul 2006 18:02:04 -0400 (EDT) [thread overview]
Message-ID: <Pine.WNT.4.63.0607301759240.1044@nqvgln> (raw)
In-Reply-To: <2586493A-A8E0-405C-88F4-A28E55888104@st.estfiles.de>
> Am 29.07.2006 um 09:11 schrieb Taco Hoekwater:
>
>> Steffen Wolfrum wrote:
>>> You mean like this?
>>>
>>> \setuphead[chapter][command=\midaligned,numbercommand=\it,inbetween=
>>> \crlf,textcommand=\bf]
>>
>> That is what I meant but it dodn't work out too well. New approach:
>>
>> \def\Sectioncommand#1#2%
>> {\vbox{\centerline{\it Chapter #1}%
>> \centerline{\bfb #2}}}
>>
>> \setuphead[chapter]
>> [command=\Sectioncommand,
>> style=]
>>
On Sun, 30 Jul 2006, Steffen Wolfrum wrote:
> Well, looks good, BUT
> if the chapter's name is quite long and needs a break
> then the break command used there (\crlf \break \\) can't work
> anymore ....
How about
\def\Sectioncommand#1#2%
{\framed[align=middle,width=broad,frame=no]
{\it Chapter #1 \crlf
\bfb\setupinterlinespace#2\endgraf}}
\setuphead[chapter]
[command=\Sectioncommand,
style=]
\chapter{A very very very very very very loongish title of the
chapter}
Aditya
next prev parent reply other threads:[~2006-07-30 22:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-27 8:59 setuphead Steffen Wolfrum
2006-07-27 13:25 ` setuphead Taco Hoekwater
2006-07-28 20:08 ` setuphead Steffen Wolfrum
2006-07-29 7:11 ` setuphead Taco Hoekwater
2006-07-30 20:17 ` setuphead Steffen Wolfrum
2006-07-30 22:02 ` Aditya Mahajan [this message]
2006-07-30 22:31 ` setuphead Hans Hagen
2006-07-30 22:51 ` setuphead Aditya Mahajan
2006-07-31 5:31 ` setuphead, setuplist Steffen Wolfrum
2006-07-31 11:46 ` Steffen Wolfrum
2006-07-31 15:12 ` Hans Hagen
2006-07-27 15:23 ` setuphead Hans Hagen
2006-07-28 20:09 ` setuphead Steffen Wolfrum
-- strict thread matches above, loose matches on Subject: below --
2005-06-22 8:11 setuphead Wolfgang Zillig
2005-06-22 9:19 ` setuphead Mikael Persson
2005-06-22 11:23 ` setuphead Wolfgang Zillig
2005-06-22 18:35 ` setuphead Hans Hagen
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.0607301759240.1044@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).