This is my LaTeX template that I use for writing cheat sheets and summaries. If you make use of this template please include the copyright file. Feel free to star my project if you like it. Currently it is used as submodule but I am planning on creating a proper package.
Copyright (c) 2017 [Georg R. Pollak] https://github.com/grpollak/formularyETH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice, the creator of the formuary package G.R. Pollak and this permission notice shall be included in all copies or substantial portions of the Software.
- mkdir formularyFolder
- git init
- git submodule add [email protected]:grpollak/formularyETH.git
- chmod 0700 formularyETH/makeFormulary.sh
- formularyETH/makeFormulary.sh [-pr -b -c -g -m -py -l] <Optional Name>
- Note: option -pr creates a .projectile emacs project file
- Note: option -py adds python formulary as submodule
- Note: option -m adds math formulary as submodule
- Note: option -c adds cpp formulary as submodule
- Note: option -g adds git formulary as submodule
- Note: option -b adds bash formulary as submodule
- Note: option -ml adds machine learning formulary as submodule
- Note: option -dl adds deep learning formulary as submodule
- Note: option -l adds latex formulary as submodule
When writing a new e.g. myformulary.tex, myformulary.tex should be on the same level as the folder formularyETH. Within myformulary.tex you always need to define the document class formularyETH
\documentclass[fourColumns]{formularyETH/formularyETH}
Further packages that are highly recommended to be included are:
\usepackage{formularyETH/formularyETH_GeneralPackages}
\usepackage{formularyETH/formularyETH_underline}
\usepackage{formularyETH/extern/formularyETH_scientific}
\usepackage{formularyETH/extern/formularyETH_tikz}
\usepackage{formularyETH/extern/formularyETH_algorithms}
\tcbuselibrary{minted}
\usepackage{formularyMacros}
Your own Macros should be included into formularyMacros
- forumulary/
- formularyETH/
- myformulary.tex
- src/
- mych1.tex
- mych2.tex
- figures/
The idea of the formulary is to stack boxes of different kinds together e.g.
\begin{mybox}
\begin{theorem}
...
\end{theorem}
\begin{defn}
...
\end{defn}
\end{mybox}
\begin{anotherBox}[Optional Tilte] % Not for all boxes
...
\end{anotherbox}
The main box is usually the sectionbox. Inside the boxes usually theorems (theorem), definitions (defn), lemmas (lemma), proof (proof) are used.
cd ~/.ssh
# Create new key (will promt for filename)
ssh-keygen -t rsa -C "[email protected]"
# Print key
cat ~/.ssh/id_rsa.pub
# Copy key to remote server if necessary (into .ssh/authorized_keys)
ssh-copy-id -i ~/.ssh/private_key username@host
Afterwards just past public key into SSH Keys under profile preferences.