LaTex作为编辑数学公式,撰写论文是一款极其有利的工具,具体看代码注释:
%:注释开始标志
\\ :换行
基本格式:
\document[article]
\begin{document}
...
\end{document}
\documentclass{article}
\usepackage{amsmath} % Advanced math typesetting
\usepackage[utf8]{inputenc } % Unicode support (Umlauts etc.)
\usepackage{graphicx} % Add pictures in paper
\usepackage{booktabs}
%\usepackage[ngerman]{babel} % Change hyphenation rules
%\usepackage{listings} % Source code formatting and highlighting
% main document
\begin{document} % The document starts here
\title{My first document using \LaTeX{}}
\date{\today{}}
\author{Pheobus}
\maketitle % Creates the titlepage
\pagenumbering{gobble} % Turns off page numbering
\newpage % Starts a new page
\tableofcontents