使用texdoc命令查看tex宏包文档
参考: http://www.latexstudio.net/archives/11243
比如查看 authblk 宏包的文档,只需要敲入命令:
texdoc authblk
收录于texlive的所有文档都可以通过texdoc(模糊)搜索和打开。比如查找和图形(graphic)相关的文档,可以使用如下的命令:
texdoc -l graphic
-l
表示texdoc处于“列表”模式,即texdoc搜索整个texlive目录树,给出和graphic相关的文件列表供选择。如果不使用-l
,则texdoc自动匹配一个最合适的文档并打开—通常对于宏包文档而言就可以了。-l
模式的另外一个好处是,可以籍此观察texlive的文档都放到哪里了。
论文中多位作者、机构的排版
参考:https://blog.csdn.net/inter_xuxing/article/details/8124391
主要使用 \usepackage{authblk}
方法:
\documentclass[11pt,a4paper]{article}
\usepackage[affil-it]{authblk}
\title{More than one Author with different Affiliations}
\author[*]{Author A}
\author[*]{Author B}
\author[*]{Author C}
\author[**]{Author D}
\author[**]{Author E}
\affil[*]{Department of Computer Science, \LaTeX\ University}
\affil[**]{Department of Mechanical Engineering, \LaTeX\ University}
\renewcommand\Authands{ and }
\begin{document}
\maketitle
\end{document}
不常用命令集锦
一句话左对齐:\leftline{ }
一句话右对齐:\rightline{ }
一句话居中对齐:\centerline{ }
网友评论