ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Code for multiline footers here
@ 2002-07-23  7:00 mari.voipio
  0 siblings, 0 replies; 13+ messages in thread
From: mari.voipio @ 2002-07-23  7:00 UTC (permalink / raw)


I promised to send in the code with which I got my multiline footers to
work. Here's the code, complete with our manuals information and the
comments in the code (intended for our translators etc. non-ConTeXt
people; note that you should cut an paste this into a ConTeXt page before
running, this piece only sets the footer. The style of this footer is
crud, but that's how our manuals look now and I was supposed to achieve
something that looks alike...

%------------------------------------------------------------------
% The combination of boxes below make it possible to use multiple
% lines in the footer and also puts the hairline above the text.
% If you don't know what you are doing, do NOT touch anything but
% the  content visible in the pdf version!
%------------------------------------------------------------------
\setupfootertexts
     [\vbox{
        \hbox to \textwidth{\hairline}
        \hbox to \textwidth{
            \hbox{{\tfxx {\sc Instruction Manual for K-Patents
            Process Refractometer PR-03-D}}}
            \hfill
            \hbox{{\tfxx Document No. INM-3D: Rev. 1/1}}
            }
        \hbox to \textwidth{
            \hfill
            \hbox{{\tfxx Effective: April 19\high{th}, 2001}}
            }
        }
     ][\blank]
     [\vbox{
        \hbox to \textwidth{\hairline}
        \hbox to \textwidth{
            \hbox{{\tfxx {\sc Instruction Manual for K-Patents
            Process Refractometer PR-03-D}}}
            \hfill
            \hbox{{\tfxx Document No. INM-3D: Rev. 1/1}}
            }
        \hbox to \textwidth{
            \hfill
            \hbox{{\tfxx Effective: April 19\high{th}, 2001}}
            }
        }
     ][\blank]
% End of Footer.
%-----------------------------------------------------------------

Mari
(in whose document this really works...)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-07-24 16:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.OSF.4.30.0207230955180.14502-100000@sirppi.helsinki.f i>
2002-07-23  7:40 ` Code for multiline footers here Hans Hagen
2002-07-23 10:32   ` mari.voipio
     [not found]   ` <Pine.OSF.4.30.0207231325390.6142-100000@sirppi.helsinki.fi >
2002-07-23 11:19     ` Hans Hagen
2002-07-23 13:31       ` Adam Lindsay
2002-07-23 14:19         ` Hans Hagen
2002-07-23 15:49           ` Adam Lindsay
2002-07-23 17:03             ` Hans Hagen
2002-07-23 21:13               ` Nigel King
2002-07-24 16:28                 ` Hans Hagen
2002-07-23 11:23     ` Hans Hagen
2002-07-23 20:24       ` ConTeXT cookbook (was: Code for multiline footers here) Henning Hraban Ramm
2002-07-24  6:39         ` Hans Hagen
2002-07-23  7:00 Code for multiline footers here mari.voipio

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