LaTex公式中的省略号有以下几种:
类型 | LaTex | 效果 |
---|---|---|
横向底部省略号 | \ldots |
\(\ldots\) |
横向中部省略号 | \cdots |
\(\cdots\) |
竖向省略号 | \vdots |
\(\vdots\) |
斜向省略号 | \ddots |
\(\ddots\) |
反斜向省略号 | ⋰ (unicode字符) |
\(⋰\) |
反对角线省略号目前没有默认的的LaTex命令,不追求效果的话,直接复制unicode字符⋰
就行或\unicode{x22f0}
。
但有支持的包mathdots,使用该包,可以通过\iddot
输入反对角线省略号,以及字母上方省略号等。
用法
\documentclass{article}
\usepackage{mathdots}
\begin{document}
$\iddot$
\end{document}
mathdots的一些效果:
$$
\begin{bmatrix}
-10 & -20 & 15 & 20 & -15 & -20 \\
22 & -10 & \cdots & \cdots & -10 & -15 \\
-11 & -10 & \cdots & \cdots & -10 & -10 \\
-10 & -10 & \cdots & \cdots & -10 & -10 \\
\vdots & \vdots & \ddots & & \vdots & \vdots \\
\vdots & \vdots & & \ddots & \vdots & \vdots \\
-10 & 10 & \cdots & \cdots & -10 & -10 \\
-10 & 10 & \cdots & \cdots & -10 & -10 \\
11 & 10 & \cdots & \cdots & -10 & -20 \\
-20 & -11 & -10 & -1 & -20 & -10
\end{bmatrix}
$$