Swit
Swit
LaTeX nubility!

注册于 3年前

回答
82
文章
0
关注者
4

建议去 ctan 下载安装包,编译出 .sty 文件,然后将其放在 TEXMF 本地目录下,最后命令行 texhash

表意不是很明确,宏包加载也有点混乱。

Please see guide: Page 129
onlytextwidth is the same as totalwidth=\textwidth

texdoc beamer and see chapter 16 about the inner theme and outer theme.
Chinese translation version is also available via: Github.

\documentclass{ctexart}
\makeatletter
% Default:
% \def\@makefnmark{\hbox{\@textsuperscript{\normalfont\@thefnmark}}}
\renewcommand{\@makefnmark}{\makebox{\normalfont(\@thefnmark)\quad}}
\makeatother
\renewcommand\thefootnote{注\chinese{footnote}}
\begin{document}
\section{节标题}
测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本\footnote{这是一个脚注。}

测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本测试文本\footnote{This is a footnote.}
\end{document}

1.png
2.png

可以使用 \enlargethispage{},见刘海洋 LaTeX 入门 P122。

  1. texstudio 只是个编辑器,重要的是说明发行版、编译方式。
  2. 字号与字体的设置在 ctex 中有详细讲解,可以在命令行或终端运行 texdoc ctex
  3. 宋体的加粗不能一概而论,得看是哪种宋体,中易宋体没有加粗版本,你可以选择使用 xeCJK 宏包提供的伪粗,但是 Fandol 宋体有加粗版本。
  4. 给个例子:
\documentclass{article}
\usepackage[fontset=Fandol]{ctex}
\setCJKmainfont{FandolSong}
\begin{document}
\title{\bfseries\songti\zihao{3}标题}
\maketitle
文本文本\textbf{文本文本}
\end{document}

085084e66da7e78e170e7a1d8702344c.png

发布
问题