이탤릭체로 어떻게 표시하나요?\subsubsection{Subsubsection}
1. section
1.1 subsection
1.1.1 subsubsection
나는 이탤릭체로 시작하는 세 번째 줄을 원합니다 1.1.1 subsubsection
.
도와주세요
답변1
article
"표준" LaTeX 문서 클래스( , report
, book
) 중 하나 또는 표준 클래스 중 하나를 기반으로 하는 문서 클래스를 사용한다고 가정하면 sectsty
패키지를 로드하고 지시어를 실행할 수 있습니다.
\subsubsectionfont{\normalfont\itshape}
서문에서.
\documentclass{article}
\usepackage{sectsty}
\subsubsectionfont{\normalfont\itshape}
\begin{document}
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\end{document}
답변2
다음과 같은 간단한 솔루션이 있습니다 titlesec
.
\documentclass{article}
\usepackage{titlesec}
\titleformat{\section}{\bfseries\Large}{\thesection.}{0.5em}{}
\titleformat{\subsubsection}{}{\thesubsubsection}{1em}{\itshape}
\begin{document}
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\end{document}