2009-12-02 82 views

回答

5
  • 使用\nobreak來避免分頁。
  • 使用\raggedright進行左對齊,使用{}來限制宏\raggedright}之前的空行的效果。
  • 使用\hfill將作者轉移到右側。

{\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

這就是我開得......如果你需要做這個的兩倍多包這一切在一個'\ newcommand'或'\ newenvironment'或同等學歷。 – dmckee 2009-12-02 17:38:39

+0

'\ raggedright','\ nobreak','\ hfill'的字母少於\ begin {someenviroment} ... \ end {someenviroment}。 – 2009-12-02 19:02:35

+0

謝謝你,hfill命令幫助我 – 2009-12-03 14:58:17