diff --git a/main.tex b/main.tex index 4d81c9e..7231149 100644 --- a/main.tex +++ b/main.tex @@ -1,5 +1,7 @@ % Declare Document Class -\documentclass[a4paper,12pt,twoside]{book} +\documentclass[a4paper,12pt,twoside,twocolumn]{book} + +\setlength{\columnsep}{2em} % Latex Packages \usepackage[T1]{fontenc} @@ -13,6 +15,7 @@ \usepackage[english]{babel} \usepackage{fancyhdr} \usepackage{wrapfig} +\usepackage{array} % Define color \definecolor{codegreen}{rgb}{0,0.6,0} @@ -46,21 +49,21 @@ \graphicspath{{img/}{figures/}} % Custom commands -% Usage: \pic[]{} -\newcommand{\pic}[2][25]{ +% Usage: \pic[]{} +\newcommand{\pic}[2][50]{ \begin{center} \transparent{0.4} - \includegraphics[width=0.#1\textwidth]{#2} + \includegraphics[width=0.#1\columnwidth]{#2} \end{center} } -% Usage: \rfig{}{