今后使用latex進行公式推導及論文寫作,通過學習太示,總結(jié)出了適合自己用的模板香拉。
以下是公式推導部分可用代碼祭务,可能復(fù)制粘貼有未發(fā)現(xiàn)的錯誤,供參考丁溅。
\documentclass[UTF8]{ctexart}
\usepackage{amsmath} %數(shù)學公式
\usepackage[top=3cm,bottom=2cm,left=2cm,right=2cm]{geometry} % 頁邊距
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{longtable} %長表格
\usepackage{graphicx} %圖片
\usepackage{tikz} %畫圖
\usepackage{CJK,CJKnumb,CJKulem} % 中文支持宏包
%根據(jù)需要自行添加宏
\title{\textbf{公式推導} } %———總標題,粗體
\begin{document}
\maketitle % —— 顯示標題
%\tableofcontents %—— 制作目錄(目錄是根據(jù)標題自動生成的)
% \section{Hello China} %——一號子標題 China is in East Asia.
% \subsection{Hello Beijing} %——二號子標題 Beijing is the capital of China.
% \subsubsection{Hello Dongcheng District} %——三號子標題
% \paragraph{Tian'anmen Square}is in the center of Beijing
% \subparagraph{Chairman Mao} is in the center of Tian'anmen Square
% \subsection{Hello Guangzhou}
%\paragraph{Sun Yat-sen University} is the best university in Guangzhou.
%example1
%公式
貝葉斯公式
\begin{equation}
p(y|\mathbf{x}) = \frac{p(\mathbf{x},y)}{p(\mathbf{x})}=
\frac{p(\mathbf{x}|y)p(y)}{p(\mathbf{x})}
\end{equation}
\%\為換行符
\begin{equation}
p(y|\mathbf{x}) = \frac{p(\mathbf{x},y)}{p(\mathbf{x})}=
\frac{p(\mathbf{x}|y)p(y)}{p(\mathbf{x})}
\end{equation}
\%多行公式
\begin{multline}
\int_ab\biggl{\int_ab[f(x)2g(y)2+f(y)2g(x)2]
-2f(x)g(x)f(y)g(y),dx\biggr},dy \
=\int_ab\biggl{g(y)2\int_abf2+f(y)^2
\int_a^b g2-2f(y)g(y)\int_ab fg\biggr},dy
\end{multline}
% α \alpha θ \theta o o τ\tau β \beta ? \vartheta π \pi υ \upsilonγ \gamma ι \iota \alpha
\sum_{i=1}^n i \prod_{i=1}^n \lim_{x\to0}x^2 \int_a^b x^2 dx\
\sum_{i=1}^n i \prod_{i=1}^n \lim_{x\to0}x^2 \int_a^b x^2 dx\
\iiint_a^b x^2 dx\ $
\end{document}
Latex1
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
- 文/潘曉璐 我一進店門塌衰,熙熙樓的掌柜王于貴愁眉苦臉地迎上來诉稍,“玉大人蝠嘉,你說我怎么就攤上這事最疆。” “怎么了蚤告?”我有些...
- 文/不壞的土叔 我叫張陵努酸,是天一觀的道長。 經(jīng)常有香客問我杜恰,道長获诈,這世上最難降的妖魔是什么? 我笑而不...
- 正文 為了忘掉前任心褐,我火速辦了婚禮舔涎,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘逗爹。我一直安慰自己亡嫌,他們只是感情好,可當我...
- 文/花漫 我一把揭開白布掘而。 她就那樣靜靜地躺著挟冠,像睡著了一般。 火紅的嫁衣襯著肌膚如雪袍睡。 梳的紋絲不亂的頭發(fā)上知染,一...
- 文/蒼蘭香墨 我猛地睜開眼覆山,長吁一口氣:“原來是場噩夢啊……” “哼竹伸!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起簇宽,我...
- 正文 年R本政府宣布趾盐,位于F島的核電站,受9級特大地震影響小腊,放射性物質(zhì)發(fā)生泄漏救鲤。R本人自食惡果不足惜,卻給世界環(huán)境...
- 文/蒙蒙 一秩冈、第九天 我趴在偏房一處隱蔽的房頂上張望本缠。 院中可真熱鬧,春花似錦入问、人聲如沸丹锹。這莊子的主人今日做“春日...
- 文/蒼蘭香墨 我抬頭看了看天上的太陽卷仑。三九已至,卻和暖如春麸折,著一層夾襖步出監(jiān)牢的瞬間锡凝,已是汗流浹背。 一陣腳步聲響...
推薦閱讀更多精彩內(nèi)容
- # Basics ## Standard notations- Variable: $X$ (uppercase ...