From 93ff5e8a4e94b6caac5cc3f605749321fce3e618 Mon Sep 17 00:00:00 2001 From: Felipe Portales-Oliva Date: Thu, 28 Mar 2019 01:45:00 -0300 Subject: [PATCH] commit inicial --- .gitignore | 5 +++++ tareas-fp.cls | 26 ++++++++++++++++++++++++++ test.tex | 14 ++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 .gitignore create mode 100644 tareas-fp.cls create mode 100644 test.tex diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b7afe8f --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# We don need the auxiliary files created by LaTeX to be tracked +**.aux +**.log +**.pdf +**.dvi diff --git a/tareas-fp.cls b/tareas-fp.cls new file mode 100644 index 0000000..a898435 --- /dev/null +++ b/tareas-fp.cls @@ -0,0 +1,26 @@ +%% Tareas Estilosas +%% Felipe Portales-Oliva (f.portales.oliva@gmail.com) +%% +%% Clase para crear respuestas a tareas de manera sencilla + +\NeedsTeXFormat{LaTeX2e} % we need to have LaTeX2e for this to compile +\ProvidesClass{tareas-fp}[2019/03/19 LaTeX class to deliver your homework] + +% We will use the article class as a template, with a fontsize of 11pt +\LoadClass{article} + +% UTF-8 is best coding +\RequirePackage[utf8]{inputenc} + +% We won't need those ugly margins +\RequirePackage{geometry} + + + +% two columns are really difficult to grade, this is to avoid them +\DeclareOption{twocolumn}{\OptionNotUsed} + +% As we loaded the article class we need to pass it options not specifically defined, such as font size +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} + + diff --git a/test.tex b/test.tex new file mode 100644 index 0000000..d58181f --- /dev/null +++ b/test.tex @@ -0,0 +1,14 @@ +% this is a test document for the class we defined in this project + +\documentclass{tareas-fp} + +\title{my tytle} +\author{me} +\date{today} + +\begin{document} +\maketitle + +hóla beééééébééééé + +\end{document}