22
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

TeXのセクションの大きさを変更する

Last updated at Posted at 2015-11-26

titlesecパッケージを使ってセクションの大きさを自在に変更することができます。
プリアンブルに

\usepackage{titlesec}

を追加し、その下に


\titleformat*{\section}{\large\bfseries}

と記入するだけです。
\newcommand を使ってサイズを再定義する方法もありますが、こちらの方がよりシンプルに記述できます。

記述例

section.tex
\documentclass{jarticle}
\usepackage{titlesec}

\titleformat*{\section}{\Large\bfseries}
\titleformat*{\subsection}{\normalsize\bfseries}

\begin{document}
\section{セクション}
\subsection{サブセクション}
\end{document}

参考サイト

Change size of section, subsection, subsubsection, paragraph and subparagraph title

22
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
22
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?