Last active
July 3, 2021 12:23
-
-
Save QidiLiu/66dc796f34419cb734841204cb61ea8f to your computer and use it in GitHub Desktop.
LaTeX模板
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \documentclass{article} | |
| \setcounter{tocdepth}{4} %增加章节在目录中的“分裂范围” | |
| \setcounter{secnumdepth}{4} | |
| \usepackage[utf8]{inputenc} | |
| \usepackage{listings} %插入代码块的宏包 | |
| \usepackage{graphicx} %插入图片的宏包 | |
| \graphicspath{ {./img/} } %增加图片路径 | |
| \usepackage{float} %设置图片浮动位置的宏包 | |
| \usepackage{subfigure} %插入多图时用子图显示的宏包 | |
| \usepackage{amsmath} %公式编号宏包 | |
| \renewcommand{\contentsname}{Inhalte} %Changes "Contents" to "Inhalte" | |
| \renewcommand{\refname}{Referenzen} | |
| \renewcommand{\figurename}{Abbildung} | |
| %代码块格式设置 | |
| \lstset{ | |
| language=MATLAB, | |
| frame=single, | |
| tabsize=4, | |
| numbers=left, | |
| } | |
| \title{} | |
| \author{Qidi Liu} | |
| %\date{November 2020} % 用于指定日期 | |
| \begin{document} | |
| \maketitle | |
| \tableofcontents | |
| %\clearpage | |
| \section{} | |
| \subsection{} | |
| \bibliographystyle{plain} %参考文献风格 | |
| \bibliography{ref} %参考文献bib文件 | |
| \end{document} | |
| % 插入图片模板 | |
| \iffalse | |
| \begin{figure}[H] | |
| \centering | |
| \includegraphics[width=0.5\textwidth]{img/***.jpg} | |
| \caption{} | |
| \end{figure} | |
| \fi | |
| % 并排图片模板 | |
| \iffalse | |
| \begin{figure}[htbp] | |
| \centering | |
| \begin{minipage}[t]{0.48\textwidth} | |
| \centering | |
| \includegraphics[width=5.5cm]{img/Bremsweg_mu_1.jpg} | |
| \caption{Bremsweg - $\mu$=1} | |
| \end{minipage} | |
| \begin{minipage}[t]{0.48\textwidth} | |
| \centering | |
| \includegraphics[width=5.5cm]{img/Bremsweg_mu_04.jpg} | |
| \caption{Bremsweg - $\mu$=0,4} | |
| \end{minipage} | |
| \end{figure} | |
| \fi | |
| % 插入代码模板 | |
| \iffalse | |
| \begin{lstlisting} | |
| \end{lstlisting} | |
| \fi | |
| % 插入公式推导模板 | |
| \begin{equation}\label{13} | |
| \begin{split} | |
| S_{aus}&=\sqrt{S_{filt1}^2+S_{filt2}^2}\\ | |
| &=\sqrt{\frac{1}{4}A_{ein}^2A_{ref}^2[cos^2(\phi_{ein}-\phi_{ref})+sin^2(\phi_{ein}-\phi_{ref})]}\\ | |
| &=\frac{1}{2}A_{ein}A_{ref}\quad(A_{ein}>0,\,A_{ref}>0) | |
| \end{split} | |
| \end{equation} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % https://de.overleaf.com/learn/latex/Bibliography_management_in_LaTeX | |
| @article | |
| { | |
| Lable, | |
| author = "", | |
| title = "", | |
| journal = "", | |
| volume = "", | |
| number = "", | |
| pages = "", | |
| year = "", | |
| month = "", | |
| note = "" | |
| } | |
| @book | |
| { | |
| Lable, | |
| author = "", | |
| title = "", | |
| publisher = "", | |
| volume = "", | |
| number = "", | |
| series = "", | |
| address = "", | |
| edition = "", | |
| year = "", | |
| month = "", | |
| note = "" | |
| } | |
| @misc | |
| { | |
| Lable, | |
| author = "", | |
| title = "", | |
| year = "", | |
| url = "" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment