From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30854 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Templates and official documents Date: Sat, 16 Sep 2006 18:45:22 +0200 Message-ID: <450C2A22.1010202@boede.nl> References: <4500973E.27413.2375A12@wwl.musensturm.de> <20060915130506.4265a5a3.schuster.wolfgang@googlemail.com> <450ACE10.1090503@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070203060809010106030602" X-Trace: sea.gmane.org 1158425190 21278 80.91.229.2 (16 Sep 2006 16:46:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Sep 2006 16:46:30 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 16 18:46:28 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GOdIc-0007cF-QP for gctc-ntg-context-518@m.gmane.org; Sat, 16 Sep 2006 18:45:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 449A21FD71; Sat, 16 Sep 2006 18:45:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09909-02; Sat, 16 Sep 2006 18:45:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 13ED21FC5A; Sat, 16 Sep 2006 18:45:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 783911FC5A for ; Sat, 16 Sep 2006 18:45:39 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07782-05 for ; Sat, 16 Sep 2006 18:45:30 +0200 (CEST) Original-Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by ronja.ntg.nl (Postfix) with SMTP id 8B00E1FC57 for ; Sat, 16 Sep 2006 18:45:28 +0200 (CEST) Original-Received: from [127.0.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) (authenticated bits=0) by smtp-vbr3.xs4all.nl (8.13.6/8.13.6) with ESMTP id k8GGjMkM049273 for ; Sat, 16 Sep 2006 18:45:27 +0200 (CEST) (envelope-from w.egger@boede.nl) User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:30854 Archived-At: This is a multi-part message in MIME format. --------------070203060809010106030602 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-vbr3.xs4all.nl id k8GGjMkM049273 Hi Jorge, In order to fit a table on one page one can put the table into a buffer=20 and issue the \placetable command, which enables you tou provide a=20 height. In fact you include the table as a float. Because the "Teacher Date" line occurs on each page, this can be put=20 into a footerline. About your question concerning the amplification of the interlinespace I=20 have no appropriate answer. I do not know whether you have comman=3D=20 option where you could give instructions like \setupinterlinespace. Kind regards Willi batela wrote: > Hi Willi > > Tanks a lot for your suggestions, but I need some additional=20 > assistance. With the code in attach my final document have 4 pages,=20 > but I need to fit all information in only 2 pages. In each page I need=20 > to include the logo, the unit name, the school name, the table, the=20 > teacher name and the date. If the table is to large, then the table=20 > will be splited. > > I have an additional question for you: are there a way to amplified=20 > the interline space only in the columns 3,4 and 5 of the table? > > Thanks alot > Jorge > > Em 15/09/2006, =E0s 5:00, Willi Egger escreveu: > >> 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=3Dstart] >> >> \setuplayout >> [tospace =3D 2cm, >> backspace=3D2.5cm, >> headerdistance=3D3\bodyfontsize, >> margin=3D2cm, >> width=3Dfit] >> >> \definelogo[Schoollogo] >> [top] >> [leftmargin] >> >> [command=3D{\framedtext[width=3D\marginwidth,background=3Dcolor,backgr= oundcolor=3Dred]{School=20 >> >> logo}},state=3Dstart] >> >> \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=3D.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: >>> >>> |--------------------------------------------------------------------= ---=20 >>> >>> - | >>> | 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 un= it >>> designation, teacher name, date and signatures. >>> >>> My main question is: is there any way to prepare this kind of documen= ts >>> 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 >>> >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context >> >> > Um Abra=E7o, > > Jorge Magalh=E3es > -----------------------------------------------------------------------= - > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > =20 --------------070203060809010106030602 Content-Type: text/plain; name="jorge-plano9medio.tex" Content-Disposition: inline; filename="jorge-plano9medio.tex" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-vbr3.xs4all.nl id k8GGjMkM049273 \language[pt] \enableregime[latin11] % \enableregime[windows] \loadmapfile[context-base] \setupcolors[state=3Dstart] \definelogo[Schoollogo] [top] [leftmargin] [command=3D{\framedtext[width=3D\marginwidth,background=3Dcolor,backg= roundcolor=3Dred]{Schoollogo}},state=3Dstart] \definefont [PrimeiraColuna][Serif at 9pt] \definefont [PrimeiraLinha][SerifBold at 10pt] %\usetypescript [serif] [hanging] [thanh] %\setupencoding [default=3Dtexnansi] %\setupbodyfont [cmr,11pt] \setupalign [hanging] \setuppapersize[A4,landscape][A4,landscape] \setuplayout [tospace =3D 2cm, backspace=3D2.5cm, headerdistance=3D3\bodyfontsize, footer=3D1.5\bodyfontsize, margin=3D2cm, width=3Dfit] \setupTABLE[r][first][style=3D\PrimeiraLinha,bottomframe=3Don,rulethickne= ss=3D.05em] \setupTABLE[column][1][style=3D\PrimeiraColuna,align=3D{right,lohi},width= =3D6cm] \setupTABLE[column][2][align=3D{lohi}, width=3D5.5cm] \setupTABLE[column][3][align=3D{lohi}, width=3D5cm] \setupTABLE[column][4,5][width=3D3.0cm, align=3D{middle, middle}] \setupTABLE[column][6][width=3D3cm, align=3D{middle, middle}] \startbuffer[cabeca] \bTABLEhead \bTR \bTD[style=3D\bf,align=3D{middle, middle}] COMPET=CANCIAS (o = aluno deve se capaz de:) \eTD \bTD[style=3D\bf,align=3D{middle, middle}] CONTE=DADOS PROGRA= M=C1TICOS \eTD \bTD[style=3D\bf,align=3D{middle, middle}] METODOLOGIAS/SITUA= =C7=D5ES DE APRENDIZAGEM \eTD \bTD[style=3D\bf,align=3D{middle, middle}] RECURSOS DID=C1CTI= COS \eTD \bTD[style=3D\bf,align=3D{middle, middle}] AVALIA=C7=C3O/ INS= TRUMENTOS \eTD \bTD[style=3D\bf,align=3D{middle, middle}] N DE AULAS PREVIST= AS \eTD \eTR \eTABLEhead \stopbuffer \startbuffer[Footer] \hbox to \textwidth{% \vbox{ \starttabulate[|l|lw(5cm)|l|] \NC Teacher name\EQ \NC Date\EQ\NR \stoptabulate}} \stopbuffer \setupheadertexts[{\hfill{\bfa Agrupamento de Escolas do Concelho de AlF=E2= ndega da F=E9}\hfill}] \setupfootertexts[{\getbuffer[Footer]}] \starttext %\showframe %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \placelogos \startalignment[middle] \cap{UNIDADE DID=C1CTICA}: Sustentabilidade na Terra (Reac=E7=F5es Q= u=EDmicas) \stopalignment \startbuffer[TableA] \bTABLE%[frame=3Don, split=3Drepeat,rulethickness=3D.05em] \getbuffer[cabeca] \bTABLEbody \bTR \bTD \startitemize[packed] \item Refere que h=E1 raz=F5es hist=F3ricas para a c= onven=E7=E3o universal dos s=EDmbolos qu=EDmicos \item Indica s=EDmbolos de um conjunto representativo \item Indicar f=F3rmulas de algumas mol=E9culas \item Reconhecer que as formulas das mol=E9culas s=E3= o utilizadas como f=F3rmulas qu=EDmicas das subst=E2ncias \item Representar as mol=E9culas como associa=E7=E3o de =E1tomos esf=E9ricos \item Inferir que h=E1 subst=E2ncias constitu=EDdas p= or =E1tomos todos iguais e subst=E2ncias constitu=EDdas por =E1tomos diferentes \item Reconhecer que h=E1 subst=E2ncias cujas unidade= s estruturais t=EAm carga el=E9ctrica \item Reconhecer que h=E1 i=F5es com carga positiva e com carga negativa \item Indica a f=F3rmula qu=EDmica de compostos i=F3nicos a partir de uma tabela de s=EDmbolos e f=F3rmulas de i=F5es \stopitemize \eTD \bTD Reac=E7=F5es Qu=EDmicas: \startitemize[packed] \item S=EDmbolos e formulas qu=EDmicas \item Subst=E2ncias elementares e compostas \item I=F5es \stopitemize \eTD \bTD Usar e interpretar a linguagem da f=EDsica e da qu=EDmica= Interpretar o significado de s=EDmbolos e sinais de perigo de car=E1cte= r universal Apoiar o aluno na escolha de linguagem que melhor se adequam com os seus interesses \eTD \bTD Livro Acetatos Modelos moleculares Material de Laborat=F3rio \eTD \bTD Fichas de avalia=E7=E3o Fichas de trabalho Grelhas de observa=E7=E3o Relat=F3rios das aulas pr=E1ticas \eTD \bTD 2 \eTD \eTR \eTABLEbody \eTABLE \stopbuffer \placetable [here,force,none] [] {} {\externalfigure[TableA][type=3Dbuffer,height=3D.9\textheight]} \page %%%%%%%%%%% \startalignment[middle] \cap{UNIDADE DID=C1CTICA}: Sustentabilidade na Terra (Mudan=E7a Global e Gest=E3o Sustent=E1vel de Recursos) \stopalignment \startbuffer[TableB] \bTABLE[frame=3Don,width=3Dbroad,rulethickness=3D.1em] \getbuffer[cabeca] \bTABLEbody \bTR \bTD Reconhece a import=E2ncia da previs=E3o do tempo para a s= ociedade e para a preven=E7=E3o de cat=E1strofes \startitemize[packed] \item Conhece as diferentes camadas da atmosfera: \item Indicar a composi=E7=E3o da atmosfera \item Reconhece que a temperatura =E9 um factor importante para a previs=E3o do tempo \item Localiza isitermicas \item Explica em que consiste a humidade relativa e = a humidade absoluta \item Compreende o conceito de press=E3o atmosf=E9ric= a \item Interpreta aexisat=EAncia de altas e baixas press=F5es em fun=E7=E3o das correntes deconvec=E7=E3o \item Localiza is=F3baras, centros dealta s e baixas press=F5es, de forma a compreender um boletim metereol=F3gico \item Compreende que as diferen=E7as de press=E3o provocam os ventos \item Diferencia nas cartas de tempo as frentes fria, quente e oclusa \stopitemize \eTD \bTD Mudan=E7a Global \startitemize[packed] \item Previs=E3o e descri=E7=E3o do tempo atmosf=E9ri= co \item A atmosfera terrestre \item Factores que afectam o clima \startitemize[packed] \item Temperatura \item Humidade do ar \item Press=E3o atmosf=E9rica \item Ventos \stopitemize \stopitemize \eTD \bTD Desenvolver os conte=FAdos a partir de situa=E7=F5es problema Confrontar os alunos com fen=F3menos do dia a dia Discutir poss=EDveis solu=E7=F5es para o problema Propor problemas que exijam pesquisa de meios de resolu=E7= =E3o, reflex=E3o e descoberta \eTD \bTD V=EDdeos Not=EDcias de Jornais \eTD \bTD Fichas de avalia=E7=E3o Fichas de trabalho Grelha de observa=E7=E3o \eTD \bTD 6 \eTD \eTR \eTABLEbody \eTABLE \stopbuffer \placetable [here,force,none] [] {} {\externalfigure[TableB][type=3Dbuffer,height=3D.9\textheight]} %%%%%%%%%%%%%%%%%% \stoptext --------------070203060809010106030602 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------070203060809010106030602--