This question already has an answer here:

As in, do you have a .tex file from which you begin every document? This hypothetical file would contain most of the things you use in each document on a regular basis. For example, here's my "template".

\documentclass[10pt,letterpaper]{article}       % Basics
\usepackage[utf8]{inputenc}                     % Inputs
\usepackage[T1]{fontenc}                        % Inputs
\usepackage[margin=1in]{geometry}               % 1 inch margins
\usepackage[pdfauthor={author},                 % Begin PDF metadata
            pdfproducer={LaTeX with hyperref},
            pdfcreator={pdflatex}]{hyperref}    % End PDF metadata
            colorlinks,                         % Begin setup of link colors
            urlcolor=black,                     % End setup
            pdfpagemode=UseNone                 % Disables bookmarks sidebar auto appearing


Insert body here.

I get the feeling that I'm missing some essential packages, but that's what I use to start out each document I make.

marked as duplicate by Werner, jubobs, Heiko Oberdiek, Xavier, Scott H. Jun 27 '13 at 1:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    Have you seen What packages do people load by default in LaTeX?? – clemens Jun 26 '13 at 23:25
  • That being said: I don't have a common preamble for documents - it depends on what I need for the specific document – clemens Jun 26 '13 at 23:27
  • 1
    Some editors use 'wizards' for that. In certain instances you can even set up yourself, what that automatically generated preamble should contain. But I don't think there is a universal, one-size-fits-all variant. And neither should there be one IMHO. – Count Zero Jun 26 '13 at 23:29
  • @cgnieder Thanks for that link! A quick Google search found nothing, so I made a post about it. – Kevin Dong Jun 26 '13 at 23:32
  • @CountZero I find those "wizards" to be usually quite lackluster in terms of options and helpfulness. – Kevin Dong Jun 26 '13 at 23:33

Browse other questions tagged or ask your own question.