[latex] MCM model

1.图片

1.1插入

\begin{figure}[h]
\centering
\includegraphics[width=0.2\textwidth]{PAX.png}
\caption{this is a picture of ...}\label{fig:1}
\end{figure}

1.2并排插入

\begin{figure}[h]

\begin{minipage}[h]{0.5\textwidth}
\centering
\includegraphics[width=\linewidth]{PAX.png}
\caption{this is a picture of ...}\label{fig2}
\end{minipage}   -----这里与下一行不能有空格,否则无法并排
\begin{minipage}[h]{0.5\textwidth}
\centering
\includegraphics[width=\linewidth]{TSA.png}
\caption{this is a picture of ...}\label{fig3}
\end{minipage}

\end{figure}

1.2引用

in figure \ref{fig:1}
//效果:in figure 1(其中1是图片在文章中的编号)

2.公式

2.1插入

\begin{equation} \label{eqn2}
  n=\left[\frac{b-a}{0.01}\right]+1,  
\end{equation}

//多个公式占一个标签
\begin{equation} \label{eqn2}
  \begin{split}
  n&=\left[\frac{b-a}{0.01}\right]+1,    \\
  S&=\frac{1}{n}\sum\limits_{j=1}^{n}(\lambda_{0j}-\lambda_{j}).
  \end{split}
\end{equation}

2.2引用

in equation \ref{eqn2}
//效果: in equation 2(2是公式在文中的编号)

3.表格

3.1插入

\begin{table}[h]
  \centering
    \begin{tabular}{|l|l|l|l|l|}   ---这里代表表格数据对其方式
      \hline    -----这里代表画一条横线(\vline是画竖线)
      column1 & column2 & column3 & column4 & column5 \\  ----这里表示换行
      a & b & c & d & e \\
      a & b & c & d & e \\
      a & b & c & d & e \\
      a & b & c & d & e \\
      \hline
    \end{tabular}
  \caption{table one }\label{tb1}
\end{table}

3.2合并

  • 合并行与列
\begin{table}
  \centering
  \begin{tabular}{|l|l|l|l|}
    \hline 
    % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
     \multicolumn{2}{|l|}{content}  & a & a \\ ----multicolumn中可以设置两边竖线
     b& b &  b& b \\
    b & b & b &b  \\
    \hline
  \end{tabular}
  \caption{table 10}\label{table:10}
\end{table}
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值