2009/06 |  12345678910111213141516171819202122232425262728293031 | 2009/08

更新履歴



texメモ

texでのメモです。
今回の卒論で使用したスタイルです。
sotuken02.jpg

画像はsampleです。




2段組みにするのに以下のようにdocumentclassをします。

\documentclass[11pt,twocolumn]{jarticle}

sectionのフォントサイズがLargeで大きすぎるという方は変更します。

\makeatletter
\def\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\sectionformat}}
\def\sectionformat{\large\bf}
\makeatother

sectionを真中に定義したい場合

\def\sectionformat{\large\center}

にするだけです。
subsectionも同様に定義したい場合

\makeatletter
\def\subsection{\@startsection {subsection}{1}{\z@}{-3.5ex plus -1ex minus
-.2ex}{2.3ex plus .2ex}{\normalsize\bf}}
\makeatother

largeやnormalsize以外にも変更することができます。
さらにsectionの「.」にこだわる場合以下のように定義します。

\makeatletter
%sectionの.をつけたやつ
\def\thesection{\arabic{section}.}
\def\thesubsection{\thesection\,{\arabic{subsection}}}
\def\thesubsubsection{\thesubsection.\,\arabic{subsubsection}}
\def\theparagraph{\alph{paragraph}\,)}
\def\thesubparagraph{\roman{subparagraph}\,)}
\makeatother

begin documentに入ります

\begin{document}
\twocolumn[
\begin{center}
\huge{線形切換えシステムの安定化} \\
\normalsize
\begin{flushright}
中堅大学\hspace*{22pt}佐倉 隼人\hspace*{52pt}~\\
指導教員\hspace*{22pt}教授   \hspace*{52pt}~\\
\end{flushright}
\end{center}
]
\section{はじめに}
では文献[1]を…

こんな感じで書いていきます。
2段組みにするにあたって真中に線が引かれると思います。
これを消す(見えなくするようにする)ためには

\setlength{\columnseprule}{0pt}%中央の線の幅0pt

にすればよいです。

会社でtexを使うところもあるので卒論は練習ですね。

このエントリーを含むはてなブックマーク Yahoo!ブックマークに登録 人気 Blog Ranking

関連記事

Loading

コメント

コメントの投稿




URL:

Comment:

Pass:

 管理者にだけ表示を許可する