版权声明:偷我的我会气死的, 希望你去访问我的个人主页:https://crazyang.top https://blog.csdn.net/yzy_1996/article/details/84504723
一句话总结:一旦接触Latex就再也离不开
使用过程中慢慢也学会了不少方法,在此整理积累
插入超链接
需要用到的宏包:
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=blue,
citecolor=cyan, }
使用方法
\href{http://v.youku.com/}{Youku video}
% 或者
\href{http://v.youku.com/}{Youku video}
% 如果是邮箱,使用mailto命令
\href{mailto:xx@gmail.com}{xx@gmail.com}
插入图片
插入eps格式
% 需要用到的宏包
\usepackage{graphicx}
% 使用方法
\begin{figure}[h]
\centering
\includegraphics[scale=0.2]{2.eps}
\caption{图片说明}
\label{1}
\end{figure}
% 使用figure表示的是把我们这个东西看成一个段落并且是没有任何缩进的
% \centering表示的是里面紧跟的内容都居中
% \includegraphics[]{}表示的插入图片,[]内可以是width=3cm[缩放因子], height=8 cm[缩放因子] scale=0.4[缩放因子]
% \caption设置图片的一个编号以及为图片添加标题
% h 此处(here)
% t 页顶(top)
% b 页底(bottom)
% p 独立一页(page)
插入svg格式
% 需要用到的宏包
\usepackage{svg}
% 使用方法
\begin{figure}
\includesvg{image}
\end{figure}
写罗马数字
大写罗马数字
\uppercase\expandafter{\romannumeral1}
小写罗马数字
\romannumeral1
工具推荐
Mathpix Snipping Tool 直接将截图变为latex公式