latex 红色下划线
时间: 2023-09-26 17:11:59 浏览: 228
在LaTeX中,要实现红色下划线,您可以使用包含`\usepackage{ulem}`的LaTeX文档,并使用`\textcolor{red}{\uline{文本}}`命令来给文本添加红色下划线。具体代码如下所示:
```
\documentclass{article}
\usepackage{ulem}
\usepackage{xcolor}
\begin{document}
\textcolor{red}{\uline{红色下划线}}
\end{document}
```
运行此代码将在生成的PDF文档中显示红色下划线。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [dispx:在 xterm 中显示样式字符串:在 xterm 中显示带有下划线、粗体或彩色字符的字符串。-matlab开发](https://download.csdn.net/download/weixin_38718223/19315390)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [LaTeX技巧004:给文字添加下划线、波浪线等样式](https://blog.csdn.net/ProgramChangesWorld/article/details/51465154)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文