Giter Site home page Giter Site logo

black-snake / latex-letter Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 2.0 705 KB

A LaTeX letter template that uses the scrlttr2 class of the popular KOMA-Script.

License: The Unlicense

TeX 100.00%
latex latex-template letter letters template templates scrlttr2 koma-script latex-letter brief latex-brief

latex-letter's Introduction

LaTeX-letter

A LaTeX letter template that uses the scrlttr2 class of the popular KOMA-Script.

Example

To get an impression of the letter's design and layout please see the picture below or take a look at the example.pdf.

LaTeX-letter example

Usage

The letter template basically consists of four user-relevant files:

file description
main.tex This is the main file containing basic settings, package usages and references to macros.
sender.lco The sender information are stored in this separate file for reasons of modularity.
content.tex The actual content of the TeX document is stored in this separate file for reasons of modularity.
helpers/macros.tex This file comprises typographic and layout customization as well as macros for the header, footer and location fields.

General Note

Due to the barcode functionality, which makes use of the package pst-barcode and thus on the underlying package pstricks, the .tex files should be compiled with xelatex.

Please refer to the KOMA guide for a comprehensive description of the KOMA variables used.

main.tex

The sender information are included via the \LoadLetterOption{} command which loads an .lco file. To do so, you must specify the file name of the .lco file without suffix as command parameter.

sender.lco

This is the file where the sender information are stored. Most (or all) standard sender attributes for the scrlttr2 class should be stated in there; so it's pretty straightforward to fill in the blanks (or better to say: to modify the already defined variables).

content.tex

In this file the specific content of the TeX document is stored. It contains one letter environment for each letter.

helpers/macros.tex

As mentioned before, this file applies specific typographic and layout customization to the letter template. Usually, there is no necessity to modify this file. However, if one wants to adjust these basic settings, this is the place to do so.

Acknowledgments

latex-letter's People

Contributors

black-snake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.