Henning Hraban Ramm wrote:
Am 2006-01-03 um 12:08 schrieb Renaud AUBIN:
I want to obtain something like this on my title page :
Composition du jury : Pr�sident : M. Pr�nom NOM Rapporteurs : M. Truc BIDULE de paris Mme Machin CHOUETTE blabla Examinateurs : M. Ano NYME
I would have macro to do this (inspired from thloria LaTeX package) like : \President = {M. Pr�nom NOM} \Rapporteurs = {M. Truc BIDULE&de Paris\\ Mme Machin CHOUETTE&blabla } \Examinateurs = {M. Ano NYME}
I have some ideas on how to do this but I need advices to know what's the best way to manage this issue.
What is "this", i.e. where's your problem?
How to format the title page? -- You could use a table.
Do you need the "jobs" multilingual? -- use \translate[fr=Pr�sident, de=Pr�sident, en=President]
How to define a macro? -- \def\President#1{\def\doPresident{#1}} (and use \doPresident in the table) The letter style uses a similar approach; I'm just trying to enhance it, see the "serial definition" thread.
I don't think the "\Something = {Anything}" style is possible at all. You could use keyval style like \MyTitle[president={M. Pr�nom NOM}, somebodyelse={}], see http://wiki.contextgarden.net/ Commands_with_KeyVal_arguments I don't know how that could work with lists of persons.
title pages are often made with \startstandardmakeup \vfil \bfd \setupinterlinespace Whatever \par \bfb \setupinterlinespace You Want \par \vfil \vfil \stopstandardmakeup kind of constructs, or (more fun), by putting things on a layer and flushing that one Hans