Skip to content

Instantly share code, notes, and snippets.

@joshofreeness
Created August 24, 2015 04:20
Show Gist options
  • Save joshofreeness/8bb204ca9df03f839e6b to your computer and use it in GitHub Desktop.
Save joshofreeness/8bb204ca9df03f839e6b to your computer and use it in GitHub Desktop.
#!/bin/bash
BODY="`wget -qO- https://lastminuterol.appspot.com`"
echo "Input first and last name:"
read user_Name
echo "Input UPI:"
read user_UPI
echo "Input student ID:"
read user_ID
echo $BODY
echo "\documentclass[12pt]{article}
\usepackage[a4paper,margin=1in]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
\rhead{$user_Name, $user_UPI, $user_ID}
\lhead{\today}
\usepackage{setspace}
\usepackage{lipsum}
\begin{document}
\onehalfspacing
\section*{ENGGEN 403 - Reflection on learning}
$BODY
\end{document}" > lastmin_rol.tex
pdflatex lastmin_rol.tex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment