2020-04-26 Latex 环境搭建+ elsevier

2020-04-27  本文已影响0人  锅炉工的自我修养

https://www.cnblogs.com/dingruihfut/p/9690073.html

下载

https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/

安装

1. 官方文档提示安装

tips: 含*.bat的路径名不能有空格,否则空格前后会被认为是两个命令

image.png

latex+ATOM 环境搭建

安装对应的ATOM packages

ATOM 配置

搭建完成之后的测试


错误处理

image.png image.png
image.png

测试


image.png
\documentclass{article}
\begin{document}
你好,\latex。
\end{document}

Command Failed: pdflatex -synctex=1 -interaction=nonstopmode -file-line-error latex.tex

如何使用tex_live

https://www.zhihu.com/question/25696183

\documentclass{ctexart}
\begin{document}
    测试Hello
\end{document}

https://blog.csdn.net/zywhehe/article/details/83113214

查找学习latex的工具书

目的:

虽然报错却可以正常显示


overleaf
More Math Into LaTeX下载


总结:


latex 换行的使用

\documentclass{amsart}
\begin{document}
    It is of some concern to me that
    the terminology used in multi-section
    math courses is not uniform
    
    In several sections of the course of on
    matrix theory, the term 
    "hamiltonian-reduced" is used.
    I, personally, would rather call these
    "hyper-simple". I invite others to comment on this problem 
    Of special concern to me is the terminology 
    in the course by Prof.~Rudi H
    Since his field is new, there is no accepted
    terminology. It is imperative
    that we arrive at a satisfactory solution. 
\end{document}

image.png

换行需要空行


正确显示中文

\documentclass[UTF8]{ctexart}
\begin{document}
    \section{文字}、
    特可爱排版
    \section{数学}
    \[
    a^{2}+b^{2}=c^{2}
    \]
\end{document}
image.png

latex 产生ps文件,xelatex直接输出pdf文件。ps2pdf,将ps转化为pdf


例子

提纲

\documentclass{ctexart}

\title{勾股定理}
\author{张三}
\date{\today}
\bibliography{plain}

\begin{document}
\maketitle
\tableofcontents
\section{古代}
\section{近代}
\bibliography{math}

\end{document}

image.png

tips:

公式


prepare for NEM in elsevier

manuscript

\documentclass[a4paper,11pt]{elsarticle}
\usepackage{times}
\begin{document}
    Mathematics!
\end{document}
image.png

不显示摘要问题

image.png
image.png
image.png
image.png
image.png
image.png
image.png
image.png
image.png
image.png
image.png

图片修改经验

问题


Source in elsevier

elsarticle 官方文档
[elsarticle.cls】(https://www.elsevier.com/__data/assets/pdf_file/0008/56843/elsdoc-1.pdf)
查看tex live官方库

refs:

[tex live安装] (https://blog.csdn.net/qq_42815188/article/details/100865131)

上一篇 下一篇

猜你喜欢

热点阅读