Nethence Newdoc Olddoc Lab Your IP BBDock  

Writing a LaTeX Document

MWE with basic features

\documentclass[12pt, a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{csquotes}
\usepackage{listings}
\usepackage{url}
\usepackage{graphicx}
\usepackage{float}
\usepackage{xr}

\title{let's have fun}
\author{somebody}

\begin{document}
\maketitle
\tableofcontents

text

\end{document}

Notes.

The Bibliography

Use Biblatex and Biber instead of Bibtex,

\usepackage[backend=biber]{biblatex}

In combination with footcite replacement (see below),

\usepackage[style=verbose-trad1,dashed=false,backend=biber,autolang=other]{biblatex}

Define your bib files using addbibresource,

\addbibresource{latex}

Notes.

After that, eventually switch to footnodes instead of end of document references,

\let\cite=\footcite

Or simply print the bibliography at the end,

\printbibliography

Internationalization

The last defined language becomes the default (here french),

\usepackage[english,ngerman,frenchb]{babel}

Add this below the biblatex package definition,

\renewcommand*{\mkbibnamelast}{\textsc}

Other Biblatex enhancements,

\DeclareNameAlias{sortname}{first-last}
\renewcommand{\newunitpunct}{\addcomma\space}
\renewcommand{\mkibid}{\emph}

Eventually rename the bibloography section header,

\addto\captionsfrenchb{\renewcommand\refname{EnquĂȘte et bibliographie}}

Enabling Quotes and Quotations

Built-in quoting feature: \quote{} and \quotation{}.

With \usepackage{csquotes} (that goes with babel) you can use \begin{displayquote} or \enquote{quote here}.

With \usepackage{dirtytalk} you can use \say{quote here}.

Refs.

OPERATIONS

Compile the shit,

latex latex
biber latex
latex latex
#eventually twice,
latex latex

References


Home | GitHub | Donate | Contact