File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1
1
# programmingCheatSheet
2
2
A CheatSheet for programming contests
3
+
4
+ ## How to build
5
+ ** Requirements** :
6
+ * ` make `
7
+ * ` python `
8
+ * ` pdflatex `
9
+
10
+ To build the pdf run: ` make ` or ` make pdf `
11
+
12
+ ## How to extend
13
+ To add other code snippets, add them to the ` algorithms ` -directory. A code snippet is as follows:
14
+ ~~~
15
+ # Title of the code snippet
16
+ ## Extra explanations or text that will be visible in between the title and code
17
+ ## Can be of arbitrary length and full LaTeX-syntax supported
18
+ def something():
19
+ pass
20
+ ~~~
21
+
22
+ In the document this will become:
23
+ ~~~
24
+ \subsection*{Title of the code snippet}
25
+ Extra explanations or text that will be visible in between the title and code
26
+ Can be of arbitrary length and full LaTeX-syntax supported
27
+ \begin{lstlisting}[language=python]
28
+ def something():
29
+ pass
30
+ \end{lstlisting}
31
+ ~~~
You can’t perform that action at this time.
0 commit comments