今天,论文小白表示很无奈,要排英文论文的格式,不会。。
我已经说了我是小白,收起你的嘲笑脸~
1.在线公式编辑工具,可以保存成gif、pdf各种版本,觉得很神奇,程序员们真伟大。
http://private.codecogs.com/latex/eqneditor.php
http://latex.codecogs.com/eqneditor/editor.php
以上两个链接,哪个都可以,不过我不打算用这个
2.Latex工具
https://jingyan.baidu.com/article/624e745948b48a34e8ba5aae.html
参考,很有用,下载最新版本
3.CTex官网下载
http://www.ctex.org/HomePage
下载稳定版本CTeX_2.9.2.164_Full.exe (1.31G)
装完之后小白表示很神奇,1.3G,幸亏宿舍的网还算可以~
4.mathtype公式直接用到Latex中的方法
https://jingyan.baidu.com/article/3a2f7c2e0f132326afd611b9.html
也是很神奇,表白我们现代计算机大神们~
5.先用三句话来介绍什么是LaTeX
1).LaTeX是一类用于编辑和排版的软件,用于生成PDF文档。
2).LaTeX编辑和排版的核心思想在于,通过\section和\paragraph等语句,规定了每一句话在文章中所从属的层次,从而极大方便了对各个层次批量处理。
3).LaTeX在使用体验方面,最不易被Word替代的有四个方面:方便美观的数学公式编辑、不会乱动的退格对齐、非所见即所得因此可以在编辑的时候用退格和换行整理思路但生成PDF出来不影响美观、部分导师和刊物不接受Word排版的文章。
6.Latex入门
1)在ctex.org下载ctex套装(含MikTeX及WinEdt)还有其他办法,但是我觉得这个最好用。
2)打开WinEdt,建立一个新文档,保存,保存类型为utf8
\documentclass{article}
\begin{document}
hello, world
\end{document} \begin{document} hello, world \end{document}
然后在WinEdt的工具栏中找到编译按钮(在垃圾桶和字母B中间),在下拉菜单中选择XeTeX,并点击编译。
如果顺利的话,我们就可以顺利生成出第一个pdf文件,点击工具栏中的放大镜按钮就可以快速打开生成的pdf文件。(我编译之后显示没有错误,但放大镜是灰色按钮,点不了,还没有解决)
3)标题、作者和注释
\documentclass{article}
\author{My Name}
\title{The Title}
\begin{document}
\maketitle
hello, world
% This is comment
\end{document} \begin{document} \maketitle hello, world % This is comment \end{document}
4)章节和段落
\documentclass{article}
\title{Hello World}
\begin{document}
\maketitle
\section{Hello China} China is in East Asia.
\subsection{Hello Beijing} Beijing is the capital of China.
\subsubsection{Hello Dongcheng District}
\paragraph{Tian'anmen Square}is in the center of Beijing
\subparagraph{Chairman Mao} is in the center of Tian'anmen Square
\subsection{Hello Guangzhou}
\paragraph{Sun Yat-sen University} is the best university in Guangzhou.
\end{document} \begin{document} \maketitle \section{Hello China} China is in East Asia. \subsection{Hello Beijing} Beijing is the capital of China. \subsubsection{Hello Dongcheng District} \paragraph{Tian'anmen Square}is in the center of Beijing \subparagraph{Chairman Mao} is in the center of Tian'anmen Square \subsection{Hello Guangzhou} \paragraph{Sun Yat-sen University} is the best university in Guangzhou. \end{document}
5)加入目录
\documentclass{article}
\begin{document}
\tableofcontents
\section{Hello China} China is in East Asia.
\subsection{Hello Beijing} Beijing is the capital of China.
\subsubsection{Hello Dongcheng District}
\paragraph{Hello Tian'anmen Square}is in the center of Beijing
\subparagraph{Hello Chairman Mao} is in the center of Tian'anmen Square
\end{document} \begin{document} \tableofcontents \section{Hello China} China is in East Asia. \subsection{Hello Beijing} Beijing is the capital of China. \subsubsection{Hello Dongcheng District} \paragraph{Hello Tian'anmen Square}is in the center of Beijing \subparagraph{Hello Chairman Mao} is in the center of Tian'anmen Square \end{document}
6)换行
\documentclass{article}
\begin{document}
Beijing is
the capital
of China.
New York is
the capital
of America.
Amsterdam is \\ the capital \\
of Netherlands.
\end{document} \begin{document} Beijing is the capital of China. New York is the capital of America. Amsterdam is \\ the capital \\ of Netherlands. \end{document}
7)数学公式
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
The Newton's second law is F=ma.
The Newton's second law is $F=ma$.
The Newton's second law is
$$F=ma$$
The Newton's second law is
\[F=ma\]
Greek Letters $\eta$ and $\mu$
Fraction $\frac{a}{b}$
Power $a^b$
Subscript $a_b$
Derivate $\frac{\partial y}{\partial t} $
Vector $\vec{n}$
Bold $\mathbf{n}$
To time differential $\dot{F}$
Matrix (lcr here means left, center or right for each column)
\[
\left[
\begin{array}{lcr}
a1 & b22 & c333 \\
d444 & e555555& f6
\end{array}
\right]
\]
Equations(here \& is the symbol for aligning different rows)
\begin{align}
a+b&=c\\
d&=e+f+g
\end{align}
\[
\left\{
\begin{aligned}
&a+b=c\\
&d=e+f+g
\end{aligned}
\right.
\]
\end{document} \begin{document} The Newton's second law is F=ma. The Newton's second law is $F=ma$. The Newton's second law is $$F=ma$$ The Newton's second law is \[F=ma\] Greek Letters $\eta$ and $\mu$ Fraction $\frac{a}{b}$ Power $a^b$ Subscript $a_b$ Derivate $\frac{\partial y}{\partial t} $ Vector $\vec{n}$ Bold $\mathbf{n}$ To time differential $\dot{F}$ Matrix (lcr here means left, center or right for each column) \[ \left[ \begin{array}{lcr} a1 & b22 & c333 \\ d444 & e555555& f6 \end{array} \right] \] Equations(here \& is the symbol for aligning different rows) \begin{align} a+b&=c\\ d&=e+f+g \end{align} \[ \left\{ \begin{aligned} &a+b=c\\ &d=e+f+g \end{aligned} \right. \] \end{document}
8)插入图片
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics[width=4.00in,height=3.00in]{figure1.eps}
\end{document} \begin{document} \includegraphics[width=4.00in,height=3.00in]{figure1.eps} \end{document}
9)简单表格
\documentclass{article}
\begin{document}
\begin{tabular}{|c|c|}
a & b \\
c & d\\
\end{tabular}
\begin{tabular}{|c|c|}
\hline
a & b \\
\hline
c & d\\
\hline
\end{tabular}
\begin{center}
\begin{tabular}{|c|c|}
\hline
a & b \\ \hline
c & d\\
\hline
\end{tabular}
\end{center}
\end{document} \begin{document} \begin{tabular}{|c|c|} a & b \\ c & d\\ \end{tabular} \begin{tabular}{|c|c|} \hline a & b \\ \hline c & d\\ \hline \end{tabular} \begin{center} \begin{tabular}{|c|c|} \hline a & b \\ \hline c & d\\ \hline \end{tabular} \end{center} \end{document}
以上参考博客 http://blog.sina.com.cn/s/blog_90444ed201016iq6.html
但是我的CTex仍然出不了PDF,致敬今天下午的五个小时,好累。。等我解决了这个问题再来修改。。
二更
————————————————————————————————————
手动分隔线
1.Ctex中添加空格
https://blog.csdn.net/seaskying/article/details/51316607
1.CTex中参考文献的添加:使用bib文件实际挺方便的。
https://jingyan.baidu.com/article/7e44095335ff172fc1e2ef11.html
其中\bibliographystyle格式有五种形式
https://jingyan.baidu.com/article/574c52196e12496c8d9dc1c5.html
以上两点估计就够添加正常的【J】和【C】了,但是网址类型的参考文献我还是不会。。。知道的朋友不吝赐教,谢谢!卡了很久,感觉自己快把电脑盯穿了。。。