Skip to content

Commit c7ff95a

Browse files
authored
Update good-practice.md
1 parent 48def5b commit c7ff95a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/teacher/guides/good-practice.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Live preview instantly renders a student's input. This is very useful for long/c
7272

7373
## Latex help
7474

75-
1. Use \begin{array} to generate compact table
75+
1. Use `\begin{array}` to generate compact table
7676
i.e
7777
```
7878
\begin{array}{|c|c|}
@@ -86,15 +86,15 @@ i.e
8686
\end{array}
8787
```
8888

89-
![Image showing a example of a table](images/images.png)
89+
![Image showing a example of a table](images/table.png)
9090

9191
2. Use `\begin{aligned}` to keep your working formatted nicely
9292
```
93-
\begin{array}{ll}
93+
\begin{aligned}
9494
M_{d e f} &=\dfrac{1}{2}(M+M^T)\\
9595
& =\dfrac{1}{2} \begin{pmatrix} 4 & 14\\ -6 & -11 \end{pmatrix}+\begin{pmatrix} 4 & -6\\ 14 & -11 \end{pmatrix}\\
9696
& =\begin{pmatrix} 4 & 4\\ 4 & -11 \end{pmatrix}
97-
\end{array}
97+
\end{aligned}
9898
```
9999

100100
![Image showing a example of a algined working](images/aligned.png)
@@ -109,4 +109,4 @@ f(x)=\left (\frac{(\cos (x) -x) + i(\sin (x) - x)}{wi} \right)
109109

110110
This also works for `[ ]` and `\{ \}`
111111

112-
4. Use `\sin`, `\cos` etc... if you are too lazy to write out `\text{sin }` everytime in equation mode.
112+
4. Use `\sin`, `\cos`, etc. as a shortcut for `\text{sin }`, `\text{cos }`, etc.

0 commit comments

Comments
 (0)