mac配置texshop以及latex语法

第一步:mac安装basictex

$ brew cask install basictex

第二步:下载texshop

官网链接:http://pages.uoregon.edu/koch/texshop/

第三步:打开texshop建立模板

发布论文时,各大期刊或会议官网提供latex的相关论文格式文件包,下载下来直接在demo中改即可。

第四步:常用数学公式编辑

参考网址:http://blog.csdn.net/yangziluomu/article/details/52693201

第五步:插入表格

参考网址: http://blog.sina.com.cn/s/blog_57235cc70100jnpo.html

第六步:插入pdf图片

\usepackage{pdfpages}
\includepdf[addtotoc={1,section,1,title in toc,cc},pages=1-1,offset=0cm 0.5cm]{./pdf/test.pdf}   
\includepdf[addtotoc={1,section,1,title in toc,cc},pages=4-4,offset=0cm 0.5cm]{./pdf/test.pdf} 其中pages=1-2是pdf文件中需要

第七步: 其他语法

\newpage   命令结束当前页, 开始新的一页。
\par 这条命令与一个空行的效果相同, 使用它常常只是为了使文档中的命令或环境的定义更易于阅读理解。
\newline  该命令只能在段落中使用,使文本开始一个新行
\usepackage{indentfirst} 
\setlength{\parindent}{2em} 首行缩进
\noindent 放弃首行缩进
\indent 使用首行缩进

mackdown表格:

| Tables        | Are           | Cool  |
| ------------- |:-------------:| -----:|
| col 3 is      | right-aligned | $1600 |
| col 2 is      | centered      |   $12 |
| zebra stripes | are neat      |    $1 |
 
 

猜你喜欢

转载自blog.csdn.net/u012969412/article/details/78211507