Skip to content

Instantly share code, notes, and snippets.

@stormvirux
Forked from pluskid/report-template.tex
Created December 29, 2019 12:38
Show Gist options
  • Save stormvirux/3bd9a334acf09d87edde7715ad3c78e4 to your computer and use it in GitHub Desktop.
Save stormvirux/3bd9a334acf09d87edde7715ad3c78e4 to your computer and use it in GitHub Desktop.

Revisions

  1. @pluskid pluskid revised this gist Oct 24, 2018. 1 changed file with 20 additions and 1 deletion.
    21 changes: 20 additions & 1 deletion report-template.tex
    Original file line number Diff line number Diff line change
    @@ -10,9 +10,28 @@
    % Useful packages
    \usepackage{mathtools}
    \usepackage{amssymb,bm,bbold}
    \usepackage[colorlinks=true]{hyperref}
    \usepackage{enumerate}

    %--------------------------------------------------------------------
    % Hyper ref
    \usepackage[dvipsnames]{xcolor}
    \usepackage{hyperref}
    \usepackage{cleveref}

    \newcommand\myshade{90}
    \colorlet{mylinkcolor}{NavyBlue}
    \colorlet{mycitecolor}{Aquamarine}
    \colorlet{myurlcolor}{Aquamarine}

    \hypersetup{
    linkcolor = mylinkcolor!\myshade!black,
    citecolor = mycitecolor!\myshade!black,
    urlcolor = myurlcolor!\myshade!black,
    colorlinks = true,
    }

    %--------------------------------------------------------------------
    % Bibliography
    \usepackage[]{natbib}
    \bibliographystyle{chicago}

  2. @pluskid pluskid revised this gist Oct 11, 2018. 1 changed file with 5 additions and 7 deletions.
    12 changes: 5 additions & 7 deletions report-template.tex
    Original file line number Diff line number Diff line change
    @@ -52,17 +52,15 @@

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % Typography, change document font
    \usepackage[scaled=.95]{gentium}
    \usepackage{textcomp}
    \usepackage[tt=false, type1=true]{libertine}
    \usepackage[varqu]{zi4}
    \usepackage[libertine]{newtxmath}
    \usepackage[T1]{fontenc}
    \usepackage{cabin}
    \usepackage[varqu,varl]{inconsolata}
    \usepackage{amsmath,amsthm}
    \usepackage[libertine,bigdelims,vvarbb]{newtxmath}
    \usepackage[cal=boondoxo]{mathalfa}

    \usepackage[protrusion=true,expansion=true]{microtype}

    % Disable paragraph indentation, and increase gap
    \usepackage{parskip}


    \title{Title}
  3. @pluskid pluskid revised this gist May 5, 2016. 1 changed file with 16 additions and 7 deletions.
    23 changes: 16 additions & 7 deletions report-template.tex
    Original file line number Diff line number Diff line change
    @@ -42,20 +42,29 @@
    \newcommand{\RR}{\mathbb{R}}
    \newcommand{\EE}{\mathbb{E}}
    \newcommand{\PP}{\mathbb{P}}
    \newcommand{\LL}{\mathcal{L}}

    \newcommand{\TODO}{\textbf{\textsf{TODO}}}
    \newcommand{\sL}{\mathcal{L}}
    \newcommand{\sX}{\mathcal{X}}
    \newcommand{\sY}{\mathcal{Y}}

    \newcommand{\ind}{\mathbb{1}}


    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % Typography, change document font
    %\usepackage[libertine,cmintegrals,cmbraces,vvarbb]{newtxmath}
    %\usepackage[scaled=0.95]{inconsolata}
    \usepackage{lmodern}
    \usepackage{charter}
    \usepackage[scaled=0.95]{inconsolata}
    \usepackage[scaled=.95]{gentium}
    \usepackage{textcomp}
    \usepackage[T1]{fontenc}
    \usepackage{cabin}
    \usepackage[varqu,varl]{inconsolata}
    \usepackage{amsmath,amsthm}
    \usepackage[libertine,bigdelims,vvarbb]{newtxmath}
    \usepackage[cal=boondoxo]{mathalfa}

    \usepackage[protrusion=true,expansion=true]{microtype}



    \title{Title}
    \author{pluskid}

  4. @pluskid pluskid revised this gist Mar 4, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions report-template.tex
    Original file line number Diff line number Diff line change
    @@ -54,6 +54,8 @@
    \usepackage{charter}
    \usepackage[scaled=0.95]{inconsolata}

    \usepackage[protrusion=true,expansion=true]{microtype}

    \title{Title}
    \author{pluskid}

  5. @pluskid pluskid revised this gist Dec 18, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion report-template.tex
    Original file line number Diff line number Diff line change
    @@ -13,6 +13,9 @@
    \usepackage[colorlinks=true]{hyperref}
    \usepackage{enumerate}

    \usepackage[]{natbib}
    \bibliographystyle{chicago}

    %=================================
    % pre-defined theorem environments
    \usepackage{amsthm}
    @@ -59,7 +62,6 @@

    \tableofcontents

    \bibliographystyle{alpha}
    %\bibliography{bibfile}

    \end{document}
  6. @pluskid pluskid revised this gist Sep 17, 2015. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions report-template.tex
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % Useful packages
    \usepackage{mathtools}
    \usepackage{amssymb}
    \usepackage{amssymb,bm,bbold}
    \usepackage[colorlinks=true]{hyperref}
    \usepackage{enumerate}

    @@ -45,7 +45,10 @@

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % Typography, change document font
    \usepackage[libertine,cmintegrals,cmbraces,vvarbb]{newtxmath}
    %\usepackage[libertine,cmintegrals,cmbraces,vvarbb]{newtxmath}
    %\usepackage[scaled=0.95]{inconsolata}
    \usepackage{lmodern}
    \usepackage{charter}
    \usepackage[scaled=0.95]{inconsolata}

    \title{Title}
  7. @pluskid pluskid revised this gist Mar 26, 2015. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions report-template.tex
    Original file line number Diff line number Diff line change
    @@ -30,6 +30,9 @@
    \DeclareMathOperator*{\argmax}{arg\,max}
    \DeclareMathOperator*{\supp}{supp}

    \def\vec#1{{\ensuremath{\bm{{#1}}}}}
    \def\mat#1{\vec{#1}}

    %=================================
    % convenient notations
    \newcommand{\XX}{\mathbb{X}}
  8. @pluskid pluskid created this gist Mar 20, 2015.
    59 changes: 59 additions & 0 deletions report-template.tex
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,59 @@
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % Use the koma-script document style
    \documentclass{scrbook}
    \KOMAoptions{twoside=false} % disable two-side formatting for scrbook
    % alternatively, for shorter essay, use the following
    % \documentclass{scrartcl}
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % Useful packages
    \usepackage{mathtools}
    \usepackage{amssymb}
    \usepackage[colorlinks=true]{hyperref}
    \usepackage{enumerate}

    %=================================
    % pre-defined theorem environments
    \usepackage{amsthm}
    \newtheorem{theorem}{Theorem}
    \newtheorem{lemma}{Lemma}
    \newtheorem{proposition}{Proposition}
    \newtheorem{corollary}{Corollary}
    \newtheorem{definition}{Definition}
    \newtheorem*{remark}{Remark}
    \newtheorem*{assumption}{Assumption}

    %=================================
    % useful commands
    \DeclareMathOperator*{\argmin}{arg\,min}
    \DeclareMathOperator*{\argmax}{arg\,max}
    \DeclareMathOperator*{\supp}{supp}

    %=================================
    % convenient notations
    \newcommand{\XX}{\mathbb{X}}
    \newcommand{\RR}{\mathbb{R}}
    \newcommand{\EE}{\mathbb{E}}
    \newcommand{\PP}{\mathbb{P}}
    \newcommand{\LL}{\mathcal{L}}

    \newcommand{\TODO}{\textbf{\textsf{TODO}}}

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % Typography, change document font
    \usepackage[libertine,cmintegrals,cmbraces,vvarbb]{newtxmath}
    \usepackage[scaled=0.95]{inconsolata}

    \title{Title}
    \author{pluskid}

    \begin{document}
    \maketitle

    \tableofcontents

    \bibliographystyle{alpha}
    %\bibliography{bibfile}

    \end{document}