latex中常见编辑问题总结(一)

尊敬的读者您好:笔者很高兴自己的文章能被阅读,但原创与编辑均不易,所以转载请必须注明本文出处并附上本文地址超链接以及博主博客地址:https://blog.csdn.net/vensmallzeng。若觉得本文对您有益处还请帮忙点个赞鼓励一下,笔者在此感谢每一位读者,如需联系笔者,请记下邮箱:zengzenghe@gmail.com,谢谢合作!  

 

 

latex中常见编辑问题总结(一)

latex中常见编辑问题总结(二)

latex中常见编辑问题总结(三)

latex中常见编辑问题总结(四)

 

1.在latex中直接编译PM_{2.5}会出错,一般需要加$PM_{2.5}$, 但此时编译后显示的字体是斜体,所以需要$\rm PM_{2.5}$变成正体。

2.缩进问题:(1)取消首行缩进:\noindent;(2)设置从第1行之后开始悬挂缩进:\hangafter=1;(3)设置悬挂缩进量
居中、左对齐、右对齐:\setlength{\hangindent}{2em}

3.有些期刊的模板中如(IEEE Access),编辑参考文献时,有时会出现期刊名的斜体无效,此时应该是''fontspec'' package的问题,使得\emph 无效了,可以在前言中加入命令 ''\let\emph\textit'' 就可以了。

4.一般数学公式的编辑,建议先在mathtype中编辑好,然后在复制粘贴到latex中。

5.latex常见表的模板:

\begin{table*}[!t]
  %\vspace{0.02cm}
  \caption{The calculation results of PCC and SCC between $\rm PM_{2.5}$ concentration and dominant factors.}
  \centering
  \begin{tabular}{c|c|c|c}
    \toprule
       Correlation Factor   & PCC    &  SCC  & Fitting Equation \\
      \midrule
        Visibility            & -              & -& $\rm y=ln(x)+3.61$ \\
       Wind Speed      &  -             &  - &  $\rm y=ln(x)+38.1$\\
       $\rm PM_{10}$        & - &  -             & $\rm y=x-9.81$\\
      $\rm NO_2$              & -               &  &  $\rm y = 6.67x}}$\\
      $\rm SO_2$               & -   & -            & $\rm y=2.476$\\
      $CO$                   & -   & -            & $\rm y=49.979$\\
   \bottomrule
  \end{tabular}\\
  \footnotesize{$ -$ The value is not calculated in this paper; y stands for $\rm PM_{2.5}$ concentration; x represents dominant factor}
\end{table*}

 

5.latex常见图的模板:

\begin{figure}[!t]
\centering
\vspace{0.25cm}
\includegraphics[width=3.8in]{14.png}
\caption{Updating process of rule nodes of MISA-SOFNN and SOG-SASOFNN}
\label{fig:graph}
%\vspace{-0.5cm}
\end{figure}

6.latex常见算法伪代码模板

 

\begin{algorithm}
    \caption{My algorithm}\label{euclid}
    \begin{algorithmic}[1]
        \Procedure{MyProcedure}{}
        
        
            abc
        \State $\textit{stringlen} \gets \text{length of }\textit{string}$
        \State $i \gets \textit{patlen}$
        \BState \emph{top}:
        \If {$i > \textit{stringlen}$} \Return false
        \EndIf
        \State $j \gets \textit{patlen}$
        \BState \emph{loop}:
        \If {$\textit{string}(i) = \textit{path}(j)$}
        \State $j \gets j-1$.
        \State $i \gets i-1$.
        \State \textbf{goto} \emph{loop}.
        \State \textbf{close};
        \EndIf
        \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$.
        \State \textbf{goto} \emph{top}.
        \EndProcedure
    \end{algorithmic}
\end{algorithm}

日积月累,与君共进,增增小结,未完待续。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值