Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subsubsection字号问题 #263

Closed
fhhw opened this issue Mar 19, 2025 · 3 comments
Closed

subsubsection字号问题 #263

fhhw opened this issue Mar 19, 2025 · 3 comments
Labels
invalid This doesn't seem right

Comments

@fhhw
Copy link

fhhw commented Mar 19, 2025

请问怎么调整subsubsection字号,默认为情况下好像比三级标题字号大

Image

请问怎么全局调整成和三级标题一样的大小,并加粗,

\usepackage{titlesec}    % 可选,用于更精细的标题格式调整
% 自定义 subsubsection 格式
\ctexset{
  subsubsection = {
     format = \zihao{-4},  % 宋体四号
    % beforeskip = 1em,           % 标题前的间距(可选)
    % afterskip = 0.5em,          % 标题后的间距(可选)
  },
}

上述方式调整之后是小四而且没有加粗

Image

@note286
Copy link
Owner

note286 commented Mar 19, 2025

\documentclass{xdupgthesis}
\xdusetup{style={cjk-font=win,latin-font=tac}}
\begin{document}
\chapter{测试TEST}
\section{测试TEST}
\subsection{测试TEST}
\subsubsection{测试TEST}
\paragraph{测试TEST}
\subparagraph{测试TEST}
\end{document}

Image

你描述的现象无法复现。

@fhhw
Copy link
Author

fhhw commented Mar 19, 2025

可能是我的视觉偏差,感觉大小有一点不一样

@note286
Copy link
Owner

note286 commented Mar 19, 2025

如果你觉得有问题,可以给出对应的代码以及生成的PDF文件,GitHub可以上传附件。

@note286 note286 added the invalid This doesn't seem right label Mar 31, 2025
@note286 note286 closed this as completed Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants