From 0ad226479c72925acfc7c571d9ec6e46b87a1f95 Mon Sep 17 00:00:00 2001 From: SchwarzerYV <103877999+SchwarzerYV@users.noreply.github.com> Date: Wed, 15 May 2024 16:34:31 +0800 Subject: [PATCH] colour and box for text --- docs/latex.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/latex.md b/docs/latex.md index ef19d861..0a974895 100644 --- a/docs/latex.md +++ b/docs/latex.md @@ -1022,7 +1022,7 @@ LaTex排版 \fancyfoot[R]{Right footer} % 右页脚 ``` -文献管理 +其他 ---- ### bib文献管理 @@ -1034,9 +1034,6 @@ LaTex排版 \bibliography{references} % 假设.bib文件名为 'references.bib' ``` -其他 ----- - ### URL ```latex @@ -1046,6 +1043,15 @@ LaTex排版 \url{URL} % 显示 URL 并作为链接。 ``` +### 颜色和盒子 + +```latex +\usepackage{color} 使用 color 包来给文本添加颜色。 + +\color{color} 设置文本颜色。 +\fbox{content} 在内容周围创建一个边框。 +``` + 另见 ----