7
8

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 5 years have passed since last update.

TeXでsubsubsubsectionを使えるようにする

Last updated at Posted at 2016-11-25

ときたま、1.1.1.1みたいな書き方をしたいと思う場合がある。(ホントはだめだけど。)しかし残念ながらTeXにはsubsubsectionまでしか用意されていないので、自分で定義する必要がある。よって、今回は備忘録&勉強がてら残しておく。今回参考にしたサイトは
こちら

newcommnad

といっても簡単である。newcommandでsubsubsubsectionを定義すればよい。

\makeatletter
\newcommand{\subsubsubsection}{\@startsection{paragraph}{4}{\z@}%
  {1.0\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
  {.1\Cvs \@plus.3\Cdp}%
  {\reset@font\sffamily\normalsize}
}
\makeatother
\setcounter{secnumdepth}{4}

これでヨイ。

7
8
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
7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?