[翻译] [Overleaf] LaTeX 中的粗体、斜体、下划线 |
您所在的位置:网站首页 › underlines翻译 › [翻译] [Overleaf] LaTeX 中的粗体、斜体、下划线 |
原 文:Bold, italics and underlining 译 者:Xovee 翻译时间:2020年5月25日 LaTeX 中的粗体、斜体、下划线在一个文档中,简单的文字排版可以对某些概念进行重点描述,增强其可读性。使用粗体、斜体、或者下划线,可以带给读者不同的感觉。 文章目录 LaTeX 中的粗体、斜体、下划线介绍斜体粗体下划线强调文字延伸阅读 介绍在这篇文章中,我们将会学习三种不同的基础文字排版:斜体、粗体、下划线。让我们首先看一个例子: Some of the \textbf{greatest} discoveries in \underline{science} were made by \textbf{\textit{accident}}.
在Overleaf中打开这个例子。 斜体使用斜体是非常简单的,使用\emph或者\textit命令: Some of the greatest discoveries in science were made by \emph{accident}.
使用\textbf指令来对文字进行加粗: Some of the \textbf{greatest} discoveries in science were made by accident.在Overleaf中打开这个例子。 下划线使用\underline来对文字添加下划线: Some of the greatest discoveries in \underline{science} were made by accident.在Overleaf中打开这个例子。 强调文字你可以使用\emph命令来强调文字,有时候\emph的行为与\textbf一样,它们还有一些差异: Some of the greatest \emph{discoveries} in science were made by accident. \textit{Some of the greatest \emph{discoveries} in science were made by accident.} \textbf{Some of the greatest \emph{discoveries} in science were made by accident.}\emph命令的实际行为取决于它所处的环境,在正常文本中,它会让文字变成斜体,而如果在斜体文字中,它会让文字变成正常。 有些包,例如beamer,会改变\emph指令的默认行为。 在Overleaf中打开这个例子。 延伸阅读 段落和换行列表段落排版换行符和空白行一篇并不简短的LaTeX2e介绍 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |