From 9e000b9ec192c314e5531535e0834cdba6cea77a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Tue, 4 Jan 2022 04:40:40 -0300 Subject: [PATCH] Update latex stuff. - add slide template - update links in base template --- tex/.local/bin/create-tex | 4 +++- tex/.local/share/template-slide.tex | 17 +++++++++++++++++ tex/.local/share/template.tex | 5 +++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 tex/.local/share/template-slide.tex diff --git a/tex/.local/bin/create-tex b/tex/.local/bin/create-tex index 13086ec..649b33f 100755 --- a/tex/.local/bin/create-tex +++ b/tex/.local/bin/create-tex @@ -1,4 +1,6 @@ #!/bin/sh +[ -n "$SLIDE" ] && SLIDE=-slide + n="$1" -cp ~/.local/share/template.tex "$n" +cp ~/.local/share/template${SLIDE}.tex "$n" diff --git a/tex/.local/share/template-slide.tex b/tex/.local/share/template-slide.tex new file mode 100644 index 0000000..d1c74d1 --- /dev/null +++ b/tex/.local/share/template-slide.tex @@ -0,0 +1,17 @@ +\documentclass[pdf]{beamer} +% https://web.mit.edu/rsi/www/pdfs/beamer-tutorial.pdf + +\mode{} + +%\title{Title} +%\subtitle{} +%\author{Érico Nogueira Rolim} +%\date{} + +\begin{document} + +\begin{frame} +\titlepage +\end{frame} + +\end{document} diff --git a/tex/.local/share/template.tex b/tex/.local/share/template.tex index f90fd08..eea34eb 100644 --- a/tex/.local/share/template.tex +++ b/tex/.local/share/template.tex @@ -1,6 +1,10 @@ \documentclass[11pt,a4paper]{article} % https://guides.nyu.edu/c.php?g=601858&p=4168138 % https://oeis.org/wiki/List_of_LaTeX_mathematical_symbols +% https://math-linux.com/latex-26/faq/latex-faq/article/latex-derivatives-limits-sums-products-and-integrals +% https://www.math.uci.edu/~xiangwen/pdf/LaTeX-Math-Symbols.pdf +% https://stackoverflow.com/questions/3175105/inserting-code-in-this-latex-document-with-indentation +% https://ctan.dcc.uchile.cl/fonts/amsfonts/doc/amsfndoc.pdf %\title{Title} %\author{Érico Nogueira Rolim} @@ -8,6 +12,7 @@ \usepackage[margin=2cm]{geometry} %\usepackage{amsmath} +%\usepackage{amsfonts} % https://guides.nyu.edu/c.php?g=601858&p=4168138 \newcommand{\question}[2][]{\begin{flushleft}