ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* re vertical space between Chapter number and title
@ 2020-07-09  9:31 jbf
  0 siblings, 0 replies; only message in thread
From: jbf @ 2020-07-09  9:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I have found my own answer to the question I asked earlier:

\setuppapersize[A4]
\setuplabeltext [en] [chapter=~]
\define[2]\MyChapter
   {\framed[frame=off,width=broad,align=middle]{#1\blank[2cm]#2}}
\setuphead [chapter] [command=\MyChapter]
\chapter{Chapter title}

It was simply a matter of working out where to put the \blank[2cm] (or 
whatever vertical space was required). It replaced {#1\\#2}}

Julian

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-09  9:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09  9:31 re vertical space between Chapter number and title jbf

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).