You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-4Lines changed: 27 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# iiit-notebook
2
2
3
3
iiit-notebook is a public repository of notes taken by students of IIIT Hyderabad.
4
-
The website itself is completely static, generated using Jekyll, and made by Pratyaksh Gautam.
4
+
The website itself is completely static, generated using Jekyll.
5
5
6
6
## Features
7
7
@@ -12,9 +12,8 @@ The site has support for various features to improve note-taking such as
12
12
13
13
+ Syntax highlighting for code using Rouge,
14
14
<pre>
15
-
```language-name
16
-
insert code here
17
-
15
+
```c
16
+
printf("Hello, world!\n");
18
17
```
19
18
</pre>
20
19
+ Graphs written in mermaid-js, simply by writing the code in a `mermaid` code block.
@@ -42,6 +41,30 @@ number: 1
42
41
43
42
After that, you can add, commit and push your repo, and then make a PR to merge your changes.
44
43
44
+
### Compatibility between `pandoc` and `jekyll`
45
+
46
+
The website itself uses jekyll, but the PDF's rendered by `pandoc` generally look better and are more preferable, however not everything is perfectly compatible between the two, especially in math mode.
47
+
When writing your notes keep the following things in mind:
48
+
49
+
1. If you need to have pipe symbols (`\|`) or curly brackets (`\{`), not only should you escape them as shown here, but also nest them in a `div`. If you don't do this jekyll (the site) probably won't render it properly.
50
+
For inline math: `<div>$S = \{a, b\}$</div>`
51
+
For display math:
52
+
```
53
+
<div>
54
+
$$f(x) = \|2 \times x + 1\|$$
55
+
</div>
56
+
```
57
+
58
+
2.`pandoc` doesn't take kindly to spacing in between math mode delimiiters.
59
+
This works:
60
+
```
61
+
$\frac{a}{b}$
62
+
```
63
+
This might not:
64
+
```
65
+
$ \frac{a}{b} $
66
+
```
67
+
45
68
### Courses
46
69
47
70
Sometimes you might be the first person to write notes for a certain course, and as a result, the course itself will not exist as part of the website.
Consider the function $f_{a}: S \rightarrow S$, defined as $f_{a}(x) = a \cdot x$. If it is invertible, then the equation would have a unique solution. Its range is:
31
-
<div> $ S_{a_{L}} = \{a \cdot x | x \in S \} $ </div>
31
+
<div>$S_{a_{L}} = \{a \cdot x | x \in S \}$</div>
32
32
33
33
By closure, $S_{a_{L}} \subseteq S$. If $\|S_{a_{L}}\| < \|S\|$, then (by PHP), $a \cdot x_{1} = a \cdot x_{2}, x_{1} \neq x_{2}$ for some $x_{1},x_{2} \in S$ (*i.e.*, $f_{a}$ is many-one). However, $a$ is left-cancellative; hence $x_{1} = x_{2}$ and $f_{a}$ is one-one. This is a contradiction – hence $\|S_{a_{L}}\| = \|S\|$ and $S_{a_{L}} = S$.
34
34
@@ -56,14 +56,14 @@ Note: The crucial step in (i) was the proof of surjectivity. The reverse implica
| Group | Closure, Associativity, E. of Inverse, E. of Identity | $\langle \mathbb{Z_{n}}, \times_{n} \rangle$ | $\langle \mathbb{N}, \div \rangle$ |
59
+
| Group | Closure, Associativity, E. of Inverse, E. of Identity | $\langle \mathbb{Z}_{n}, \times_{n} \rangle$ | $\langle \mathbb{N}, \div \rangle$ |
60
60
61
-
[^1]: $\mathbb{V}_{2}$ = set of all vectors in the plane (non-standard notation); $\times$ = cross product
61
+
[^1]:
62
+
$\mathbb{V}_{2}$ = set of all vectors in the plane (non-standard notation); $\times$ = cross product
62
63
63
64
Note that (i) all semigroups, monoids, quasigroups and groups are groupoids, (ii) all monoids and groups are semigroups, and (iii) all groups are groupoids, semigroups, quasigroups and monoids.
64
65
65
66
A semigroup or monoid is said to be *cyclic* if all its elements can be obtained from one of its elements by repeated application of the operation. Formally, for a system $\langle S, \cdot \rangle$, $\exists s \in S$ such that S can be written as
0 commit comments