在论文中添加实验演示的视频链接
计划在摘要后面加一个词汇Video,然后在Video上加一个脚注,然后脚注的文本解释设置成超链接,点击后可直接跳转到视频。
方法一:
摘要示意图:
![](https://img-blog.csdnimg.cn/img_convert/183a4195e83d43989f6dd58fe8e87097.png)
脚注内容(在页面底部,设置超链接后将鼠标移到上面,链接会自动变黄):
![](https://img-blog.csdnimg.cn/img_convert/f80752ee3a93416d99ca65ec957e7f28.png)
实现步骤:
-
使用url宏包,这是设置超链接的
\usepackage{url}
-
使用\footnote在Video处设置脚注,并且在\footnote指令内添加解释文本以及url超链接
Video \footnote{Video demonstration: \url{www.baidu.com}}
方法二:
在上面的基础上给超链接设置颜色,效果如下:
![](https://img-blog.csdnimg.cn/img_convert/acfcdc856f964e91a80c35ca6c58daae.png)
实现步骤:
-
使用hyperref宏包设置超链接,并且对其进行配置,具体的可以自行查询
\usepackage{hyperref}
\hypersetup{
colorlinks=true, // 设置为true则表示超链接带有颜色
urlcolor=magenta, // 超链接的颜色(品红色)
}
-
使用\footnote在Video处设置脚注,\footnote内部添加脚注文本解释“ Video demonstration: ”,并用\href插入超链接:
-
\href插入超链接的语法
\href{超链接}{描述}
-
实例代码:
Video \footnote{ Video demonstration: \href{www.baidu.com}{www.baidu.com}