LaTeX では \maketitle という命令で文書の標題と著者名を表示できる.しかし標準のままだとあまりにも大仰な表示がされるので,これを再定義してみる.
次のように stylefile を作ってみた:
moderntitle.sty
\renewcommand\maketitle[0]{
\hspace{-1em}
\fontsize{24.88}{72}{\textgt{\@title}} \normalsize \\
\vspace{-2em}
\begin{flushright}
\@date \quad \@author
\end{flushright}
}
TeX 文書はこんなふうに作ってみる:
document.tex
\documentclass[12pt]{jsarticle}
\usepackage[bold]{otf}
\usepackage{moderntitle}
\begin{document}
\title{第3回運営会議資料}
\author{運営委員長 山田太郎}
\maketitle
\section*{今日の議題}
あれやこれや.
\end{document}
結果として,次のように出力される: