Giter Site home page Giter Site logo

latex-templates's Introduction

Latex templates

This is a repository of all my latex templates. I've done my best to document every line of code for these themes so that you can understand what it does and delete/modify things as you see fit. You can see a live preview of each one here:

Slides | Article | Referee Report

Latex Slides

This latex slide aims for nice typography, minimal aesthetics so the focus is on the content, and a set of helpful commands including easily colored words, full-size image frames, table highlighting, multi-column layouts, and more. The theme is highly customizable with (1) a well commented slides.sty file so you can tweak it and make it your own and (2) by defining the colors in the top of your document:

% Define `accent`/`accent2` colors for theme customization
\definecolor{accent}{HTML}{006896}
\definecolor{accent2}{HTML}{E64173}
\usepackage{slides}

Here are some highlights

Title slides Example slide of text with button Example of including full size figure Full size image example Table with colored rows Bibliography slides

Latex Article

This is how I write my papers. There's not many special bells and whistles, but I think it looks nice and clean.

Math commands

I have a set of math commands in math.sty that borrow heavily from Pascal Michaillat. See the document for examples of what I've included.

Easily-hideable comments in paper

This also includes a very useful way to leave notes in a document. Then, you can comment \kyle{Thoughts here} to leave a comment. Toggling \booltrue to \boolfalse will hide the comments from the document.

% Conditionally display thoughts (hide by switching to `\boolfalse`)
\booltrue{INCLUDECOMMENTS}
\newcommand{\kyle}[1]{\coauthorComment[Kyle]{#1}}

Use biblatex instead of natbib

In paper.sty, replace

\usepackage{natbib}
\bibliographystyle{econ-aea}

with

\usepackage[
  style = chicago-authordate,
  doi = true, 
  backend = biber,
  natbib = true
]{biblatex}
\usepackage[authordate, backend = biber]{biblatex-chicago}
  1. Add the following

In the main document, do the following:

  1. Add \addbibresource{references.bib} before \begin{document}
  2. Replace \bibliography{references.bib} with ``

Response to Referees

The goal of this is to make referee reports look nice and make it easy to structure the document. For each referee, use this to create a section with the referee:

\NewRef{Referee 1}{R1}

Then for each comment, wrap the referee's comment with a refcomment environment and it will create a subsection and automatically number the comments

\begin{refcomment}

\end{refcomment}

.gitignore

This is a recommended set of files to include in .gitignore to not commit ugly latex auxiliary files:

*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
*.bbl
*.bcf
*.blg
*.fdb_latexmk
*.run.xml
*.synctex.gz
*.nav
*.snm

latex-templates's People

Contributors

grantmcdermott avatar kylebutts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

latex-templates's Issues

Font size itemize

Hi Kyle,

thanks a lot for the nice template.

For some reason I'm unable to change the fontsize for the itemize environment. I've changed the preamble to

%% itemize
\setbeamercolor{itemize item}{fg = accent!70!white}

% here is the only change
\setbeamerfont{itemize item}{size = \Huge}

\setbeamertemplate{itemize item}[circle]

\setbeamercolor{itemize subitem}{fg = accent!70!white}
\setbeamerfont{itemize subitem}{size = \small}
\setbeamertemplate{itemize subitem}[square]

\setbeamertemplate{itemize subsubitem}[square]
\setbeamercolor{itemize subsubitem}{fg = jet}
\setbeamerfont{itemize subsubitem}{size = \small}

but the only thing that changes is that the circle gets larger, not the font size. Any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.