LaTeX-Templates-LabReport-01

A simple but useful template for common lab-report.

It has the following features:

  • different fonts
  • multipic and pic
  • 3-lines table
  • Ref
  • Appendix

Code

\documentclass[10pt, a4paper]{article}
\usepackage[UTF8]{ctex}
\usepackage[left=3.17cm, right=3.17cm, top=2.54cm, bottom=2.54cm]{geometry}
\usepackage[numbers,sort&compress]{natbib}
\renewcommand\refname{参考文献}
\newcommand{\upcite}[1]{\textsuperscript{\textsuperscript{\cite{#1}}}}
\usepackage{caption}
\usepackage{multirow}
\usepackage{appendix}
\usepackage{wrapfig} 
\usepackage{graphicx, subfigure}
\usepackage{float}
\usepackage{pgf,tikz,pgfplots}
\pgfplotsset{compat=1.15}
\usepackage{mathrsfs}
\usetikzlibrary{arrows}
\newcommand{\degree}{^{\circ}}
\usepackage{booktabs}
\usepackage{amsmath}
%\usepackage{enumerate}
\usepackage{enumitem}
\setlength{\parskip}{0.6em}



%%%%%%%%%%%%%%%%%%%%%%%%%
%%      Document       %%
%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{document}

\title{美少女のXP\\实验报告}
\author{无82 朱家乐 2018011070}

\maketitle

\tableofcontents
\newpage

\section{字体}


 {\songti 足足丝丝硬硬射射}

 {\lishu 足足丝丝硬硬射射}

 {\heiti 足足丝丝硬硬射射}

 {\fangsong 足足丝丝硬硬射射}

 {\kaishu 足足丝丝硬硬射射}

 {\youyuan 足足丝丝硬硬射射}

 {\yahei 足足丝丝硬硬射射}

 “那一天我二十一岁,在我一生的黄金时代,我有好多奢望。我想爱,想吃,还想在一瞬间变成天上半明
 半暗的云,后来我才知道,生活就是个缓慢受槌的过程,人一天天老下去,奢望也一天天消逝,最后变得
 像挨了槌的牛一样。可是我过二十一岁生日时没有预见到这一点。我觉得自己会永远生猛下去,什么也锤
 不了我。”


\section{插入图片}

\begin{figure}[H]% 2*2
    \centering
    \subfigure[pic1]{
        \includegraphics[width=0.2\textwidth]{glasses.jpg}
        %\caption{fig1}
    }
    \subfigure[pic2]{
        \includegraphics[width=0.2\textwidth]{glasses.jpg}
    }


    \subfigure[pic3]{
        \includegraphics[width=0.2\textwidth]{glasses.jpg}
    }
    \subfigure[pic4]{
        \includegraphics[width=0.2\textwidth]{glasses.jpg}
    }

    \caption{阵列}
\end{figure}

真好看

\begin{figure}[H]
    \centering
    \includegraphics[width=0.45 \textwidth]{glasses.jpg}
    \caption{单张}
    %\label{p3}
\end{figure}

\section{列表环境}

测试列表环境
\begin{itemize}
    \item xxx
    \item xxx
    \item xxx
\end{itemize}

可以加上[left margin = 35pt]
\begin{enumerate}[leftmargin = 35pt]
    \item \textbf{思考题1}

          解答1

    \item \textbf{思考题2}

          解答2

    \item \textbf{思考题3}

          解答3
\end{enumerate}

\section{表格}

\begin{table}[H]
    \centering
    \caption{示例表格}
    \begin{tabular}{lcl}
    \toprule
    。。 & 。。 & 。。 \\
    \midrule
    。。 & 。。 & 。。 \\
    。。 & 。。 & 。。 \\
    。。 & 。。 & 。。 \\
    \bottomrule
    \end{tabular}
    \end{table}



实验小结



\appendix
\addappheadtotoc

\begin{thebibliography}{99}  
    \bibitem{ref1}Zheng L, Wang S, Tian L, et al., Query-adaptive late fusion for image search and person re-identification, Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015: 1741-1750.  
    \bibitem{ref2}Arandjelović R, Zisserman A, Three things everyone should know to improve object retrieval, Computer Vision and Pattern Recognition (CVPR), 2012 IEEE Conference on, IEEE, 2012: 2911-2918.  
    \bibitem{ref3}Lowe D G. Distinctive image features from scale-invariant keypoints, International journal of computer vision, 2004, 60(2): 91-110.  
    \bibitem{ref4}Philbin J, Chum O, Isard M, et al. Lost in quantization: Improving particular object retrieval in large scale image databases, Computer Vision and Pattern Recognition, 2008. CVPR 2008, IEEE Conference on, IEEE, 2008: 1-8.  
    \end{thebibliography}
\section{原始数据与预习报告}

\end{document}

Style

It looks like this: