4

私はラテックスで個人的な声明を書いています。ページ上部の大きな余白は、大きなタイトルが多くのスペースを占めるのではなく、望んでいません。レイアウトをコンパクトにするのが好きですが、ページ数に制限があるかもしれないので、タイトル、名前、その他の必要な情報を明確に配置します。1つの例は、http://www.hsc.unt.edu/education/CIM/Documents/PS-Sample2_000.pdfです。良いラテックステンプレートや例はどこにあるのでしょうか?

ありがとう、よろしく!

4

3 に答える 3

4

geometryパッケージを使用して、必要なマージンを確立します。サンプル ドキュメントの余白を取得するには、次のことを試してください。

\usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry}

次の要件は、表題欄を修正することでした。LaTeX は内部コマンドを使用し\@maketitleて表題欄をフォーマットします。これは好きなように再定義できます。サンプル ドキュメントと同じタイトル ブロック スタイルを実現するには、次を使用します。

\usepackage[svgnames]{xcolor}% provides colors for text
\makeatletter% since there's an at-sign (@) in the command name
\renewcommand{\@maketitle}{%
  \begin{center}
    \parskip\baselineskip% skip a line between paragraphs in the title block
    \parindent=0pt% don't indent paragraphs in the title block
    \textcolor{red}{\bf\@title}\par
    \textbf{\@author}\par
    %\@date% remove the percent sign at the beginning of this line if you want the date printed
  \end{center}
}
\makeatother% resets the meaning of the at-sign (@)

\@title\@authorおよび\@dateコマンドは、タイトル、作成者、および日付を出力します。好きな書式設定コマンドを使用して、テキストを太字、異なる色などに設定できます。

上記のすべてのコマンドをドキュメントのプリアンブルに入れます。\documentclassプリアンブルはとの間のスペース\begin{document}です。

\documentclass{article}

% this is the preamble
% put all of the above code in here

\title{Personal Statement}
\author{Tim}

\begin{document}

\maketitle% prints the title block

Emergency medicine has always been a passion of mine\ldots

\end{document}
于 2009-12-27T22:07:51.773 に答える
1

試行 #1: 同様の目的で、cramp2e と呼ぶ次のスタイル ファイルを使用しました。おそらくあなたには適していませんが、見てください:

\oddsidemargin -1cm
\evensidemargin -2cm
\トップマージン 1cm    
\縦24cm
\textwidth 19cm
\頭の高さ 0cm
\headsep.7cm
\footskip.7cm
\parskip .2cm
\紙の高さ 25cm
\setlength\voffset{-.33in}
\setlength\hoffset{-.25in}

何かいい?

追記こちらはA4サイズ用紙用です。

于 2009-12-27T19:40:45.783 に答える