[NTG-context] Templates and official documents
Willi Egger
w.egger at boede.nl
Fri Sep 15 18:00:16 CEST 2006
Hi Jorge,
May be you want much more, but based on your information you could do
something like this:
setuppapersize[A4,landscape][A4,landscape]
\setupcolors[state=start]
\setuplayout
[tospace = 2cm,
backspace=2.5cm,
headerdistance=3\bodyfontsize,
margin=2cm,
width=fit]
\definelogo[Schoollogo]
[top]
[leftmargin]
[command={\framedtext[width=\marginwidth,background=color,backgroundcolor=red]{School
logo}},state=start]
\setupheadertexts[\hfill{\bfa This is our School Name}\hfill]
\starttext
\placelogos
\startalignment[middle]
\cap{unit}: (changing each page)
\stopalignment
\blank
\bTABLE
\setupTABLE[column][1][width=.9\textwidth]
\bTR
\bTD a table with several columns and several rows \eTD
\eTR
\dorecurse{10}{\bTR \bTD more rows \eTD \eTR}
\eTABLE
\vfill
\starttabulate[|l|lw(5cm)|l|]
\NC Teacher name\EQ \NC Date\EQ\NR
\stoptabulate
\stoptext
Willi
batela wrote:
> Dear Sirs
>
> I'm a teacher in a secondary school and I need to prepare some
> planifications for my class. Until now Word can do the job but I'm
> think that ConTexT can do better. The scheme of the layout of my
> document is:
>
> |-----------------------------------------------------------------------
> - |
> | logo School Name
> |
> |
> |
> | UNIT: (changing in each page) |
> |
> |
> | |-----------------------------------------------------------|
> |
> | | a table with several coluns |
> |
> | | and several rows
> | |
> | |-----------------------------------------------------------|
> |
> |
> |
> | Teacher name: Date:
> |
> |_________________________________________|
>
>
> The paper are in landscape orientation and in each page I need to
> represent several elements, like: logo, school name, space for the unit
> designation, teacher name, date and signatures.
>
> My main question is: is there any way to prepare this kind of documents
> in Context? Examples are welcome.
>
> Thanks a lot
>
> Have a nice day
>
> jorge
>
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
More information about the ntg-context
mailing list