Coder Social home page Coder Social logo

latex-styles's Introduction

LaTeX Styles

This repository contains LaTeX styles I find useful to write scientific papers along with common customizations. Everything here is built upon exsiting styles and packages found in most LaTeX suites (e.g., the excellent TeXLive distribution.) The basic style files must be downloaded from the publishers' website and placed somewhere where LaTeX can find them.

Installing

  • If you don't want to read the two bullets below, simply run install.sh.

  • Set the environment variable LATEX_STYLES to point to the top of this repository. E.g., if you cloned this repository to /some/dir/latex-styles then export LATEX_STYLES=/some/dir/latex-styles.

  • Add $LATEX_STYLES to your $TEXINPUTS, $BIBINPUTS and $BSTINPUTS to ensure LaTeX will find the style and bibliography files:

    export TEXINPUTS=.:$LATEX_STYLES/styles//:$TEXINPUTS
    export BSTINPUTS=.:$LATEX_STYLES/styles/common::
    export BIBINPUTS=.:$LATEX_STYLES/share::

    Note the double slash symbols and double colons.

Basic Styles

Editor Setup

Please see the wiki for instructions on how to set up your environment for an awesome LaTeX experience, including how to set up popular editors.

Customizations

The styles offer a number of standard customizations that I find useful across almost all scientific papers I write. Those include basic packages such as graphicx, tikz and others but also the following:

  • the ability to add a table of contents, which is not supported by all styles by default (at least not without serious conflicts), and which I find very useful while writing the paper

  • the inclusion of the todonotes package along with the ability to add a list of todo items, which is not supported by all styles either

  • a few commands to produce boxed lemmas, theorems and corollaries so as to make them stand out. Some style files seem to go to great lengths to make lemmas, theorems and corollaries blend in so much with the text that you almost can't see them

  • integration with git.

Some choices have been made that may not be to everybody's taste but that fit my needs and preferences best. Among them:

  • the bibliography style is always natbib's abbrvnat style. Thus we never use \cite but only \citep and \citet. See the natbib reference sheet.

latex-styles's People

Contributors

amontoison avatar bitdeli-chef avatar dpo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

latex-styles's Issues

Fix install.sh for zsh

install.sh assumes that the user uses bash. Modern versions of macOS use zsh by default.

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.