LaTeX: write an article in LaTeX | Texmaker || 02

Published: 29 July 2021
on channel: Lab Time with R & Python
1,393
23

In this video we set up the tex file to write an article in LaTeX.

%%%%% %%%%%%%%%%%%% Code to set up the tex file %%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[11pt, twoside]{article} % document class declaration: defines which layout to use

% packages to load
\usepackage[a4paper, width=150mm, top=25mm, bottom=25mm, headheight=15pt, bindingoffset=6mm]{geometry} % customize layout
\usepackage[open,openlevel=1]{bookmark} % sets bookmark
\usepackage{csquotes} % for inline and display quotations
\usepackage{natbib} % to customize citations
\bibliographystyle{agsm} % sets the bibliography style / agsm: Harvard style output
\usepackage{graphicx} % to import external graphics
\usepackage{caption} % to customize captions
\usepackage{fancyhdr} % to customize the header and footer

% customize page style
\pagestyle{fancy}
\fancyhead{}
\fancyhead[RO,LE]{An Introduction to \LaTeX} % R: right side / O: Odd page / L: left side / E: Even page

\fancyfoot{}
\fancyfoot[LE,RO]{\thepage}
\fancyfoot[LO,CE]{My University} % C: centered
\fancyfoot[CO,RE]{Lab Time With R}

\renewcommand{\headrulewidth}{0.4pt} % sets the header line thickness
\renewcommand{\footrulewidth}{0.4pt} % sets the footer line thickness




\begin{document}
\title{An Introduction to \LaTeX \\ \large How to write an article}
\author{Lab Time with R \thanks{My University. Email: [email protected]}} % fake email
\date{Very Preliminary \\ \today}
\maketitle

\begin{abstract}
Lorem ipsum dolor sit amet, consectetur adipisci elit, sed do eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrum exercitationem ullamco laboriosam, nisi ut aliquid ex ea commodi consequatur. Duis aute irure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

{\bf Keywords:} \LaTeX, editing, paper.

{\bf JEL classification:} C73, F13.
\end{abstract}

% \tableofcontents

% write here your content


% add your bibliography file - mine is called library
\bibliography{library}

\end{document}


On this page of the site you can watch the video online LaTeX: write an article in LaTeX | Texmaker || 02 with a duration of hours minute second in good quality, which was uploaded by the user Lab Time with R & Python 29 July 2021, share the link with friends and acquaintances, this video has already been watched 1,393 times on youtube and it was liked by 23 viewers. Enjoy your viewing!