Latex 的一些操作

  1. 一些公式
\[
  \begin{pmatrix}{*{20}c}
  {a_{11} } & {a_{12} } & {a_{13} }  \\
  {a_{21} } & {a_{22} } & {a_{23} }  \\
  {a_{31} } & {a_{32} } & {a_{33} }  \\
  \end{pmatrix}
  = \frac{{Opposite}}{{Hypotenuse}}\cos ^{ - 1} \theta \arcsin \theta
\]

效果图:在这里插入图片描述
2. 一些条

\begin{itemize}
	\item minimizes the discomfort to the hands. 
	\item maximizes the outgoing velocity of the ball.
\end{itemize}

效果:在这里插入图片描述
3. latex插入图片

\begin{figure}[h]
	\small
	\centering
	\includegraphics[width=12cm]{mcmthesis-aaa.eps}
	\caption{Flow chart of our models} \label{fig:FlowChart}
\end{figure}

在这里插入图片描述
4. 将多张图片放在一起将多张图片放在一起

利用 \usepackage{subfig} 包将多个图方便的放在一起

\documentclass[a4paper,12pt]{article}

\usepackage{graphicx}

\usepackage{subfig}

\begin{document}

\begin{figure}[htb]

\centering

\subfloat[A subfigure]{%

  \includegraphics[width=.24\textwidth]{example-image-a}}\hfill

\subfloat[A subfigure]{%

  \includegraphics[width=.24\textwidth]{example-image-b}}\hfill

\subfloat[A subfigure]{%

  \includegraphics[width=.24\textwidth]{example-image-c}}\hfill

\subfloat[A subfigure]{%

  \includegraphics[width=.24\textwidth]{example-image}}\\

\subfloat[A subfigure]{%

  \includegraphics[width=.48\textwidth]{example-image-a}}\hfill

\subfloat[A subfigure]{%

  \includegraphics[width=.48\textwidth]{example-image-b}}\hfill

\subfloat[A subfigure]{%

  \includegraphics[width=.48\textwidth]{example-image-c}}\hfill

\subfloat[A subfigure]{%

  \includegraphics[width=.48\textwidth]{example-image-d}}\\

\subfloat[Anbing Ren]{%

  \includegraphics[width=.3\textwidth]{example-image}}

\caption{This is lot of figures arranged side by side in matrix form with captions for each and a main caption}

\label{fig:1}

\end{figure}

\end{document}

生成效果图:

LaTeX将多个图放在一起

转自: 任安炳科学网博客。
链接地址:http://blog.sciencenet.cn/blog-287062-875660.html

  1. 有大括号的公式

\[
  \begin{pmatrix}{*{20}c}
  {a_{11} } & {a_{12} } & {a_{13} }  \\
  {a_{21} } & {a_{22} } & {a_{23} }  \\
  {a_{31} } & {a_{32} } & {a_{33} }  \\
  \end{pmatrix}
  = \frac{{Opposite}}{{Hypotenuse}}\cos ^{ - 1} \theta \arcsin \theta
\]

生成效果图
这里写图片描述

  1. 绘制斜表头

\begin{table} [h]
\centering
\caption{Distribution Time (in hours)}
\label{tab:time}
\begin{tabular}{c|cc||c|ccc} \hline
\backslashbox{SNs}{INs} & D & E & \backslashbox{SNs}{INs} & F & G & H \\
\hline
A & 2 & 3 & D & 1 & 3 & 3 \\
B & 2 & 1 & E & 3 & 2 & 3 \\
C & 1 & 3 &   &   &   &   \\
\hline
\end{tabular}\\
{\footnotesize Note: suppy nodes (SNs), intersection nodes (INs), demand nodes (DNs)}
\end{table}

生成效果图:
这里写图片描述

转载自: 江一平科学网博客

  1. 代码附录
\begin{appendices}

\section{First appendix}



Here are simulation programmes we used in our model as follow.\\

\textbf{\textcolor[rgb]{0.98,0.00,0.00}{Input matlab source:}}
\lstinputlisting[language=Matlab]{./code/mcmthesis-matlab1.m}

\section{Second appendix}

some more text \textcolor[rgb]{0.98,0.00,0.00}{\textbf{Input C++ source:}}
\lstinputlisting[language=C++]{./code/mcmthesis-sudoku.cpp}

\end{appendices}

这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值