工作环境(蓝色粗体字为特别注意内容)
1,系统环境:Win7 Ultimate sp1
2,软件环境:pdfTeX 3.1415926-2.3-1.40.12 (MiKTeX 2.9)、WinEdt 7,编译器:PDFTeXify
3, 参考文献:①https://blog.youkuaiyun.com/Mikowoo007/article/details/87464547
在LaTeX中可能会很多宏包,这些宏包中可能会有很多我们不认识的命令,而网络上有时候搜索不到相关信息,或者描述的不到位,这时候,应该如何查找帮助文档呢?答案其实很简单,我们在LaTeX中使用宏包的时候,其实宏包中已经写好了足够详细的文档了。比如我要查询ccaption这个宏包的说明文档:
首先在WinEdt中打开命令窗口:
![]()
输入texdoc ccaption,回车,就打开了该命令的说明文档,也就是位于/MiKTeX\doc\latex\ccaption\ccaption.pdf的pdf文档。
然后找到该包中的一个命令的说明,比如:\bicaption,说明如下:
\bicaption
When bilingual captions are typeset via the \bicaption command the second
language text is not put into the List of . . . . The command takes 5 arguments as:
\bicaption[hlabel i]{hshort-1 i}{hlong-1 i}{hNAMEi}{hlong-2 i}
The optional hlabel i is for a label if required. hshort-1 i and hlong-1 i are the
short and long caption texts for the main language of the document. The value
of the hNAMEi argument is used as the caption name for the second language
caption. The last argument, hlong-2 i, is the caption text for the second language
(which is not put into the List of). For example, if the main and secondary
languages are English and German:
\bicaption{Short}{Long}{Bild}{Langlauf}
If the short title text is not required, then leave the appropriate argument either
empty or as one or more spaces.
Figure 3 is an example of using \bicaption and was produced by the following
本文介绍了在Win7环境下,使用WinEdt 7和MiKTeX 2.9如何通过texdoc命令来查看LaTeX宏包的详细帮助文档。以查询ccaption宏包和icaption命令为例,演示了如何直接打开对应的PDF说明文件,从而获取命令的使用方法。
5623

被折叠的 条评论
为什么被折叠?



