pdfLaTeX를 사용하여 본문 텍스트에만 이전 스타일 숫자를 사용하려고 합니다.
cfr-lm
다른 질문을 살펴보면서 패키지를 사용한 다음 섹션, 숫자 카운터, 머리, 열거, 각주에 안감 번호를 포함하여 다시 돌아오려고 하는 아이디어가 있었습니다 .
나는 그렇게 했습니다:
\documentclass[a4paper,12pt,twoside]{book}
\usepackage{cfr-lm}
\renewcommand{\thechapter}{{\fontfamily{clm}\selectfont\arabic{chapter}}}
\renewcommand{\thesection}{{\fontfamily{clm}\selectfont\arabic{chapter}.\arabic{section}}}
\renewcommand{\thesubsection}{{\fontfamily{clm}\selectfont\arabic{chapter}.\arabic{section}.\arabic{subsection}}}
\renewcommand{\thesubsubsection}{{\fontfamily{clm}\selectfont\arabic{chapter}.\arabic{section}.\arabic{subsection}.\arabic{subsubsection}}}
\renewcommand{\theparagraph}{{\fontfamily{clm}\selectfont\arabic{chapter}.\arabic{section}.\arabic{subsection}.\arabic{subsubsection}.\arabic{paragraph}}}
\renewcommand{\thesubparagraph}{{\fontfamily{clm}\selectfont\arabic{chapter}.\arabic{section}.\arabic{subsection}.\arabic{subsubsection}.\arabic{paragraph}.\arabic{subparagraph}}}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\begin{document}
\chapter{test}
\section{test}
\subsection{test}
\subsubsection{test}
\subsubsection{test}
\end{document}
댓글에 추가했듯이 섹션화에 작동합니다.
나머지 부분에 대해서는 아직 아이디어를 찾고 있는 중이에요.
답변1
타이포그래퍼의 관점에서 볼 때 좋은 생각은 아니라고 생각합니다. 그래도…
\documentclass[a4paper,12pt,twoside]{book}
\usepackage{cfr-lm}
\usepackage{enumitem}
\usepackage{amsmath}
\usepackage{sectsty}
\DeclareTextFontCommand{\textlstyle}{\lstyle}
\labelformat{chapter}{\textlstyle{#1}}
\labelformat{section}{\textlstyle{#1}}
\labelformat{subsection}{\textlstyle{#1}}
\labelformat{subsubsection}{\textlstyle{#1}}
\labelformat{paragraph}{\textlstyle{#1}}
\labelformat{subparagraph}{\textlstyle{#1}}
\labelformat{figure}{\textlstyle{#1}}
\labelformat{table}{\textlstyle{#1}}
\labelformat{equation}{\textlstyle{#1}}
\labelformat{enumi}{\textlstyle{#1}}
\allsectionsfont{\lstyle}
\setlist{font=\lstyle}
\makeatletter
\def\maketag@@@#1{\hbox{\m@th\normalfont\lstyle#1}}
\NewCommandCopy{\org@makecaption}{\@makecaption}
\renewcommand{\@makecaption}[2]{\org@makecaption{\textlstyle{#1}}{#2}}
\NewCommandCopy{\org@numberline}{\numberline}
\renewcommand{\numberline}[1]{\org@numberline{\textlstyle{#1}}}
\makeatother
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\begin{document}
\tableofcontents
\chapter{test}\label{A}
\section{test}\label{B}
\subsection{test}
\subsubsection{test}
\subsubsection{test}
\paragraph{test}
\subparagraph{test}
\begin{enumerate}
\item\label{C} test
\item test
\item test
\end{enumerate}
\begin{equation}\label{D}
1+1=2
\end{equation}
\begin{figure}[htp]
\caption{Test}\label{E}
\end{figure}
\begin{table}[htp]
\caption{Test}\label{F}
\end{table}
Refs: \ref{A}, \ref{B}, \ref{C}, \ref{D} and \eqref{D}, \ref{E}, \ref{F}
\end{document}
페이지 번호에는 그렇게 하지 마세요.