Adjusted latexmk defaults.
Fixed clang-format.
Added .gitignore.