Latex踩过的坑(自用)

摘要

\begin{abstract}
abcdefg
\end{abstract}

附录

\documentclass[a4paper,12pt]{ctexart}
\begin{document}
   main body %正文内容
 \appendix
 % \renewcommand{\appendixname}{Appendix~\Alph{section}}
 \section{附录 1}
  some text...
 \section{Some Examples 2}
  some text...
\end{document}

公式编号并引用(例子)

    \begin{equation}
        \mathbf{y}=\mathbf{X} \boldsymbol{\beta}+\varepsilon  \label{pythagorean}
    \end{equation}
    Then the received signal \eqref{XX}

如果不编号则使用equation环境

符号

\frac{}{}:分号
\times: 乘号

花体

 \mathcal

插入多张图片

\begin{figure}[htb!]
    %\vspace{-2mm}
    \begin{center}
        \setlength{\abovecaptionskip}{0pt}
        
        \subfigure[%子图题主]{
            \includegraphics[width=70mm]{%图源}
            %\caption{fig1}
        }
        \quad
        \hspace{-7mm}
        \subfigure[%子图题注]{
            \includegraphics[width=70mm]{%图源}
        }

        \caption{%总题注}
        \label{%总图名}
    \end{center}
    %\vspace{-5mm}
\end{figure}



%如果不编号的话caption上打星号改成\caption*

插入单张图片

\begin{figure}[htb!]
    \vspace{-2mm}  %设置与上文的水平间距。
    \begin{center}
        \includegraphics[width=150mm]{fig1.png} %width=**mm:设置图片宽度(高度等比例缩放),fig.eps:插入图片的名字(可以插入.png,.jpg,.pdf等格式)
        \caption{Distributions of the maximum absolute sample correlation coefficient when n D 60 and p D 1000 ( ) and n D 60 and p D 5000 (-----),based on 500 simulations} %图注,不变好打星
        \label{figure1}  %这就是图片名字,用来在正文中引用图片
    \end{center}
    \vspace{-5mm}  %设置与上文的水平间距。
\end{figure}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值