当前位置:网站首页>KAtex problem - the style of equal sign alignment in CSDN editing
KAtex problem - the style of equal sign alignment in CSDN editing
2022-06-10 14:25:00 【Fanyi】
problem
Use CSDN Of "LaTeX" The grammar of I can't print the style of equal sign alignment ( The following figure shows the style you want ):
Problem analysis
What's written here is LaTex The mathematical formula , But open the document link below , Open is KaTeX Its official website 
KaTeX It's a Web Mathematical formula render , Part of the grammar may be related to LaTeX It's a little different , For example, the equal sign line feed I want here has a different effect on it 
Problem solving
① CSDN First use $$ Enclose the mathematical formula you want to enter
$$ Content $$
② After use \begin{aligned} And \end{aligned} Enclose the contents to be output in multiple lines
$$
\begin{
aligned}
The mathematical formula
\end{
aligned}
$$
③ Input mathematical formula , Use \\ Line break , Use & Control of equal sign position alignment .
$$
\begin{
aligned}
d_{
AB}
&=\sqrt{
(6-2)^2+(6-2)^2}\\
&=\sqrt{
4^2+4^2}\\
&= 4\sqrt{
2}
\end{
aligned}
$$
& =That is to say, let the equal sign be in the same position .
The effect is as follows :
d A B = ( 6 − 2 ) 2 + ( 6 − 2 ) 2 = 4 2 + 4 2 = 4 2 \begin{aligned} d_{AB} &=\sqrt{(6-2)^2+(6-2)^2}\\ &=\sqrt{4^2+4^2}\\ &= 4\sqrt{2} \end{aligned} dAB=(6−2)2+(6−2)2=42+42=42
For more information, please refer to the following links :https://katex.org/docs/supported.html
边栏推荐
- 还在说大学排名是笑话?最新规定:世界top50大学可以直接落户上海!
- Allan方差与随机误差辨识
- 利用 GDB 快速阅读 postgresql 的内核代码
- Design tools and skills for beginners to build their own blog
- How to write a global notice component?
- Microsoft Word 教程,如何在 Word 中更改页边距、创建新闻稿栏?
- Kotlin bubbling algorithm, Gaud map filters out the data whose distance between two points is less than 50, and does not repeat the display
- 【Vue/js】通过localStorage浏览器实现变量和对象的本地缓存(图文+完整源代码)
- Cell asynchronously invokes method change records
- Primary master-slave table integration process development process
猜你喜欢

大厂面试上午10:00面试,10:09就出来了 ,问的实在是太...

【LogoDetection 数据集处理】(3)将训练集按照类别划分为多个文件夹

【離散數學期複習系列】二、一階邏輯(謂詞邏輯)

C#多线程学习笔记三

Basic concept of data warehouse

几种方式可以实现 JMeter 参数化?

STM8S103f单片机的开发(1)LED灯的点亮

Review summary of final examination of software architecture principles, methods and practices, Second Edition

Still saying that university rankings are a joke? The latest regulation: Top50 universities in the world can be directly settled in Shanghai!

Flutter Listview, Column, Row学习个人总结2
随机推荐
[Discrete Mathematical period Review Series] Second and first order Logic (precate Logic)
LeetCode_20(括号匹配)
C multithreading learning note 4
ScrollView 初始化的时候不在最顶部?
Operation of simulated examination platform for theoretical question bank of refrigeration and air conditioning equipment operation in 2022
几种方式可以实现 JMeter 参数化?
微信小程序 日期比较,计算天数
Flutter Icon Stack LIsttitle...学习总结3
UE5如何将屏幕坐标转为世界坐标和世界方向
大厂面试上午10:00面试,10:09就出来了 ,问的实在是太...
如何写一个全局的 Notice 组件?
【解决】每次加载已经训练好的模型,生成的向量会有不同
Shutter wrap button bottomnavigationbar learning summary 4
为doc2vec生成训练向量的数据集
二叉树和图1
什么是CAS 以及 CAS 中的 ABA 问题
The interview at the big factory was held at 10:00 a.m. and came out at 10:09 a.m. the question was really too
Flutter listview, column, row learning personal summary 2
UE5如何將屏幕坐標轉為世界坐標和世界方向
WordPress的管理员用户名是如何泄露的