LaTeX
The following code can be used as a template for new LaTeX files. Of course the fields pdftitle, pdfauthor, title and author need to be edited, as well as the Babel language.
Usually I would recommend SciTE as source editor – also for LaTeX files. It has customizable compilation and view support included through hotkeys that make your life a lot easier. But recently I noticed that gedit has a LaTeX-plugin (in Debian, just install it through apt-get install gedit-latex-plugin) that makes your life even easier. It features an integrated preview that can be updated through a hotkey. Also when editing LaTeX files you may have a need for spell checking. I have not found an easy way to add that to SciTE and gedit has it available by default.
Still – my recommendation for SciTE (and vi of course) still stands for all other tasks except for editing LaTeX files, as gedit is slow compared to SciTE.
\documentclass[a4paper]{article}
\title{DeskTux \LaTeX{}~Template}
\author{Jens Vogel}
\usepackage[dutch]{babel}
\usepackage[gen]{eurosym}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[pdftex]{color,graphicx}
\usepackage{pxfonts}
\usepackage[a4paper,pdftex,pdftitle={DeskTux LaTeX Template},pdfauthor={Jens Vogel},bookmarksnumbered,colorlinks]{hyperref}
\begin{document}
\maketitle
\tableofcontents
This is the DeskTux \LaTeX{}~Template!
\end{document}
If there are compiling problems when using pdftex/pdflatex with the following error message, the code below needs to be used:
! pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored
\documentclass[a4paper]{article}
\title{}
\author{Jens Vogel}
\usepackage[dutch]{babel}
\usepackage[gen]{eurosym}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[pdftex]{color,graphicx}
\usepackage{pxfonts}
\usepackage[a4paper,pdftex,pdftitle={},pdfauthor={Jens Vogel},bookmarksnumbered,colorlinks,plainpages=false,pdfpagelabels]{hyperref}
\begin{document}
\maketitle
\tableofcontents
This is the DeskTux \LaTeX{}~Template!
\end{document}