← All templates

TUGboat article (ltugboat)

ltugboat, the TeX Users Group class for TUGboat articles: two columns, address and e-mail lines for each author, a closing signature block and the tugboat BibTeX style.

Create an account to use this
Category
Journal
Document class
ltugboat (ltugboat.cls) — ships with TeX Live
Workflow
Journal manuscript — submissions and revision rounds
Author
Karl Berry, Robin Fairbairns
Source
CTAN
Licence
ltugboat.cls: The LaTeX Project Public License 1.3. Sample text: Manulyx, CC0 1.0 (free to use, no conditions).

What you get

  • main.tex — the file that is compiled · 2 KB
  • references.bib · 342 B

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Link to this template. Send it to a student or co-author: it starts a new paper in this template, through sign-up if they need an account.

https://manulyx.com/start/ctan-journal-tugboat

Source

main.tex — the file that is compiled · 2 KB
\documentclass{ltugboat}

\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{booktabs}
\usepackage{tikz}
\usepackage[hidelinks]{hyperref}

\begin{document}

\title{Your paper}

% One \author with its \address and \netaddress per author; the class sets
% them under the title and again in the signature at the end.
\author{Author Name}
\address{Department of Computer Science\\ University Name\\ City, Country}
\netaddress{[email protected]}

\author{Second Author}
\address{Institute Name\\ City, Country}
\netaddress{[email protected]}

\maketitle

\begin{abstract}
One paragraph saying what the article describes, for whom, and what the reader
can do with it afterwards.
\end{abstract}

\section{Introduction}
\label{sec:intro}

State the typesetting problem and why the usual approaches fall short.
Section~\ref{sec:method} describes the method and
Section~\ref{sec:results} the measurements.

\section{Method}
\label{sec:method}

Line-breaking choices can be compared by the information they carry
\cite{shannon1948}:
\begin{equation}
  H(X) = -\sum_{x} p(x)\log_2 p(x).
  \label{eq:entropy}
\end{equation}
For a yes/no choice the value of~\eqref{eq:entropy} peaks at $p=0.5$, as
Figure~\ref{fig:entropy} shows.

\begin{figure}[htbp]
  \centering
  \begin{tikzpicture}[x=5cm,y=2.4cm]
    \draw[->] (0,0) -- (1.1,0) node[right] {$p$};
    \draw[->] (0,0) -- (0,1.15) node[above] {$H(p)$};
    \foreach \t in {0.5,1} \draw (\t,0) -- (\t,-0.03) node[below] {\t};
    \draw[thick,domain=0.01:0.99,samples=60] plot (\x, {-\x*log2(\x)-(1-\x)*log2(1-\x)});
  \end{tikzpicture}
  \caption{Entropy of a binary choice.}
  \label{fig:entropy}
\end{figure}

\section{Results}
\label{sec:results}

\begin{table}[htbp]
  \centering
  \caption{Lines and hyphens per page.}
  \label{tab:results}
  \begin{tabular}{lrr}
    \toprule
    Setting & Lines & Hyphens \\
    \midrule
    Default    & 54 & 6 \\
    Tuned      & 54 & 3 \\
    Ragged     & 55 & 0 \\
    \bottomrule
  \end{tabular}
\end{table}

Table~\ref{tab:results} gives the averages over a sample of pages.

\section{Conclusion}

What was shown, and where to find the code.

\bibliographystyle{tugboat}
\bibliography{references}

\makesignature

\end{document}
references.bib · 342 B

Loading…

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗