2009-12-02 5 views

Répondre

5
  • Utilisez \nobreak pour éviter les sauts de page.
  • Utilisez \raggedright pour l'alignement à gauche, et {} pour limiter l'effet de la ligne macro \raggedright et vide avant }. Utilisez le \hfill pour déplacer l'auteur vers la droite.

{\raggedright 
Please help me in creating LaTex document with the following structure 
Where Text is a block of 2--10 lines left aligned and Author is one line aligned to the right, and I need these Text+Author blocks to always appear on the same page. 

} 

\nobreak 
\hfill se\_pavel 

{\raggedright 
Please help me in creating LaTex document with the following structure 
Where Text is a block of 2--10 lines left aligned and Author is one line aligned to the right, and I need these Text+Author blocks to always appear on the same page. 

} 

\nobreak 
\hfill se\_pavel 
+0

C'est là que j'allais aussi ... et si vous avez besoin de faire plus de deux fois envelopper le tout dans un '\ newcommand' ou' \ newenvironment' ou équivalent. – dmckee

+0

'\ raggedright',' \ nobreak', '\ hfill' ont moins de lettres que \ begin {someenviroment} ... \ end {someenviroment}. –

+0

merci, la commande hfill m'aide –

Questions connexes