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

LaTeXで箇条書きの記号を変える

Last updated at Posted at 2013-11-11

LaTeXで箇条書きの記号を変えるには、\labelitemi, \labelitemii, \labelitemiii, \labelitemivを再定義します。

itemize.tex
\documentclass[a5paper]{jsarticle}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb}
\usepackage{inconsolata}
\usepackage{okumacro}
\begin{document}

\section*{デフォルト}

\begin{itemize}
\item あいうえお
\begin{itemize}
\item カキクケコ
\begin{itemize}
\item さしすせそ
\end{itemize}
\end{itemize}
\item あいうえお
\item あいうえお
\end{itemize}

\section*{記号を変える}

\renewcommand{\labelitemi}{$\star$}
\renewcommand{\labelitemii}{$\circ$}
\renewcommand{\labelitemiii}{$\triangleright$}
\renewcommand{\labelitemiv}{$\diamond$}

\begin{itemize}
\item あいうえお
\begin{itemize}
\item カキクケコ
\begin{itemize}
\item さしすせそ
\end{itemize}
\end{itemize}
\item あいうえお
\item あいうえお
\end{itemize}

\end{document}
$ platex itemize
$ dvipdfmx -p a5 itemize

結果は以下です。

kobito.1384165306.201778.png

itemize.png

13
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
13
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?