Skip to content

Instantly share code, notes, and snippets.

@kauefraga
Created May 1, 2023 18:13
Show Gist options
  • Save kauefraga/0672996626ea18394ebda9184a5fb58a to your computer and use it in GitHub Desktop.
Save kauefraga/0672996626ea18394ebda9184a5fb58a to your computer and use it in GitHub Desktop.
πŸ§™β€β™€οΈ A Latex Template
% I'm using miktex (+ perl) + vscode
\documentclass[a4paper, 12pt]{article}
\usepackage{authblk} % Title, Author and affiliation formatting
\usepackage[utf8]{inputenc} % Encoding
\usepackage{datetime} % Time and Date formatting
\usepackage{hyperref} % links
\hypersetup{
colorlinks = true,
linkcolor = blue,
filecolor = magenta,
urlcolor = blue,
pdftitle = {title},
pdfpagemode = FullScreen,
}
\usepackage{roboto}
\usepackage[T1]{fontenc}
% geometry - sets paper size and margins
\usepackage{geometry}
\geometry{
top = 3cm,
bottom = 2cm,
left = 3cm,
right = 2cm,
}
% line height
\renewcommand{\baselinestretch}{1.15}
% parskip and parindent
\setlength{\parindent}{0pt} % size at the begin of paragraph
\setlength{\parskip}{0.8em} % space between paragraphs
\title{\vspace{-3.5cm}\huge{title}}
\author{\vspace{-3mm}name}
\date{\vspace{-0.5cm}\today}
\renewcommand{\familydefault}{\sfdefault}
\begin{document}
\maketitle
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment