ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
Subject: Re: Templates and official documents
Date: Fri, 15 Sep 2006 18:00:16 +0200	[thread overview]
Message-ID: <450ACE10.1090503@boede.nl> (raw)
In-Reply-To: <dcffae5fb95e3a5663c6bfdefe8374f1@tugamail.com>

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@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   

  reply	other threads:[~2006-09-15 16:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.694.1157608687.2039.ntg-context@ntg.nl>
2006-09-07 20:03 ` figurenumbering Wolfgang Werners-Lucchini
2006-09-15 11:05   ` figurenumbering Wolfgang Schuster
2006-09-15 14:22     ` Templates and official documents batela
2006-09-15 16:00       ` Willi Egger [this message]
2006-09-15 22:08         ` batela
2006-09-16 16:45           ` Willi Egger

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=450ACE10.1090503@boede.nl \
    --to=w.egger@boede.nl \
    --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).