報告模板LaTex

%  !TeX spellcheck = en_GB
%  WangSheying於2015/11/2整理,TJU北洋園校區
%  TeXLive2015+TeXstudio個人推薦,可在線升級usepackage,比較方便
%*****************************************************************************************
%  從這裏開始到\begin{document}是導言區,稱之爲preamble
\documentclass[UTF8]{beamer}
\usepackage{ctex}                 %使用中文要添加,可解決中文文檔輸入
\usepackage{newtxtext,newtxmath}  %字重齊全的高質量數學字體
\usepackage{mathrsfs}             %大寫ABC的花體使用命令是\mathscr{}
\usepackage{graphicx}             %添加圖片
\usepackage{bm}                   %專門處理數學粗體的bm宏包,使用命令是\bm{}
\usepackage{extarrows}            %延長符號,可在=,->等符號加多個字母
%\usepackage{amstext}              %它定義命令 \text,可用於在數學公式中插入少量文本,並可調整上下標中文本字體的尺寸。
\usepackage{amsthm}               %它定義了一個 proof 環境,用來排版定理和證明,能自動在最後添加證畢符號。它還提供一個命令:\newtheorem{定理環境名}{標題}[計數器名],可自定義定理類 環境
\usefonttheme{professionalfonts}  %這個更好看些,數學字體
\usepackage{indentfirst}          %首行縮進
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{subfigure}
\usepackage[english]{babel}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{tikz}
\setlength{\parindent}{2em}      %首行縮進2字符
\setbeamertemplate{theorems}[numbered]
\setbeamertemplate{caption}[numbered]
%******************************************************************************************
%            以上是各種宏包
%******************************************************************************************
%下面是定理,定義,引言的聲明,可自行添加

\newtheorem{thm}{Theorem}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{defi}[thm]{Definition}
\newtheorem{remark}[thm]{Remark}
\newtheorem{claim}[thm]{Claim}

\newenvironment{proofnoqed}{\begin{proof}<span style="background-color: rgb(255, 0, 0);">\renewcommand{\qedsymbol}{}  }{\end{proof} }
%有的證明比較長,前面的應該沒有證畢符號,只在最後一個用proof,其他應該用自定義的新環境proofnoqed



%  三種顏色   red  purple   magenta





%上面是定理,定義,引言的聲明,可自行添加
%******************************************************************************************
%下面是beamer的主題設置,目錄框架結構,其實就是標題,目錄等在上下左右哪一個位置放置,以及目錄怎麼顯示
\usetheme{singapore}            % 幻燈片模板選擇singapore
\usecolortheme{sidebartab}      % 幻燈片模板的色彩sidebartab

\AtBeginSection[]{              % 幻燈片框架% 在每個Section前都會加入的Frame,
	\begin{frame}[plain]
		\frametitle{Outline}
		\tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/show/shaded]
	\end{frame} 
}
%  \tableofcontents[comma-separated option list]具體講解見《The beamer class User Guide》,
%  http://texdoc.net/texmf-dist/doc/latex/beamer/doc/beameruserguide.pdf     See in section 10.5 Adding a table of contents.
%  section和subsection相互獨立,顯示效果互不相關,Allowed ⟨styles⟩ are show, shaded, and hide
%  sectionstyle=⟨style for current section⟩/⟨style for other sections⟩
%  subsectionstyle=⟨style for current subsection⟩/⟨style for other subsections in current section⟩/⟨style for subsections in other sections⟩
%
% 上面是beamer的主題設置,目錄框架結構,其實就是標題,目錄等在上下左右哪一個位置放置,以及目錄怎麼顯示
%*******************************************************************************************
%       下面標題頁的內容設置,根據實際情況修改即可
\title{Standard Presentation Style}  % 幻燈片封面
\author{Sheying Wang}
\institute{Computer Science Department, Tianjin University}
\date{November 2, 2015}%一般是\today
%      上面標題頁的內容設置根據實際情況修改即可
%*******************************************************************************************
%  \begin{document}以上是導言區,稱之爲preamble
%*******************************************************************************************
\begin{document}
	\begin{frame}[plain]
		%plain格式使得一幀的最上面是白色的,沒有plain,會有色彩
		\titlepage
	\end{frame}
	\begin{frame}[plain]               % 幻燈片目錄
		\frametitle{Outline}
		\tableofcontents[sectionstyle=show/show,subsectionstyle=show/show/hide]
	\end{frame}
	%The beamer class這本小冊子有目錄格式的講解,sectionstyle,subsectionstyle都有,P100頁
	%User Guide for version 3.36. 文檔可在google搜索The beamer class,即可得到
%  以上是標準的配置,還有最下面的一部分標準配置
%********************************************************************************************
%    一幀的具體格式樣例參考
%\section{節的名字}
%\subsection{小節的名字}
%\begin{frame}[plain,t]{節的名字} %也可以使用\frametitle{節的名字}效果一樣
%	\structure{小節的名字} \\  \vspace{2ex}
%	節的名字正上方居中,小節的名字緊下方居左。
%\end{frame}
%*********************************************************************************************
%                  下面就是正文,自己的內容
%*********************************************************************************************
\begin{frame}[plain,t]{This ia an example!}
	\structure{}   \vspace{2ex}

   $(e^{i})^n==e^{i n} $
   
   
   $\sqrt[i]{i}$
\end{frame}


%%=================================================================================================
\begin{frame}[plain]
	\huge
	\vfill
	\centerline{ \structure{Questions and Answers?} }
	\vfill

\end{frame}
\begin{frame}[plain]
	\huge
	\vfill
	\centerline{ \structure{Questions and Answers?} }
	\vfill
	\Huge
	\centerline{\alert{Thank You!} }
	\vfill
\end{frame}

%**********************************************************************************************
%                  上面就是正文,自己的內容
%        下面是標準的參考文獻配置
%**********************************************************************************************
\begin{frame}[plain, t, allowframebreaks]{References}
	%  allowframebreaks,這個關鍵字可以使得參考文獻自動斷頁,免得手動
	%  plain格式使得一幀的最上面是白色的,沒有plain,會有色彩,可以試試
	%  t 使得正文不再是默認居中,而是在top,應該加上t,比較好看。
	\bibliographystyle{alpha}         %文獻的格式apalike是[1],alpha是[Lam94]
	%\beamertemplatetextbibitems        %調整文獻樣式
	%\scriptsize                        %文獻多時調整字體大小
	\bibliography{math}                 %自己的文獻
\end{frame}  
\end{document} 
%**********************************************************************************************
%        上面是標準的參考文獻配置
%   參考文獻的主題選擇apalike,見《LaTeX入門》作者:劉海洋P423頁(6-1-13)說明
%   apalike文獻格式,按照美國心理協會(APA)的格式,提供基本的作者年代引用方式
%   避免完全不直觀的數學編號可能造成的問題。這是因爲beamer的文獻格式比較特殊造成的
%  實例如下:
%\beamertemplatetextbibitems %該指令可使參考文獻採用文字而不是圖標的標註
%\begin{frame}[plain, t, allowframebreaks]{References}
%	\scriptsize
%	\bibliographystyle{apalike}
%	\bibliography{ZhangXiao-Smoothed_Analysis_of_Tensor_Decompositions} %文獻命名規範,不要怕長
%\end{frame}

%**********************************************************************************************
%   學習LaTeX好的資料,有《LaTeX入門》《A Guide to LaTeX 4th Edition》 新浪微盤可下載  
%   《一份不太簡短的LATEX介紹 》,網址 CTAN:/tex-archive/info/lshort 可下載  ,有中英文,每年更新
%   tex.stackexchange.com,一個美國的專業TeX問答網站,這個網站更靈活,受益匪淺
%   www.ctan.org            usepackage資料參考
%   www.texample.net       不常用,但是聚集了的專業繪圖的LaTeX代碼,比如畫一個probability tree,
%   遇到問題,先百度Google,90%問題可解決,不行再上知乎提問,劉海洋老師,LaTeX專家,
%   可在 tex.stackexchange.com  同時提問,最基礎的是讀讀上面的兩本書,學會自己看文檔
%   論文《Type setting mathematics for science and technology according to ISO 31/XI》
%   介紹排版中數學字體的選擇
%***********************************************************************************************
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章