DeskTux

Linux on Desktops

User Tools

Site Tools


Sidebar

apps:latex

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 for LaTeX, Texmaker is definitely a way better tool. 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. Still – my recommendation for SciTE (and vi of course) still stands for all other tasks except for editing LaTeX files, as gedit or other editors are slow compared to SciTE.

This template also eliminates this error message:

! pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored
template.tex
\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}
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
apps/latex.txt · Last modified: 2016-02-16 14:32 (external edit)