diff --git a/config/_default/config.yaml b/config/_default/config.yaml
index 285b2bb..069fe2d 100644
--- a/config/_default/config.yaml
+++ b/config/_default/config.yaml
@@ -24,7 +24,7 @@ hasCJKLanguage: false # Set `true` for Chinese/Japanese/Korean.
defaultContentLanguageInSubdir: false
# Uncomment for google analytics
-# googleAnalytics: UA-123-45
+googleAnalytics: G-PGR106E0B5
markup:
# Do not modify markup.highlight
diff --git a/config/_default/params.yaml b/config/_default/params.yaml
index 9517840..136f28a 100644
--- a/config/_default/params.yaml
+++ b/config/_default/params.yaml
@@ -15,7 +15,7 @@ colorScheme:
style:
# E.g. Person, Organization, LocalBusiness, Project, EducationalOrganization
-siteType: Person
+siteType: Hobby
icon: garfield.jpg
publisherName: Awin Huang
publisherLogo: garfield.jpg
diff --git a/content/posts/TEX語法小記/index.md b/content/posts/TEX語法小記/index.md
index 6852022..53be112 100644
--- a/content/posts/TEX語法小記/index.md
+++ b/content/posts/TEX語法小記/index.md
@@ -20,6 +20,9 @@ enableComment: true
---
最近需要在[notion.so](https://www.notion.so/)記一些公式,所以記錄一下TEX的寫法以供日後查詢。
+
+
+
notion有支援TEX,但是只能是一個段落,不能寫在行內,不過看notion的blog有說不久的將來會新增,這點可以期待一下。
方法很簡單,使用`/math`就可以建立一個section。唯一要注意的是不需要輸入TEX開頭與結尾的`$$`符號(或是`\(`與`\)`符號)。
以下記錄一些我有用到的。
@@ -115,14 +118,18 @@ notion有支援TEX,但是只能是一個段落,不能寫在行內,不過
例如: `\Bigg(\bigg(\Big(\big((a+b)+c\big)+d\Big)+e\bigg)+f\Bigg)`表示$\Bigg(\bigg(\Big(\big((a+b)+c\big)+d\Big)+e\bigg)+f\Bigg)$
## **矩陣**
-用`\begin{bmatrix}`與`\end{bmatrix}`包起來,其中的行列用`\\`來換行。
-`\begin{bmatrix}a & b & c\\d & e & f\end{bmatrix}`表示\begin{bmatrix}a & b & c\\d & e & f\end{bmatrix}
+用`\begin{bmatrix}`與`\end{bmatrix}`包起來,其中的行列用`\\`來換行。
+`\begin{bmatrix}a & b & c\\d & e & f\end{bmatrix}`表示$\\begin{bmatrix}a & b & c\\\\d & e & f\\end{bmatrix}$
或用pmatrix來產生括弧的矩陣:
-`\begin{pmatrix}a & b & c\\d & e & f\end{pmatrix}`表示\begin{pmatrix}a & b & c\\d & e & f\end{pmatrix}
+`\begin{pmatrix}a & b & c\\d & e & f\end{pmatrix}`表示$\\begin{pmatrix}a & b & c\\\\d & e & f\\end{pmatrix}$
## **對齊**
使用`\begin{align}`與`\end{align}`,其中上下行需要對齊的字元後面加上`&`。
-`\begin{align}y=a&+b+c+\\d&+e+f\end{align}`表示\begin{align}y=a&+b+c+\\d&+e+f\end{align}
+`\begin{align}y=a&+b+c+\\d&+e+f\end{align}`表示
+
+\\[
+\\begin{align}y=a&+b+c+\\\\d&+e+f\\end{align}
+\\]
由於是`a&`與`d&`,可以看到a與d對齊了。