category
This commit is contained in:
		| @@ -0,0 +1,5 @@ | ||||
| \documentclass{article}  %文档类声明 | ||||
| %导言区(文档类声明和正文间的是导言区) | ||||
| \begin{document}  %正文开始 | ||||
| 	Hello, world!     %正文 | ||||
| \end{document}    %正文结束 | ||||
| @@ -0,0 +1,18 @@ | ||||
| \documentclass{article}   %文档类声明 | ||||
| \usepackage{ctex}  %一个支持中文宏包,如果不用中文无法显示 | ||||
|  | ||||
|  | ||||
| \begin{document}   %正文  | ||||
| 	\title{这是一个标题}  %标题 | ||||
| 	\author{作者名字}     %作者 | ||||
| 	\date{}  %\maketitle默认会加上当前时间,用\date{},空着内容可以取消时间的显示 | ||||
| 	\maketitle  %加了这个,标题、作者等信息才会显示 | ||||
| 	\section{节} | ||||
| 	\subsection{小节} | ||||
| 	\subsubsection{子小节} | ||||
| 	Hello, world!  	%下面空一行代表换行 | ||||
| 	\textbf{用\textbackslash textbf\{\}可以加粗文本}  %\textbf{}可以加粗文本 | ||||
| 	\section{节} | ||||
| 	\part{} | ||||
| 	\part{} | ||||
| \end{document} | ||||
							
								
								
									
										
											BIN
										
									
								
								language_learning/latex/2019.12.05_beamer_as_slides/1.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								language_learning/latex/2019.12.05_beamer_as_slides/1.jpg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 18 KiB | 
| @@ -0,0 +1,50 @@ | ||||
| \documentclass{beamer} | ||||
| \usepackage{ctex}  %一个支持中文宏包,如果不用中文无法显示 | ||||
| \usepackage{graphicx} %这个包提供\includegraphics命令来插入图片 | ||||
|  | ||||
| \usetheme{Boadilla}  %主题 | ||||
| \usecolortheme{default}  %主题的颜色 | ||||
|  | ||||
| \title{这是PPT标题}  %标题 | ||||
| \author{作者名字\inst{1},作者名字\inst{2}}     %作者 | ||||
| \institute{\inst{1}第一个单位\and\inst{2}第二个单位}  %这里的\and有换行的效果 | ||||
| \date{\today}        %时间(默认也会显示) | ||||
| \logo{\includegraphics[height=1.0cm]{1.jpg}}  %右下角的小log | ||||
|  | ||||
| \begin{document}         %正文开始 | ||||
| 	\begin{frame}    %相当于ppt里的一页 | ||||
| 		\titlepage   %标题页 | ||||
| 	\end{frame} | ||||
| 	\begin{frame} | ||||
| 		\frametitle{目录} %当前页的标题   | ||||
| 		\tableofcontents  %制作目录,需要\section{}配合 | ||||
| 	\end{frame} | ||||
| 	 | ||||
| 	\section{第一节}    %用来做目录 | ||||
| 	\begin{frame}    | ||||
| 		\frametitle{当前页的标题1}   | ||||
| 		这是第一节第一页的内容。This is a text in the first frame. This is a text in the first frame. This is a text in the first frame. | ||||
| 	\end{frame} | ||||
| 	 | ||||
| 	\section{第二节}   | ||||
| 	\begin{frame}   | ||||
| 		\frametitle{当前页的标题2}  | ||||
| 		这是第二节第一页的内容。这里使用了\textbackslash pause。\pause This is a text in the second frame. This is a text in the second frame. This is a text in the second frame.  %\pause是暂停,前后会分成两页。 | ||||
| 	\end{frame} | ||||
| 	\begin{frame} | ||||
| 	    \frametitle{当前页的标题3:Two-column slide} | ||||
| 	    \begin{columns}   %分成列 | ||||
| 	    	\column{0.5\textwidth}  %占用一半   | ||||
| 	    	This is a text in first column. | ||||
| 	    	$$E=mc^2$$ | ||||
| 	    	\begin{itemize}  %制作列表 | ||||
| 	    		\item First item | ||||
| 	    		\item Second item | ||||
| 	    	\end{itemize} | ||||
| 	    	\column{0.5\textwidth}  %占用一半   | ||||
| 	    	This text will be in the second column | ||||
| 	    	and on a second tought this is a nice looking | ||||
| 	    	layout in some cases. | ||||
| 	    \end{columns} | ||||
| 	\end{frame} | ||||
| \end{document} | ||||
| @@ -0,0 +1,22 @@ | ||||
| \documentclass{article} | ||||
| \usepackage{graphicx} | ||||
|  | ||||
| % 加上以下语句,S字母可任意修改 | ||||
| \renewcommand{\thefigure}{S\arabic{figure}}   | ||||
| \renewcommand{\theequation}{S\arabic{equation}}  | ||||
|  | ||||
| \begin{document} | ||||
|  | ||||
| Here are Eq. (\ref{eq:mass_energy_equivalence}) and Fig. \ref{fig:a}. | ||||
|  | ||||
| \begin{equation} | ||||
|     E=mc^2 \label{eq:mass_energy_equivalence} | ||||
| \end{equation} | ||||
|  | ||||
| \begin{figure}[htbp] | ||||
|     % \includegraphics*[width=0.5\textwidth]{a.eps} | ||||
|     \caption{This is a caption. Image is not shown.} | ||||
|     \label{fig:a} | ||||
| \end{figure} | ||||
|  | ||||
| \end{document} | ||||
		Reference in New Issue
	
	Block a user