
我知道可能有很多問題喜歡但我自己無法弄清楚整個過程。
我正在尋找一種以稍大的字體定義自己的章節或部分的方法,例如:
1.第一個練習
1a.第一部分練習
能夠在標題(如章節)中使用它們
自動計數(還有 1a.1b....)
答案1
下面的內容或多或少可以解決您的問題。
如果你使用的話,事情就非常容易了標題安全包裹。
這是相關代碼。你想控制章、節和小節的編號(我冒昧地添加了它)。然後您可以控制它們的顯示方式。也許您還想控制間距。
您可以進行必要的調整以滿足您的口味。
有關命令的更多信息,請閱讀 3.1 和 3.2 節包文件。
\documentclass{book}
\usepackage{times}
\usepackage{titlesec}
% Control number formats
\def\thesection{\arabic{chapter}\alph{section}}
\def\thesubsection{\arabic{chapter}\alph{section}(\roman{subsection})}
% Control display formats
\titleformat{\chapter}[block]{}{\large\thechapter.\ }{0.0mm}{\large}
\titleformat{\section}[block]{}{\large\thesection.\ }{0.0mm}{\large}
\titleformat{\subsection}[block]{}{\thesubsection.\ }{0.0mm}{}
% Control spacing
\titlespacing{\chapter}{0.0mm}{\bigskipamount}{\medskipamount}
\titlespacing{\section}{0.0mm}{\medskipamount}{\smallskipamount}
\titlespacing{\subsection}{0.0mm}{\smallskipamount}{\smallskipamount}
\parindent 0.0mm
\begin{document}
\chapter{First exercise}
This exercise in on\dots
\section{First part of exersice}
In the first part you need to answer\dots
\section{Second part of exersice}
The second part has a number of subparts\dots
\subsection{Second One}
Please tell us\dots
\subsection{Second Two}
And tell us\dots
\end{document}