当前位置:网站首页>Latex矩阵简单使用
Latex矩阵简单使用
2022-07-28 11:24:00 【华为云】
https://www.bilibili.com/video/BV1Sb411s7cq?p=11跟着视频学习所得
@toc
环境
需要引入宏包\usepackage{amsmath}
简单使用
\documentclass{ctexart}\usepackage{amsmath}\begin{document} \[ %使用中括号引入行间公式 \begin{matrix} 0&1\\ 1&0 \end{matrix} \]\end{document}效果:
没有括号。
==用&分隔列,用//分隔行==
各种定界符(竖线,小括号,中括号……)
\documentclass{ctexart}\usepackage{amsmath}\begin{document} \[ \begin{matrix} %没有括号 0&1\\ 1&0 \end{matrix} \] \[ \begin{pmatrix} %小括号 0&1\\ 1&0 \end{pmatrix} \] \[ \begin{bmatrix} %中括号 0&1\\ 1&0 \end{bmatrix} \] \[ \begin{Bmatrix} %大括号 0&1\\ 1&0 \end{Bmatrix} \] \[ \begin{vmatrix} %单竖线 0&1\\ 1&0 \end{vmatrix} \] \[ \begin{Vmatrix} %双竖线 0&1\\ 1&0 \end{Vmatrix} \]\end{document}效果:
矩阵中的省略号
\[ \begin{bmatrix} %中括号 a_{11} & \dots & a_{1n}\\ & \ddots & \vdots \\ a_{n1} & & a_{nn} \end{bmatrix}_{n \times n} \]效果:
\dots\ddots\vdots
行内小矩阵smallmatrix
%行内小矩阵(smallmatrix) 环境 复数$z=(x,y)$也可用矩阵 \begin{math} \left( %需要手动加上左括号 \begin{smallmatrix} x & -y \\ y & x \end{smallmatrix} \right) %需要手动加上右括号 \end{math}来表示。
边栏推荐
- WebView详解
- Anonymous subclass objects of abstract classes
- SQL注入 Less26(过滤空格和注释符,使用不带空格的报错注入)
- Introduction to the usage of SAP ui5 image display control avatar trial version
- Alexnet - paper analysis and reproduction
- Design process sharing of wireless anti loss alarm based on single chip microcomputer
- 108. Introduction to the usage of SAP ui5 image display control Avatar
- [diary of supplementary questions] [2022 Niuke summer multi school 2] l-link with level editor I
- [pyGame practice] when the end of the world comes, how long can you live in a cruel survival game that really starts from scratch?
- Start from scratch blazor server (2) -- consolidate databases
猜你喜欢

Style conversion model style_ Transformer project instance pytorch implementation

Simple selection sort and heap sort

Hcip (PAP authentication and chap authentication of PPP)

A new mode of one-stop fixed asset management

Docker runs MySQL service

Interpretable ml of Li Hongyi's machine learning model

QT writing IOT management platform 42 data query export print

Modify the running container port mapping

tolua之wrap文件的原理与使用

使用百度飞桨 EasyDL 完成垃圾分类
随机推荐
Image filter from the perspective of convolution
Hcip rip comprehensive experiment
SQL注入 Less26(过滤空格和注释符,使用不带空格的报错注入)
简单选择排序与堆排序
OsCache缓存监控刷新工具
An idea plug-in helps you transform dto, VO, Bo, Po, do gracefully
从0开发一个自己的npm包
Go deadlock - when the channel meets mutex
社区点赞业务缓存设计优化探索
REST风格
Code simplification
ViewPager2+Fragment
Play with poetry - appreciate the beauty of ancient poetry
2022.07.11 summer training personal qualifying (VI)
瑞吉外卖——Day01
Notes on using objectanimator
[极客大挑战 2019]BabySQL-1|SQL注入
[pyGame practice] the super interesting bubble game is coming - may you be childlike and always happy and simple~
Client service registration of Nacos registry
Untiy controls the playback speed of animation