latex配置、基本使用、表格及公式

1.基本配置:CTEX(基本编译环境)+texstudio(带自动补全的编辑器),直接支持IEEE模板,编译器选择是PDFLatex,F5运行

2.基本使用:按照模板的提示,加入对应的内容

3.图片:

单个图片
引用: \autoref{fig:figure3}
\begin{figure}[tb]
 \centering % avoid the use of \begin{center}...\end{center} and use \centering instead (more compact)
 \includegraphics[width=150pt]{pictures/33333.jpg}
 \caption{The task was to align the cube with the virtual pillar.}
 \label{fig:figure3}
\end{figure}

2x2图片

\begin{figure}

%\begin{tabular}{cc}    
    \begin{minipage}{.49\linewidth}        
        \centerline{    \includegraphics[width=\textwidth]{1}}
        \centerline{(a) Result 1    }
    \end{minipage}    
    \hfill    
    \begin{minipage}{.49\linewidth}        
        \centerline{\includegraphics[width=\textwidth]{2}}        
        \centerline{(b) Results 2}        
    \end{minipage}    
    \vfill    
    \begin{minipage}{0.48\linewidth}        
        \centerline{\includegraphics[width=\textwidth]{3}}        
        \centerline{(c) Result 3}        
    \end{minipage}    
    \hfill    
    \begin{minipage}{0.48\linewidth}        
        \centerline{\includegraphics[width=\textwidth]{4}}        
        \centerline{(d) Result 4}        
    \end{minipage}    
    %\end{tabular}    
    \caption{Example of placing a figure with experimental results  the last name of the first author..}    
    \label{fig:res}    
\end{figure}

4.表格:不要直接在编辑器里面输入,安装excel转latex表述的插件,https://ctan.org/tex-archive/support/excel2latex/


引用:\autoref{tab:result}

%\renewcommand{\arraystretch}{1.5} 
\begin{table}[tp]  
%   \scriptsize%
    \centering%
  \caption{The means and standard errors of the subjective measurements and ANOVA results.}
  
  \label{tab:result}
    \begin{tabular}[b]{c|c|c|c|c|c|c}  
    \hline  
    \multirow {2}*{Items}&  
    \multicolumn {2}{c|}{VF}&
    \multicolumn{2}{c|}{BOTH}  &
    \multirow{2}* {F}   &
    \multirow{2}*{p  \textless 0.05?}     \\\cline{2-5}  
    
    &Mean&SE&Mean&SE&&\cr\hline  
 
 Offset/mm&    23.20&    3.05&    5.60&    0.32&    32.89& Yes \cr
Time/s&    57.44&    4.81&    114.72&    11.87&    20.01&     Yes \cr\hline  

    \end{tabular}  
\end{table} 
 

5.公式:简短的公式可直接用$$包含之后嵌入文本,长公式不要直接在latex编辑,安装mathtype,公式编辑完成后选中公式,转换成latex格式(Alt+\)

直接写:
$ f=\sum_{a}^{b}+{Y_{2}}^{4}$

引用:\ref{key}
\begin{equation}\label{key}
f=\sum\limits_{i=a}^{b}{{{i}^{4}}}+\int\limits_{1}^{t}{x_{2}^{3}}dx
\end{equation}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值