LaTeX 新手笔记(数学建模)

LaTeX

在这里做一个方便使用latex的实用笔记

文字操作

加粗\textbf{}
斜体\textit{}
下划线\underline{}
换行符号\
空格\

章节操作

由小到大

三级章节\subsubsection
子章节\subsection
章节\section
chapter\chapter
part\part

图片操作

  • 先引入包 \usepackage{graphicx}

  • 插入图片(可省略扩展名)

    \includegraphics[width = 0.5\textwidth]{file_name}

    给图片添加标题+居中显示

    \begin{figure}
    \centering
    \includegraphics[width = 0.5\textwidth]{file_name}
    \caption{this is a picture}
    \end{figure}
    

列表操作

无序列表

\begin{itemize}
\item 列表项
\end{itemize}

有序列表

\begin{enumerate}
\item 列表项
\end{enumerate}

表格

\begin{table}
\center
\begin{tabular}
{l c c} 左对齐
{r c c} 右对齐
{|c|c|c|} 为表格添加竖直边框
{|p{2cm}|c|c|} 设置列宽
\hline 横向边框
单元格1 & 单元格2 & 单元格3\\
\hline 
单元格1 & 单元格2 & 单元格3\\
\hline
\end{tabular}
\caption{this is a table}
\end{table}

数学公式操作

行内公式

$E=Mc^2$

行间公式

\begin{equation}
E=Mc^2
\end{equation}
or
\[
E=Mc^2
\]

常用公式表达速查

分数表示{}\over{} \frac{}{}
大括号表示\begin{cases} \end{cases}
大于等于\ge
小于等于\le
点乘\cdot
公式与限制条件空格\hspace{5mm}

常用数学符号速查

a ^ \hat{a} a^\hat{a}
a ˇ \check{a} aˇ\check{a}
a ~ \tilde{a} a~\tilde{a}
a ˋ \grave{a} aˋ\grave{a}
a ˙ \dot{a} a˙\dot{a}
a ¨ \ddot{a} a¨\ddot{a}
a ˉ \bar{a} aˉ\bar{a}
a ⃗ \vec{a} a \vec{a}
A ^ \widehat{A} A \widehat{A}
a ˊ \acute{a} aˊ\acute{a}
a ˘ \breve{a} a˘\breve{a}
A ~ \widetilde{A} A \widetilde{A}

请添加图片描述

一份不太简短的LaTeX 2 ε \varepsilon ε 介绍

链接: https://pan.baidu.com/s/1B3yWIaqiFK3SUgfSX9oe2Q 提取码: aah6

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

-RN.

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

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

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

打赏作者

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

抵扣说明:

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

余额充值