how to make 3-line header?
![](https://secure.gravatar.com/avatar/ecffc5c1eb6692198d091ee98e921822.jpg?s=120&d=mm&r=g)
Dear all, I tried to make a chapter head with 3 lines as following: Chapter #1 Main Title subtitle I looked up wiki and saw many good examples. I modified them to test the above structure. I am using 3 arguments. But it fails. It worked for only 2 arguments. In simpleslide module, we can set many lines for a title. Is there a way of doing that? The following is a slight modification of one in the wiki. It worked for 2 arguments but not for 3. Thank for reading. Best regards, Dalyoung \setupcolors[state=start] \setuphead[chapter][command=\Myheader] %\setupheadtext[chapter=Chapitre] %\defineoverlay[HeaderDeco][\uniqueMPgraphic{HeaderDeco}] \def\Myheader#1#2%#3 {% \framedtext [width= \overlaywidth, height=6\bodyfontsize, background=screen,%{foreground,HeaderDeco}, offset=0pt, strut=no, frame=off, align=middle]{% {\tfb #1 }%\headtext{chapter} #1 \blank[big] {\ss\tfc #2} % \blank[small] % {\ss\tfc #3} } } \starttext \chapter{ConTeXt}{It is good.} \stoptext
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 28.01.2011 um 04:20 schrieb Jeong Dalyoung:
Dear all,
I tried to make a chapter head with 3 lines as following:
Chapter #1
Main Title
subtitle
I looked up wiki and saw many good examples. I modified them to test the above structure. I am using 3 arguments. But it fails. It worked for only 2 arguments. In simpleslide module, we can set many lines for a title. Is there a way of doing that? The following is a slight modification of one in the wiki. It worked for 2 arguments but not for 3.
Why don’t you use \startchapter etc. where you can set your own values with the second argument. http://wiki.contextgarden.net/Generate_Authorlist_from_Head_Content Wolfgang
participants (2)
-
Jeong Dalyoung
-
Wolfgang Schuster