Skip to content

Commit

Permalink
First draft of the paper
Browse files Browse the repository at this point in the history
  • Loading branch information
guilgautier committed Oct 3, 2018
1 parent f0aebf5 commit 8802143
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tex/commands.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
% Specific to this .tex
\newcommand\HW{Hello World!}

This comment has been minimized.

Copy link
@guilgautier

guilgautier Oct 3, 2018

Author Member

Maybe place the command in a \text{} to use it in a equation!
See 8802143#r30755637

15 changes: 15 additions & 0 deletions tex/packages.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
\usepackage{amsfonts,amsmath,amssymb}
\usepackage{fontawesome} % For fancy icons
\usepackage[a4paper]{geometry}
\geometry{rmargin=4cm,vmargin=3cm}
\usepackage{graphicx}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
urlcolor=gray,
citecolor=blue
}
\usepackage[utf8x]{inputenc}
\usepackage{natbib}
\usepackage{xcolor}
52 changes: 52 additions & 0 deletions tex/paper.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
\documentclass{article}

\input{packages}
\include{commands}

\begin{document}

%%%%%%%%%%%
%% TITLE %%
%%%%%%%%%%%

\title{Reproducible paper}

\author{Guillaume Gautier}

\date{ Last compilation \today }

\maketitle

%%%%%%%%%%%%%%
%% Abstract %%
%%%%%%%%%%%%%%

\abstract{A collaborative paper/note with \LaTeX.
The typos are made intentionally \faSmileO}

%%%%%%%%%%
%% BODY %%
%%%%%%%%%%

\section{Equations} % (fold)
\label{sec:equations}

I was told that
\begin{equation}
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi}{2}.

This comment has been minimized.

Copy link
@guilgautier

guilgautier Oct 3, 2018

Author Member

It it 6 not 2!
See #1

This comment has been minimized.

Copy link
@guilgautier

guilgautier Oct 3, 2018

Author Member

Wolfram confirms

\end{equation}

\begin{equation}
\HW

This comment has been minimized.

Copy link
@guilgautier

guilgautier Oct 3, 2018

Author Member

The command is not robust.
See #1

\end{equation}

% section equations (end)

\section{Random} % (fold)
\label{sec:random}

Take a look at the \href{https://en.wikipedia.org/wiki/Linus_Torvalds}{WikipediA} page of Guido van Rossum, the father of Python.

This comment has been minimized.

Copy link
@guilgautier

guilgautier Oct 3, 2018

Author Member

Wow this links to L. Torvalds and not G. van Rossum...
See #1


% section random (end)

\end{document}

0 comments on commit 8802143

Please sign in to comment.