diff --git a/bibliography.bib b/bibliography.bib new file mode 100644 index 0000000..3367e68 --- /dev/null +++ b/bibliography.bib @@ -0,0 +1,7 @@ +@book{knuth1997art, + title = {The Art of Computer Programming}, + author = {Donald E. Knuth}, + publisher = {Addison Wesley}, + year = {1997}, + edition = {3.}, +} diff --git a/main.tex b/main.tex new file mode 100644 index 0000000..228d7d9 --- /dev/null +++ b/main.tex @@ -0,0 +1,36 @@ +\documentclass[a4paper,11pt]{article} +\usepackage[utf8]{inputenc} +\usepackage[style=ieee]{biblatex} +\usepackage{amsmath, amssymb, amsthm} +\usepackage{hyperref} +\usepackage[capitalize]{cleveref} + +\newcommand{\IM}{i} % change i with j for electrical engineering +\newcommand{\EXP}[1]{e^{#1}} % comment for \exp instead of e^{} +% \newcommand{\EXP}[1]{\exp\left(#1\right)} % and uncomment for \exp + +\title{Title} +\author{Name Surname} +\date{\today} +\bibliography{bibliography} +\hypersetup{ + colorlinks=true, + linkcolor=red, + urlcolor=blue, + citecolor=green, +} + +\begin{document} +\maketitle + +\section{Dummy Section} +This is a dummy section with an inline equation \(F = ma\), a set of +aligned mathematical identities in~\cref{eq:general,eq:special}, and +a book reference of~\autocite{knuth1997art}. +\begin{align} + \EXP{\IM\theta} & = \cos(\theta)+\IM\sin(\theta)~\label{eq:general} \\ + 1 + \EXP{\IM\pi} & = 0~\label{eq:special} +\end{align} + +\printbibliography{} +\end{document}