GroupTLabReportTemplate
作者:
Wout Maes
最近上传:
9 个月前
许可:
Creative Commons CC BY 4.0
摘要:
A simple template with cover page, for lab reports at KULeuven Campus GroepT.
\begin
Discover why 18 million people worldwide trust Overleaf with their work.
\begin
Discover why 18 million people worldwide trust Overleaf with their work.
\documentclass[12pt, a4paper, twoside]{article}
%%% Encodings and language support %%%
% Accept different input encodings
\usepackage[utf8]{inputenc}
% Standard package for selecting font encodings
\usepackage[T1]{fontenc}
% Multilangual support for Latex
\usepackage[english]{babel}
%%% Graphical improvement %%%
% Enhanced support for graphics
\usepackage{graphicx}
%Improved interface for floating objects
\usepackage{float}
% Figures broken into subfigures
\usepackage{subfig}
% Include PDF documents in LaTeX
\usepackage{pdfpages}
% Publication quality tables in LaTeX
\usepackage{booktabs}
% Extensive support for hypertext in LaTeX
\usepackage{hyperref}
%%% Page layout %%%
% Flexible and complete interface to document dimensions
\usepackage[margin=60pt]{geometry}
% Insert pagebreak if not enough space
\usepackage{needspace}
% Producing 'blind' text for testing
\usepackage{blindtext}
% Execute command after the next page break
\usepackage{afterpage}
%%% Math and equations %%%
% American Mathematical Society packeges
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
%%% Title stuff %%%
% Control over the typesetting of the \maketitle command
\usepackage{titling}
% Select alternative section titles
\usepackage{titlesec}
%%% Packages for electrical circuits %%%
\usepackage{tikz}
\usepackage{circuitikz}
% Placement of background material on pages of a document + warning silence
\usepackage{silence}
% Suppress warnings related to package everypage (used in background)
\WarningsOff[everypage]
\usepackage[firstpage=true, placement=top, opacity=1, scale=1.1]{background}
%modified paragraph
\setcounter{secnumdepth}{4}
%make equations follow sections
\numberwithin{equation}{section}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
%newpage
\newcommand\blankpage{%
\null
\thispagestyle{empty}%
\addtocounter{page}{-1}%
\newpage}
% Set background
% Source: https://iiw.kuleuven.be/studeren/masterproef/sjablonen
\backgroundsetup{contents=\includegraphics{voorblad-kul.pdf}}
% Position title
\setlength{\droptitle}{160pt}
% Set title
\title{Title of the Lab\\
\large Optional subtitle}
% Set author
\author{
Student Name One\\
\texttt{r0000000 }
\and
Student Name Two\\
\texttt{r9999999 }
}
% Set date
\date{9 December 1425}
\begin{document}
% Subtract title page
\addtocounter{page}{-1}
% No page number on title page
\pagenumbering{gobble}
\maketitle
\newpage
\pagenumbering{arabic}
% Uncomment when printing twosided
%\blankpage
\tableofcontents
\newpage
% Uncomment when printing twosided
%\blankpage
\section{First section}
\end{document}