所有模板目录改为中文名,并入幻灯片与科技报告两个仓库(#3)
目录改名(git mv 保留历史,包名不变): exam/ -> 试卷/ form/ -> 年度考核登记表/ form2/ -> 劳务发放说明表/ course/ -> 课程执行大纲/ 改名即可编译:实测 6 个模板在含中文的目录下 XeLaTeX 均零报错, PDF 逐页文本与改名前的版本完全一致(0 页差异,仅元数据时间戳变化)。 并入两个此前独立维护的仓库: ouc-slide-latex-template -> 幻灯片/ ouc-report-latex-template -> 科技报告/ 带入了 theme/ fonts/ logos/ figs/ cls/ input/ 与 fontawesome.pdf, 字体随模板附带(无须在系统安装)。中间文件一律不入库。 同步修正的文档:根 README 目录表改为中文名并说明统一维护; 四个子 README 的标题;ouclw.sty 注释里对 form/ 的交叉引用; 幻灯片与科技报告 README 里「从旧仓库 clone」「按年份切分支」等已失效的说明 (并入后只有 main 一个分支,各年份 TeX Live 通用)。 两个迁入模板的 PDF 保留源仓库原版(逐字节一致),未重新编译: 源 PDF 出自 TeX Live 2026,本机为 2022,重新编译会让结尾页装饰层定位 产生细微偏移,保留原版以保证样张与原来完全一致。
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
# 中国海洋大学科技报告 LaTeX 模板
|
||||
|
||||
一个基于 `ctexart` 的科技报告模板,可用于撰写科技报告、实验讲义、教程、说明文档等。
|
||||
|
||||
> 本目录原为独立仓库 `ouc-report-latex-template`,2026-10 起并入 `ouc_latex_template` 统一维护,旧仓库不再更新。
|
||||
|
||||
## 特性
|
||||
|
||||
- **中英文字体一体化**:英文默认使用鸿蒙字体(HarmonyOS Sans),中文使用方正书宋 / 小标宋 / 楷体 / 仿宋 / 中等线,字体文件随模板附于 `font/` 目录,编译时自动调用,**无须安装任何字体**;
|
||||
- **模块化文档类**:`report.cls` 按功能拆分为 `cls/` 下的多个模块(全局设定、字体、页面布局、标题、页眉页脚、信息框、代码块等),便于按需修改;
|
||||
- **三种信息框**:`titledbox`(带标题)、`notebox`(提示)、`importantbox`(重要),基于 tcolorbox 实现;
|
||||
- **代码排版**:基于 listings 预设了多种样式,支持行内命令 `shellbox` / `invertedshellbox` 展示 shell 命令及输出;
|
||||
- **自动水印**:默认以「单位 + 部门」作为全页水印,可在 `input/setting.tex` 中调整文字、透明度与大小;
|
||||
- **图表与引用**:tabularx 表格、图片插入、自动编号与交叉引用、目录 / 图目录 / 表目录;
|
||||
- **图标支持**:通过 fontawesome 可直接使用 `\faHeart` 等图标命令(详见根目录 `fontawesome.pdf`)。
|
||||
|
||||
## 环境要求
|
||||
|
||||
- **TeX 发行版**:TeX Live 2022 及以上(必须使用 **XeLaTeX** 编译);
|
||||
- 无需额外安装字体或其他依赖,使用 `scheme-full` 或包含常用宏包的发行版即可。
|
||||
|
||||
## 使用方法
|
||||
|
||||
1. 本目录是 `ouc_latex_template` 仓库的 `科技报告/` 子目录,克隆主仓库即可:
|
||||
```bash
|
||||
git clone https://code.yangyq.net/laoyang/ouc_latex_template.git
|
||||
cd ouc_latex_template/科技报告
|
||||
```
|
||||
2. 在 `input/info.tex` 中填写标题、副标题、作者、单位、部门等信息;
|
||||
3. 在 `report.tex` 中撰写正文(或按 `\input` 方式组织章节文件);
|
||||
4. 使用 XeLaTeX 编译**两遍**(第一遍生成目录与交叉引用信息,第二遍写入正文):
|
||||
|
||||
```bash
|
||||
xelatex report.tex
|
||||
xelatex report.tex
|
||||
```
|
||||
|
||||
5. 临时切换字体可使用命令:`\fzss`(方正书宋)、`\fzxbs`(方正小标宋)、`\fzkai`(方正楷体)、`\fzfs`(方正仿宋)、`\fzzdx`(方正中等线)、`\hm`(鸿蒙字体)。
|
||||
|
||||
## 署名与联系方式(二次分发前请修改)
|
||||
|
||||
模板里有两处「作者 / 联系方式」信息,**性质不同,别改错地方**:
|
||||
|
||||
| 想改什么 | 改哪个文件的哪里 | 说明 |
|
||||
|---|---|---|
|
||||
| **模板维护者**的联系方式 | `report.cls` 顶部的 `Maintainer:` 一行 | 目前是占位符 `someone@example.com`。它只出现在注释里,**不参与排版**,改成什么都不会影响编译结果 —— 你要把这份模板再分发出去,就换成你自己的。 |
|
||||
| **报告本身**的作者 / 单位 / 部门 | `input/info.tex` 里的 `\theauthor`、`\theaffiliation`、`\thedept` | 会印在**封面**上;单位与部门还会成为全页**水印**(水印的文字、透明度、大小在 `input/setting.tex` 里调)。 |
|
||||
|
||||
> 也就是说:`report.cls` 顶部那行与你的报告内容无关;报告里显示的作者信息一律在 `input/info.tex`。
|
||||
|
||||
## TeX Live 版本兼容性
|
||||
|
||||
同一份源码在下列 TeX Live 版本下均可直接编译(XeLaTeX),**不需要切分支、不需要改代码**:
|
||||
|
||||
| TeX Live | 状态 |
|
||||
|------|------|
|
||||
| 2022 | 已验证通过(基线) |
|
||||
| 2023 | 已验证通过 |
|
||||
| 2024 | 已验证通过 |
|
||||
| 2025 | 已验证通过 |
|
||||
| 2026 | 已验证通过 |
|
||||
|
||||
> 本目录原为独立仓库 `ouc-report-latex-template`,曾按 TeX Live 年份维护多套分支。
|
||||
> 2026-10 并入 `ouc_latex_template` 后**只保留 `main` 一份源码**(已实测各年份通用),
|
||||
> 旧仓库的分支不再更新。
|
||||
|
||||
## 目录结构
|
||||
|
||||
```
|
||||
.
|
||||
├── report.cls # 文档类(模块化加载 cls/ 下各子模块)
|
||||
├── cls/ # 功能模块:全局设定、字体、页面、标题、信息框、代码块等
|
||||
├── input/ # 文档内容:封面、目录、摘要、信息与整体设置
|
||||
├── figs/ # 图片资源
|
||||
├── font/ # 鸿蒙及方正字体文件(自动加载)
|
||||
├── fontawesome.pdf # fontawesome 图标使用手册
|
||||
└── report.tex # 主文件(XeLaTeX 编译入口)
|
||||
```
|
||||
|
||||
## 关于 `report.pdf`
|
||||
|
||||
仓库内的 `report.pdf` 是成品样张,用于预览效果。封面的日期取自 `\today`,
|
||||
所以**每次编译都会变**;用不同年份的 TeX Live 编译,PDF 体积也可能略有差异,
|
||||
但**页面渲染内容一致**。以 `report.tex` 源码为准。
|
||||
@@ -0,0 +1,104 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% boxes
|
||||
%% 信息框
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
%% 带标题的文本框
|
||||
\newtcolorbox{titledbox}[1]{%
|
||||
tikznode boxed title,
|
||||
enhanced,
|
||||
arc=3pt,
|
||||
interior style={white},
|
||||
attach boxed title to top center = {yshift=-\tcboxedtitleheight/2},
|
||||
fonttitle=\hm,
|
||||
colbacktitle=white,coltitle=black,
|
||||
boxed title style={size=normal,colframe=white,boxrule=0pt},
|
||||
boxrule=.5pt,
|
||||
left=5pt, right=5pt, top=5pt, bottom=0pt,
|
||||
boxsep=5pt,
|
||||
title={#1},
|
||||
halign=left,
|
||||
fontupper=\fzkai
|
||||
}
|
||||
|
||||
%% Note
|
||||
\newtcolorbox{notebox}{%
|
||||
enhanced,
|
||||
arc=2pt,
|
||||
boxrule=.5pt,
|
||||
left=5pt, right=5pt, top=0pt, bottom=0pt,
|
||||
boxsep=5pt,
|
||||
colframe=NavyBlue,
|
||||
colback=NavyBlue!5!White,
|
||||
colbacktitle=NavyBlue!5!White,
|
||||
coltext=NavyBlue,
|
||||
title={\textcolor{NavyBlue}{\faStickyNoteO\hspace{.5em}\bfseries{\hm{笔记}}}},
|
||||
halign=left,
|
||||
fontupper=\fzkai
|
||||
}
|
||||
|
||||
%% Important
|
||||
\newtcolorbox{importantbox}{%
|
||||
enhanced,
|
||||
arc=2pt,
|
||||
boxrule=.5pt,
|
||||
left=5pt, right=5pt, top=0pt, bottom=0pt,
|
||||
boxsep=5pt,
|
||||
colframe=Orange,
|
||||
colback=Orange!5!White,
|
||||
colbacktitle=Orange!5!White,
|
||||
coltext=Orange,
|
||||
title={\textcolor{Orange}{\faExclamationCircle\hspace{.5em}\bfseries{\hm{重要}}}},
|
||||
halign=left,
|
||||
fontupper=\fzkai
|
||||
}
|
||||
|
||||
%% verbatim 环境无法直接在新环境中使用
|
||||
%% 换用 \VerbatimEnvironment \begin{Verbatim}
|
||||
\RequirePackage{fancyvrb}
|
||||
|
||||
%% 命令行
|
||||
\newenvironment{shellbox}
|
||||
{%
|
||||
\VerbatimEnvironment
|
||||
\begin{tcolorbox}[
|
||||
enhanced,
|
||||
arc=2pt,
|
||||
boxrule=.5pt,
|
||||
left=5pt, right=5pt, top=0pt, bottom=0pt,
|
||||
boxsep=5pt,
|
||||
colframe=black,
|
||||
colback=white,
|
||||
coltext=black,
|
||||
title={},
|
||||
fontupper=\linespread{1.2}
|
||||
]%
|
||||
\begin{Verbatim}
|
||||
}
|
||||
{%
|
||||
\end{Verbatim}
|
||||
\end{tcolorbox}
|
||||
}
|
||||
|
||||
%% 命令行
|
||||
\newenvironment{invertedshellbox}
|
||||
{%
|
||||
\VerbatimEnvironment
|
||||
\begin{tcolorbox}[
|
||||
enhanced,
|
||||
arc=2pt,
|
||||
boxrule=.5pt,
|
||||
left=5pt, right=5pt, top=0pt, bottom=0pt,
|
||||
boxsep=5pt,
|
||||
colframe=black!70!white,
|
||||
colback=black!70!white,
|
||||
coltext=white,
|
||||
title={},
|
||||
fontupper=\linespread{1.2}
|
||||
]%
|
||||
\begin{Verbatim}
|
||||
}
|
||||
{%
|
||||
\end{Verbatim}
|
||||
\end{tcolorbox}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Chinese names
|
||||
%% 中文名称
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\renewcommand{\figurename}{图}
|
||||
\renewcommand{\tablename}{表}
|
||||
\renewcommand{\lstlistingname}{代码}
|
||||
\renewcommand{\abstractname}{摘要}
|
||||
@@ -0,0 +1,129 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% code listings
|
||||
%% 代码块设定
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\RequirePackage{listings,verbatim}
|
||||
|
||||
\definecolor{codecolorkeywords}{rgb}{0,0,1}
|
||||
\definecolor{codecolorcomments}{rgb}{0,0.5,0}
|
||||
\definecolor{codecolorxmlcomments}{rgb}{0.5,0.5,0.5}
|
||||
\definecolor{codecolorstrings}{rgb}{0.64,0.08,0.08}
|
||||
\definecolor{codecolortypes}{rgb}{0.17,0.57,0.68}
|
||||
|
||||
\lstdefinelanguage{JavaScript}{
|
||||
keywords={do, if, in, for, let, new, try, var, case, else, enum, eval, null, this, true, void, with, await, break, catch, class, const, false, super, throw, while, yield, delete, export, import, public, return, static, switch, typeof, default, extends, finally, package, private, continue, debugger, function, arguments, interface, protected, implements, instanceof},
|
||||
sensitive=true,
|
||||
comment=[l]{//},
|
||||
morecomment=[s]{/*}{*/},
|
||||
morestring=[b]',
|
||||
morestring=[b]"
|
||||
}
|
||||
|
||||
\lstdefinelanguage{TypeScript}{
|
||||
keywords={abstract, break, case, catch, class, const, continue, debugger, default, delete, do, else, enum, export, extends, false, finally, for, function, if, import, in, instanceof, new, null, return, super, switch, this, throw, true, try, typeof, var, void, while, with, as, implements, interface, let, package, private, protected, public, static, yield, any, boolean, constructor, declare, get, module, require, number, set, string, symbol, type, from, of},
|
||||
sensitive=true,
|
||||
comment=[l]{//},
|
||||
morecomment=[s]{/*}{*/},
|
||||
morestring=[b]',
|
||||
morestring=[b]"
|
||||
}
|
||||
|
||||
\lstdefinelanguage{golang}{
|
||||
keywords={break, default, func, interface, select, case, defer, go, map, struct, chan, else, goto, package, switch, const, fallthrough, if, range, type, continue, for, import, return, var},
|
||||
sensitive=true,
|
||||
comment=[l]{//},
|
||||
morecomment=[s]{/*}{*/},
|
||||
morestring=[b]',
|
||||
morestring=[b]"
|
||||
}
|
||||
|
||||
\lstdefinestyle{mystyle}{
|
||||
% Basic design
|
||||
basicstyle=\linespread{1.2}\ttfamily,
|
||||
frame=tb,
|
||||
framesep=5pt,
|
||||
framerule=.5pt,
|
||||
framexleftmargin=10pt,
|
||||
rulecolor=\color{black},
|
||||
abovecaptionskip=0pt,
|
||||
belowcaptionskip=5pt,
|
||||
aboveskip=5pt,
|
||||
backgroundcolor=\color{black!5!white},
|
||||
% Code design
|
||||
keywordstyle=\color{codecolorkeywords},
|
||||
commentstyle=\color{codecolorcomments},
|
||||
stringstyle=\color{codecolorstrings},
|
||||
numberstyle=\small\color{gray},
|
||||
breakatwhitespace=false,
|
||||
breaklines=true,
|
||||
captionpos=t,
|
||||
keepspaces=true,
|
||||
% Line numbers
|
||||
numbers=none,
|
||||
numbersep=15pt,
|
||||
xleftmargin=10pt,
|
||||
stepnumber=1,
|
||||
firstnumber=1,
|
||||
numberfirstline=true,
|
||||
% Code
|
||||
tabsize=4,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
showtabs=false,
|
||||
breaklines=true,
|
||||
}
|
||||
\lstset{style=mystyle}
|
||||
|
||||
%% 命令行
|
||||
\lstdefinestyle{bashstyle}{
|
||||
backgroundcolor=\color{NavyBlue!10!white},
|
||||
basicstyle=\linespread{1.2}\ttfamily,
|
||||
keepspaces=true,
|
||||
numbers=none,
|
||||
numbersep=10pt,
|
||||
frame=l,
|
||||
framerule=2pt,
|
||||
framesep=5pt,
|
||||
framexleftmargin=3pt,
|
||||
framextopmargin=-5pt,
|
||||
xleftmargin=10pt,
|
||||
rulecolor=\color{NavyBlue},
|
||||
% Code
|
||||
tabsize=4,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
showtabs=false,
|
||||
breaklines=true,
|
||||
}
|
||||
|
||||
%% 命令行输出
|
||||
\lstdefinestyle{bashoutputstyle}{
|
||||
backgroundcolor=\color{black!10!white},
|
||||
basicstyle=\linespread{1.2}\ttfamily,
|
||||
keepspaces=true,
|
||||
numbers=none,
|
||||
numbersep=10pt,
|
||||
frame=l,
|
||||
framerule=2pt,
|
||||
framesep=5pt,
|
||||
framexleftmargin=3pt,
|
||||
framextopmargin=-5pt,
|
||||
xleftmargin=10pt,
|
||||
rulecolor=\color{black!70!white},
|
||||
% Code
|
||||
tabsize=4,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
showtabs=false,
|
||||
breaklines=true,
|
||||
}
|
||||
|
||||
%% 代码列表标题
|
||||
\RequirePackage{caption}
|
||||
\DeclareCaptionFormat{codecaptionformat}{%
|
||||
%%\colorbox{black!20}{
|
||||
%% \parbox{\textwidth}{#1#2\ttfamily#3}
|
||||
%%}
|
||||
\parbox{\textwidth}{\textcolor{violet}\faCode~\textcolor{violet}{#1#2}\hspace{.5em}\fzkai#3}
|
||||
}
|
||||
\captionsetup[lstlisting]{format=codecaptionformat}
|
||||
@@ -0,0 +1,4 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 图片设定
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\graphicspath{{./figs/}{./figure/}{./figures/}{./image/}{./images/}{./graphics/}{./graphic/}{./pictures/}{./picture/}}
|
||||
@@ -0,0 +1,96 @@
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% fonts settings
|
||||
%% 字体设定
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
%% \usepackage{ebgaramond}
|
||||
|
||||
%% 开明式:句末点号用占一个汉字宽度,标号和句内点号占半个汉字宽度
|
||||
%\punctstyle{kaiming}
|
||||
|
||||
%\setmainfont{Minion Pro}
|
||||
% \setmainfont{Myriad Pro}
|
||||
% \setsansfont{Myriad Pro}
|
||||
% \setmonofont{Courier Std}
|
||||
|
||||
%设置英文字体 鸿蒙字体
|
||||
% \setmainfont[
|
||||
% Path=font/,
|
||||
% BoldFont=Arvo-Bold.ttf,
|
||||
% ItalicFont=Arvo-Italic.ttf,
|
||||
% BoldItalicFont=Arvo-BoldItalic.ttf,
|
||||
% ]{Arvo-Regular.ttf}
|
||||
\setmainfont[
|
||||
Path=font/,
|
||||
BoldFont=HarmonyOS_Sans_Bold.ttf,
|
||||
ItalicFont=HarmonyOS_Sans_Regular_Italic.ttf,
|
||||
BoldItalicFont=HarmonyOS_Sans_Bold_Italic.ttf,
|
||||
]{HarmonyOS_Sans_Regular.ttf}
|
||||
\setsansfont[
|
||||
Path=font/,
|
||||
BoldFont=HarmonyOS_Sans_Bold.ttf,
|
||||
ItalicFont=HarmonyOS_Sans_Regular_Italic.ttf,
|
||||
BoldItalicFont=HarmonyOS_Sans_Bold_Italic.ttf,
|
||||
]{HarmonyOS_Sans_Regular.ttf}
|
||||
\setmonofont[
|
||||
Path=font/
|
||||
]{HarmonyOS_Sans_Regular.ttf}
|
||||
|
||||
\setCJKmainfont[
|
||||
Path=font/,
|
||||
BoldFont=fangzhengxiaobiaosong_GBK.TTF,
|
||||
ItalicFont=fangzhengkaiti_GBK.TTF,
|
||||
BoldItalicFont=fangzhengfangsong_GBK.TTF,
|
||||
]{fangzhengshusong_GBK.TTF}
|
||||
\setCJKsansfont[
|
||||
Path=font/,
|
||||
BoldFont=HarmonyOS_Sans_SC_Bold.ttf,
|
||||
ItalicFont=HarmonyOS_Sans_SC_Light.ttf,
|
||||
BoldItalicFont=HarmonyOS_Sans_SC_Black.ttf,
|
||||
]{HarmonyOS_Sans_SC_Regular.ttf}
|
||||
\setCJKmonofont[
|
||||
Path=font/
|
||||
]{fangzhengzhongdengxian_GBK.TTF}
|
||||
|
||||
\XeTeXlinebreaklocale "zh"
|
||||
\XeTeXlinebreakskip = 0pt plus 1pt
|
||||
|
||||
%方正书宋
|
||||
\setCJKfamilyfont{fzss}[
|
||||
Path=font/
|
||||
]{fangzhengshusong_GBK.TTF}
|
||||
\newcommand{\fzss}{\CJKfamily{fzss}}
|
||||
|
||||
%方正小标宋
|
||||
\setCJKfamilyfont{fzxbs}[
|
||||
Path=font/
|
||||
]{fangzhengxiaobiaosong_GBK.TTF}
|
||||
\newcommand{\fzxbs}{\CJKfamily{fzxbs}}
|
||||
|
||||
%方正楷体
|
||||
\setCJKfamilyfont{fzkai}[
|
||||
Path=font/
|
||||
]{fangzhengkaiti_GBK.TTF}
|
||||
\newcommand{\fzkai}{\CJKfamily{fzkai}}
|
||||
|
||||
%方正仿宋
|
||||
\setCJKfamilyfont{fzfs}[
|
||||
Path=font/
|
||||
]{fangzhengfangsong_GBK.TTF}
|
||||
\newcommand{\fzfs}{\CJKfamily{fzfs}}
|
||||
|
||||
%方正中等线
|
||||
\setCJKfamilyfont{fzzdx}[
|
||||
Path=font/
|
||||
]{fangzhengzhongdengxian_GBK.TTF}
|
||||
\newcommand{\fzzdx}{\CJKfamily{fzzdx}}
|
||||
|
||||
%鸿蒙字体
|
||||
\setCJKfamilyfont{hm}[
|
||||
Path=font/,
|
||||
BoldFont=HarmonyOS_Sans_SC_Bold.ttf,
|
||||
ItalicFont=HarmonyOS_Sans_SC_Light.ttf,
|
||||
BoldItalicFont=HarmonyOS_Sans_SC_Black.ttf,
|
||||
]{HarmonyOS_Sans_SC_Regular.ttf}
|
||||
\newcommand{\hm}{\CJKfamily{hm}}
|
||||
@@ -0,0 +1,19 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 页面设定
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\geometry{
|
||||
textwidth=138mm,
|
||||
textheight=215mm,
|
||||
left=27mm,
|
||||
%% or
|
||||
%% inner=23mm,
|
||||
right=27mm,
|
||||
%% or
|
||||
%% outer=18mm,
|
||||
top=25.4mm, bottom=25.4mm,
|
||||
headheight=2.17cm,
|
||||
headsep=4mm,
|
||||
footskip=12mm,
|
||||
heightrounded,
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% global settings
|
||||
%% 全局格式设定
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
%% 添加首行缩进,两个字符
|
||||
\setlength{\parindent}{2em}
|
||||
|
||||
%% 行距
|
||||
\linespread{1.5}
|
||||
|
||||
%% 表格
|
||||
\captionsetup[table]{belowskip=0pt,aboveskip=5pt}
|
||||
|
||||
%粗线,在表格中可以画出更粗的线条
|
||||
\newcommand{\thickhline}{%
|
||||
\noalign {\ifnum 0=`}\fi \hrule height 1pt
|
||||
\futurelet \reserved@a \@xhline
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% head and foot
|
||||
%% 页眉页脚
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% \RequirePackage{fancyhdr}
|
||||
% \RequirePackage{zhnumber}
|
||||
|
||||
% \pagestyle{fancy}
|
||||
% \fancyhf{}
|
||||
% \renewcommand\headrulewidth{.5pt}
|
||||
% \renewcommand\footrulewidth{0pt}
|
||||
% %\futurelet\TMPheadrule\def\headrule{{\color{violet}\TMPheadrule}}
|
||||
|
||||
% \renewcommand{\sectionmark}[1]{\markright{#1}}
|
||||
|
||||
% \fancyhead[C]{\fzkai{\rightmark}}
|
||||
% %\fancyhead[R]{\thepage}
|
||||
|
||||
% \fancyfoot[L]{\fzkai{\author}}
|
||||
% \fancyfoot[R]{\thepage}
|
||||
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{}
|
||||
\renewcommand\headrulewidth{.5pt}
|
||||
\renewcommand\footrulewidth{0pt}
|
||||
%\futurelet\TMPheadrule\def\headrule{{\color{violet}\TMPheadrule}}
|
||||
%\renewcommand{\sectionmark}[1]{\markright{#1}}
|
||||
\fancyhead[C]{\fzkai{\themaintitle}}
|
||||
%\fancyhead[C]{\@title}
|
||||
%\fancyhead[R]{\thepage}
|
||||
%\fancyfoot[L]{\fzkai{\@author}}
|
||||
\fancyfoot[C]{\thepage}% / \pageref{LastPage}}
|
||||
@@ -0,0 +1,12 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% hyperref settings
|
||||
%% 超链接设定
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\hypersetup{
|
||||
bookmarksnumbered,
|
||||
colorlinks,
|
||||
linkcolor={black},
|
||||
citecolor={black},
|
||||
urlcolor={black}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 标题、目录等设定
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\ctexset{
|
||||
% 修改 section文字样式,
|
||||
section={
|
||||
name={,.},%编号和文字中间用.。
|
||||
number={\arabic{section}},%编号形式:\arabic设置为阿拉伯数字,\chinese设置为中文,\roman设置为小写罗马字母,\Roman设置为大写罗马字母,\alph设置为小写英文,\Alph设置为大写英文。
|
||||
format=\hm\bfseries\raggedright\zihao{4},%鸿蒙字体,小四号字,右对齐。
|
||||
aftername=\hspace{5pt},%编号和标题的距离
|
||||
% beforeskip=1ex,%标题与前文的距离
|
||||
% afterskip=1ex,%标题与后文的距离
|
||||
},
|
||||
%修改subsection文字样式
|
||||
subsection={
|
||||
format=\hm\bfseries\raggedright\zihao{-4},
|
||||
aftername=\hspace{5pt},%编号和标题的距离
|
||||
},
|
||||
%修改subsubsection文字样式
|
||||
subsubsection={
|
||||
format=\hm\bfseries\raggedright\zihao{5},
|
||||
aftername=\hspace{5pt},%编号和标题的距离
|
||||
}
|
||||
}
|
||||
|
||||
%设置目录的显示样式
|
||||
\renewcommand{\contentsname}{\begin{center} \normalsize \hm\zihao{4}\textbf{目录} \end{center}}
|
||||
\renewcommand{\listfigurename}{\begin{center} \normalsize \hm\zihao{4}\textbf{插图目录} \end{center}}
|
||||
\renewcommand{\listtablename}{{\begin{center} \normalsize \hm\zihao{4}\textbf{表格目录} \end{center}}}
|
||||
%给目录加上点
|
||||
\renewcommand{\cftpartleader}{\cftdotfill{\cftdotsep}} % 给 parts 加点
|
||||
%\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} % 给 chapters 加点
|
||||
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} % 给 sections加点
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 87 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,14 @@
|
||||
\newpage
|
||||
\thispagestyle{empty}
|
||||
\begin{center}
|
||||
{\hm\bfseries \zihao{3} \themaintitle}%摘要页面的标题
|
||||
\end{center}
|
||||
|
||||
\renewcommand{\abstractname}{\hm\bfseries{\zihao{4}摘要}}
|
||||
|
||||
\begin{abstract}
|
||||
这是一个很好用的Latex模板,经过不断的修改和迭代进化。这里,就介绍一下这个模板的使用方法,希望对你有所帮助。
|
||||
|
||||
\vspace{2ex}
|
||||
\noindent{\textbf{关键词:}Latex,\hspace{.5em}模板,\hspace{.5em}学习}%关键词不缩进
|
||||
\end{abstract}
|
||||
@@ -0,0 +1,65 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 封面页面
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\begin{titlepage}
|
||||
\centering % 居中显示
|
||||
\scshape %
|
||||
\vspace*{\baselineskip} % 顶部空白
|
||||
%------------------------------------------------
|
||||
% 标题
|
||||
%------------------------------------------------
|
||||
|
||||
\rule{\textwidth}{1.6pt}\vspace*{-\baselineskip}\vspace*{2pt} % 上面粗的线
|
||||
\rule{\textwidth}{0.4pt} % 细线
|
||||
|
||||
\vspace{30pt} % 和标题之间的空白
|
||||
|
||||
{\hm\bfseries \zihao{2} \themaintitle} % 标题
|
||||
|
||||
\vspace{0.75\baselineskip} % 标题下面的空白
|
||||
|
||||
\rule{\textwidth}{0.4pt}\vspace*{-\baselineskip}\vspace{3.2pt} % 细线
|
||||
\rule{\textwidth}{1.6pt} % 粗线
|
||||
|
||||
\vspace{2\baselineskip} % 标题后的空白
|
||||
|
||||
%------------------------------------------------
|
||||
% 副标题
|
||||
%------------------------------------------------
|
||||
|
||||
{\hm \zihao{3} \thesubtitle} % 副标题
|
||||
|
||||
\vspace*{3\baselineskip} % 空白
|
||||
|
||||
%------------------------------------------------
|
||||
% 作者信息
|
||||
%------------------------------------------------
|
||||
|
||||
作者
|
||||
|
||||
\vspace{0.5\baselineskip} % 作者前空白
|
||||
|
||||
{\scshape\Large \theauthor } % 作者列表
|
||||
|
||||
\vspace{0.5\baselineskip} % 空白
|
||||
|
||||
\fzkai{\theaffiliation} \\% 作者单位
|
||||
%\vspace*{3\baselineskip}
|
||||
\fzkai{\thedept}
|
||||
|
||||
\vfill % 空白
|
||||
|
||||
%------------------------------------------------
|
||||
% 出版社或单位
|
||||
%------------------------------------------------
|
||||
|
||||
%\plogo % Publisher logo
|
||||
|
||||
\vspace{0.3\baselineskip} % 空白
|
||||
|
||||
%2017 % Publication year
|
||||
|
||||
{\large \thedate} % 日期
|
||||
|
||||
\end{titlepage}
|
||||
@@ -0,0 +1,10 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 标题和作者等基本信息
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\newcommand{\themaintitle}{这是一个很好用的LaTex模板} %标题
|
||||
\newcommand{\thesubtitle}{这里是副标题} %副标题
|
||||
\newcommand{\theauthor}{作者名字}%作者名字
|
||||
\newcommand{\thedate}{\today}%时间
|
||||
\newcommand{\theaffiliation}{中国海洋大学}%工作单位
|
||||
\newcommand{\thedept}{计算机科学与技术学院}%部门
|
||||
@@ -0,0 +1,18 @@
|
||||
%整体设置
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 页眉页脚
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% \RequirePackage{fancyhdr}
|
||||
% \RequirePackage{zhnumber}
|
||||
% \RequirePackage{lastpage}
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% 设置页面水印
|
||||
% \usepackage[firstpage]{draftwatermark} % 只有第一页加水印
|
||||
\SetWatermarkText{\theaffiliation\thedept} % 设置水印文字内容
|
||||
% \SetWatermarkText{\includegraphics{fig/ZJDX-WaterMark.eps}} % 设置水印LOGO
|
||||
\SetWatermarkLightness{0.95} % 设置水印透明度 0-1
|
||||
\SetWatermarkScale{0.2} % 设置水印大小 0-1
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
@@ -0,0 +1,17 @@
|
||||
%目录页面
|
||||
\newpage
|
||||
\thispagestyle{empty}
|
||||
%\clearpage
|
||||
\tableofcontents
|
||||
|
||||
%插图目录页面
|
||||
\newpage
|
||||
\thispagestyle{empty}
|
||||
%\clearpage
|
||||
\listoffigures
|
||||
|
||||
%表格目录页面
|
||||
\newpage
|
||||
%\clearpage
|
||||
\thispagestyle{empty}
|
||||
\listoftables
|
||||
@@ -0,0 +1,44 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% A Report LaTeX Template for OUC
|
||||
%% Maintainer: someone@example.com
|
||||
%% 2022-03-01
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{report}[A Report LaTeX Template for OUC]
|
||||
\LoadClass[a4paper]{ctexart}
|
||||
|
||||
\RequirePackage{xunicode}
|
||||
\RequirePackage[dvipsnames]{xcolor}
|
||||
\RequirePackage[open,openlevel=0,atend]{bookmark}
|
||||
\RequirePackage{fontspec}
|
||||
\RequirePackage{titlesec}
|
||||
\RequirePackage{zhnumber}
|
||||
\RequirePackage[many]{tcolorbox}
|
||||
\RequirePackage{fontawesome}
|
||||
\RequirePackage{graphicx}
|
||||
\RequirePackage{graphbox}
|
||||
\RequirePackage{wrapfig}
|
||||
\RequirePackage{geometry}
|
||||
\RequirePackage{hyperref}
|
||||
\RequirePackage{indentfirst}
|
||||
\RequirePackage[singlelinecheck=false]{caption}
|
||||
\RequirePackage{titletoc}
|
||||
\RequirePackage{fancyhdr}
|
||||
\RequirePackage{zhnumber}
|
||||
\RequirePackage{lastpage}
|
||||
\RequirePackage{ctex}
|
||||
\RequirePackage[subfigure]{tocloft}
|
||||
\RequirePackage{subfigure}
|
||||
|
||||
%引入模块
|
||||
\input{cls/global.cls}%全局设定
|
||||
\input{cls/hyperref.cls}%超链接
|
||||
\input{cls/figs.cls}%图片
|
||||
\input{cls/geometry.cls}%页面布局
|
||||
\input{cls/font.cls}%字体
|
||||
\input{cls/title.cls}%标题
|
||||
\input{cls/boxes.cls}%信息框
|
||||
\input{cls/headandfoot.cls}%页眉页脚
|
||||
\input{cls/code.cls}%代码块
|
||||
\input{cls/chinesename.cls}%中文名称
|
||||
Binary file not shown.
+229
@@ -0,0 +1,229 @@
|
||||
%!TEX program = xelatex
|
||||
|
||||
\documentclass{report}
|
||||
\usepackage{graphicx}
|
||||
\usepackage[dvipsnames]{xcolor}
|
||||
\usepackage{wrapfig}
|
||||
\usepackage{enumerate}
|
||||
\usepackage{amsmath,mathrsfs,amsfonts}
|
||||
\usepackage{booktabs}
|
||||
\usepackage{tabularx}
|
||||
\usepackage{colortbl}
|
||||
\usepackage{multirow,makecell}
|
||||
\usepackage{multicol}
|
||||
\usepackage{ulem} % \uline
|
||||
\usepackage{listings}
|
||||
\usepackage{tikz}
|
||||
\usepackage{tcolorbox}
|
||||
\usepackage{fontawesome}
|
||||
\usepackage[justification=centering]{caption}
|
||||
\usepackage{draftwatermark}% 所有页加水印
|
||||
\usepackage{titletoc}
|
||||
\usepackage{ctex}
|
||||
\usepackage[subfigure]{tocloft}
|
||||
\usepackage{subfigure}
|
||||
|
||||
\input{input/info.tex}
|
||||
\input{input/setting.tex}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 正文开始
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\begin{document}
|
||||
|
||||
\sloppy % 解决中英文混排文字超出边界问题
|
||||
|
||||
\input{input/cover.tex}
|
||||
\input{input/toc.tex}
|
||||
\input{input/abstract.tex}
|
||||
|
||||
\newpage%开始新的一页,正文开始
|
||||
\setcounter{page}{1}%页码编号,从1开始
|
||||
|
||||
\section{准备工作}
|
||||
在正式开始使用模板之前,需要你安装LiveTex,并安装任何可用的编辑器。
|
||||
|
||||
不需要再做其他配置,字体在font文件夹中,编译时会自动调用,无须额外安装。
|
||||
|
||||
\section{字体}
|
||||
|
||||
在模板中,默认使用的字体是鸿蒙字体,除此之外,还定义了一些其他的中文字体。
|
||||
|
||||
英文字体,默认使用的是鸿蒙字体(HarmonyOS Sans),现在你看到的应该就是这个字体的效果。这些设置,可以在cls中,字体设定里面进行修改。
|
||||
|
||||
中文字体,使用的是鸿蒙字体、方正小标宋、方正楷体、方正仿宋、方正中等线等。
|
||||
|
||||
中文的默认字体衬线字体是方正书宋,加粗字体是方正小标宋,就像这样:\textbf{这里是加粗字体}。斜体的字体是方正楷体,就像这样:\textit{这里是中文斜体}。斜体粗体的字体是方正仿宋,就像这样:\textbf{\textit{这里是粗体斜体}}。中文的无衬线字体sans font使用的是方正黑体,你应该可以在标题中看到它。中文等宽字体,使用的是方正中等线字体。
|
||||
|
||||
默认的无衬线字体是鸿蒙字体,你应该可以在各种标题中看到它的样子。
|
||||
|
||||
同样,上述的字体,在cls中,都可以进行设置。
|
||||
|
||||
另外,可以使用额外的命令,来临时改变某一段文字的字体设置,这些命令包括:fzss(方正书宋)、 fzxbs(方正小标宋)、、fzkai(方正楷体)、fzfs(方正仿宋)、fzzdx(方正中等线)、hm(鸿蒙字体)。使用方法是使用斜线命令的方式,这样:{\fzss 方正书宋}、 {\fzxbs 方正小标宋}、{\fzkai 方正楷体}、{\fzfs 方正仿宋}、{\fzzdx 方正中等线}、{\hm 鸿蒙字体}。
|
||||
|
||||
\section{标题}
|
||||
|
||||
文档模板支持三级标题,并且自动编号。上面就是一级标题的样子。
|
||||
\subsection{这里是二级标题}
|
||||
|
||||
\subsubsection{这里是三级标题}
|
||||
|
||||
\section{列表}
|
||||
列表分为有序列表和无序列表。
|
||||
\subsection{无序列表}
|
||||
无序列表使用itemize。
|
||||
|
||||
\begin{itemize}
|
||||
\item \textbf{第一个有序列表}。可以在这里写列表的内容。
|
||||
|
||||
\item \textbf{第二条列表}。这里继续显示列表内容。
|
||||
\end{itemize}
|
||||
|
||||
默认的前缀是实心的 黑色原点, 但是我们可以在 \textbackslash item[] 中进行自定义符号, 一般来说, 想要的符号都能够进行显示。
|
||||
|
||||
\begin{itemize}
|
||||
\item[-] 条目1
|
||||
\item[+] 条目2
|
||||
\item[x] 条目3
|
||||
\item[/] 条目4
|
||||
\item[*] 条目5
|
||||
\item[a] 条目6
|
||||
\item[$\circ$] 条目7
|
||||
\item[$\bigotimes$] 条目8
|
||||
\item .....
|
||||
\end{itemize}
|
||||
|
||||
|
||||
\subsection{有序列表}
|
||||
有序列表使用enumerate。
|
||||
|
||||
\begin{enumerate}
|
||||
\item 方括号中写的是列表的样式。可以是()、[]等。如果要改变编号样式,可使用begin\{enumerate\}[(1)]等。
|
||||
\item 如果使用了特殊的样式导致没有了缩进,可以使用begin\{enumerate\}[itemindent=2em]设置缩进。
|
||||
\end{enumerate}
|
||||
|
||||
\section{图表信息}
|
||||
|
||||
可以插入表格,如表\ref{table1}所示\footnote{更复杂的表格,可以使用在线工具生成 https://www.tablesgenerator.com/}。
|
||||
|
||||
\noindent
|
||||
\begin{table}[h!]
|
||||
\caption{一个表格的实例}\label{table1}
|
||||
\begin{tabularx}{\textwidth}{>{\hsize=.6\hsize\raggedright\arraybackslash}X>{\raggedright\arraybackslash}X}\toprule
|
||||
\bfseries{食物} & \bfseries{菜谱}\\ \midrule
|
||||
热狗 & 面包、香肠 \\
|
||||
包子 & 面粉、馅料 \\ \bottomrule
|
||||
\end{tabularx}
|
||||
\end{table}
|
||||
|
||||
可以插入图片,如图\ref{fig1}所示。
|
||||
\begin{figure}[!h]
|
||||
\centering
|
||||
\includegraphics[width=12cm]{figs/1.jpg}
|
||||
\caption{这是一个示例图片}
|
||||
\label{fig1}
|
||||
\end{figure}
|
||||
|
||||
在其他的地方,通过输入图片的label来引用图片,就像这样:如图\ref{fig1}所示。
|
||||
|
||||
\section{代码}
|
||||
|
||||
模板中支持插入代码片段。
|
||||
|
||||
就像下面这些例子一样:
|
||||
|
||||
\begin{lstlisting}[language=TypeScript,caption={src/app/app.module.ts}]
|
||||
import { NgModule } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
@NgModule({
|
||||
imports: [ BrowserModule ],
|
||||
providers: [ Logger ],
|
||||
declarations: [ AppComponent ],
|
||||
exports: [ AppComponent ],
|
||||
bootstrap: [ AppComponent ]
|
||||
})
|
||||
export class AppModule { }
|
||||
\end{lstlisting}
|
||||
|
||||
\begin{lstlisting}[language=Java,caption={src/app/app.module.ts}]
|
||||
import org.sun.com;
|
||||
|
||||
public class helloworld{
|
||||
public static void main()
|
||||
{
|
||||
System.out.println("hello world!");
|
||||
}
|
||||
}
|
||||
\end{lstlisting}
|
||||
|
||||
\begin{lstlisting}[style=bashstyle]
|
||||
cd my-app
|
||||
ng serve --open
|
||||
\end{lstlisting}
|
||||
|
||||
\begin{lstlisting}[style=bashoutputstyle]
|
||||
blablabla
|
||||
\end{lstlisting}
|
||||
|
||||
还可以展示linux shell命令:
|
||||
|
||||
\begin{invertedshellbox}
|
||||
npm install -g @angular/cli
|
||||
\end{invertedshellbox}
|
||||
|
||||
也可以使用shell box。
|
||||
|
||||
\begin{shellbox}
|
||||
cd my-app
|
||||
ng serve --open
|
||||
\end{shellbox}
|
||||
|
||||
还可以展示shell执行结果:
|
||||
|
||||
\begin{lstlisting}[style=bashoutputstyle]
|
||||
src
|
||||
app
|
||||
app.component.css
|
||||
app.component.html
|
||||
app.component.spec.ts
|
||||
app.component.ts
|
||||
app.module.ts
|
||||
assets
|
||||
.gitkeep
|
||||
environments
|
||||
environment.prod.ts
|
||||
environment.ts
|
||||
browserslist
|
||||
favicon.ico
|
||||
index.html
|
||||
...
|
||||
\end{lstlisting}
|
||||
|
||||
|
||||
\section{文本框}
|
||||
|
||||
模板支持三中文本框,分别是titledbox、notebox和importantbox。
|
||||
|
||||
\begin{titledbox}{HTTP/Console 内核}
|
||||
HTTP 内核继承自 \verb|Illuminate\Foundation\Http\Kernel| 类,该类定义了一个 \verb|bootstrappers| 数组,这个数组中的类在请求被执行前运行,这些 \verb|bootstrappers| 配置了错误处理、日志、检测应用环境以及其它在请求被处理前需要执行的任务。
|
||||
\end{titledbox}
|
||||
|
||||
|
||||
|
||||
\begin{notebox}
|
||||
HTTP 内核继承自 \verb|Illuminate\Foundation\Http\Kernel| 类,该类定义了一个 \verb|bootstrappers| 数组,这个数组中的类在请求被执行前运行,这些 \verb|bootstrappers| 配置了错误处理、日志、检测应用环境以及其它在请求被处理前需要执行的任务。
|
||||
\end{notebox}
|
||||
|
||||
|
||||
|
||||
\begin{importantbox}
|
||||
HTTP 内核继承自 \verb|Illuminate\Foundation\Http\Kernel| 类,该类定义了一个 \verb|bootstrappers| 数组,这个数组中的类在请求被执行前运行,这些 \verb|bootstrappers| 配置了错误处理、日志、检测应用环境以及其它在请求被处理前需要执行的任务。
|
||||
\end{importantbox}
|
||||
|
||||
\section{图标}
|
||||
|
||||
模板还支持使用图标,图标主要来自于fontawesome。其使用说明,可以参考文件夹中的fontawesome.pdf。
|
||||
|
||||
\faHeart
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user