Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8afd5cc

Browse files
committed
2 parents 201bafb + 0cbd281 commit 8afd5cc

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,31 @@
11
# programmingCheatSheet
22
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+
~~~

0 commit comments

Comments
 (0)