latex学习指南和实用模板

本文介绍了在 LaTeX 中创建全局三线表和自适应三线表的方法,包括表格的宽度设置和内容填充。同时,展示了如何进行文献引用、公式标号、图片插入,尤其是横向排列多个图片的技巧,以及调整字体大小的命令。这些内容对于提升 LaTeX 文档的排版质量和专业性具有重要意义。
摘要由CSDN通过智能技术生成

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档

一、latex全局三线表

八个单位大概是每个1.4cm(textwide那个地方)
代码如下(示例):

	\begin{table}[!htbp]\footnotesize
   		\caption{第二组白葡萄酒样品3持久性异常值处理}\label{tab001} \centering
   		
   		\setlength{\tabcolsep}{0.4mm}{
   			
   			\begin{tabularx}{\textwidth}{p{1.4cm}p{1.4cm}p{1.4cm}p{1.4cm}p{1.4cm}p{1.4cm}p{1.4cm}p{1.4cm}p{1.4cm}p{1.4cm}p{1.4cm}}
   				\toprule[1.5pt] 
   				评酒员& 1&2&3&4&5&6&7&8&9&10号\\
   				\midrule[1pt] 
   				修补前&7& 5& 7& 5& 6& 7 &77& 5 &6 &7\\
   				修补后&7& 5& 7& 5& 6& 7 &7& 5 &6 &7\\
   				
   				\bottomrule[1.5pt]
   			\end{tabularx}
   		}
   	\end{table}\par

在这里插入图片描述

二、可以自适应的三线表

代码如下(示例):

\begin{table}[!htbp]\footnotesize 
	\caption{Muller地累积指数污染物等级划分}\label{tab001} \centering
	
	\begin{tabular}{cccccccc}
		\toprule[1.5pt]
	评酒员& 1&2&3&4&5&6号\\
		\midrule[1pt]
		\text { 级数 } & 0 & 1 & 2 & 3 & 4 & 5  \\
		\text { 累计污染程度 } & \text {} & \text { 无 中 } & \text {} & \text {} \text {} & \text {} & \text { 强 极强 }  \\
		
		\bottomrule[1.5pt]
	\end{tabular}
\end{table}

在这里插入图片描述

三、文献引用

右上角的那个东西

\upcite{1}

四、公式标号

公式标号放在最末尾

公式标号:
\begin{equation}
	\mathrm{I}_{\mathrm{geo}}=\log _{2}\left[\mathrm{C}_{\mathrm{n}} / 1.5 \mathrm{~B}_{\mathrm{n}}\right]
\end{equation}

五、插入图片:

\begin{figure}[!h]
		\centering
		\includegraphics[width=0.6\textwidth]{第一组红色葡萄酒正态性检验直方图.png}
		\caption{第一组红色葡萄酒正态性检验直方图}
	\end{figure}

六、横向插入三个图片:

\begin{figure*}
	\setlength{\abovecaptionskip}{-5pt}
	\setlength{\belowcaptionskip}{-10pt}
	\centering
	\begin{minipage}[t]{0.33\linewidth}
		\centering
		\includegraphics[width=2.56in]{第二组红葡萄酒Q-Q图.png}
		\caption{}
		\label{figure1}
	\end{minipage}%
	\begin{minipage}[t]{0.33\linewidth}
		\centering
		\includegraphics[width=2.6in]{第二组红葡萄酒Q-Q图.png}
		\caption{f2.}
		\label{figure2}
	\end{minipage}
	\begin{minipage}[t]{0.33\linewidth}
		\centering
		\includegraphics[width=2.6in]{第二组红葡萄酒Q-Q图.png}
		\caption{f3.}
		\label{figure3}
	\end{minipage}
\end{figure*}

七、字体问题:

五号字体

\footnotesize
  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

唔~~

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值