<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{article}
\usepackage{maritime}
\usepackage{longtable} % For multi-page tables
\usepackage{hyperref} % For hyperlinks
\usepackage{xcolor} % For color in examples if needed

\title{International Maritime Signal Flags Documentation}
\author{N.\ E.\ Davis, \texttt{@sigilante}, \texttt{\textasciitilde lagrev-nocfep}}
\date{\today}

\begin{document}

\maketitle

\section{Introduction}

The \textbf{maritime} package provides LaTeX commands for drawing international maritime signal flags using TikZ. This documentation covers the basic usage of the package.

\section{Installation}
To use this package, ensure your \texttt{maritime.sty} file is in a directory where LaTeX can find it (like \texttt{texmf-local/tex/latex/maritime/}) or in the same directory as your document.

\section{Usage}

\subsection{Drawing Flags}
Flags are drawn using specific commands:

\begin{itemize}
    \item \verb|\flagZ|: Draws flag Z.
    \item \verb|\flagO|: Draws flag O.
    \item \verb|\flagR|: Draws flag R.
    \item \verb|\flagP|: Draws flag P.
\end{itemize}

Here's how to use them.  We suggest using \verb|\quad| to separate the flags as otherwise they abut.

\begin{verbatim}
  \flagZ
  \flagO
  \flagR
  \flagP
\end{verbatim}

Example:

\flagZ \quad \flagO \quad \flagR \quad \flagP

Furthermore, we provide the standard name at \verb|\flagXname| and the blazon at \verb|\flagXblazon| for each flag \verb|X|.

Example:

\begin{verbatim}
  \flagZname: \flagZblazon
  \flagOname: \flagOblazon
  \flagRname: \flagRblazon
  \flagPname: \flagPblazon
\end{verbatim}

\noindent
\flagZname: \flagZblazon \\
\flagOname: \flagOblazon \\
\flagRname: \flagRblazon \\
\flagPname: \flagPblazon

\section{The Flags}

We supply the alphabetical International Code of Symbols maritime flags and the NATO number flags.

\begin{longtable}{lcl}
  \caption{International Maritime Signal Flags, Letters} \\
  A \flagAname &amp; \flagA &amp; \flagAblazon \\
  B \flagBname &amp; \flagB &amp; \flagBblazon \\
  C \flagCname &amp; \flagC &amp; \flagCblazon \\
  D \flagDname &amp; \flagD &amp; \flagDblazon \\
  E \flagEname &amp; \flagE &amp; \flagEblazon \\
  F \flagFname &amp; \flagF &amp; \flagFblazon \\
  G \flagGname &amp; \flagG &amp; \flagGblazon \\
  H \flagHname &amp; \flagH &amp; \flagHblazon \\
  I \flagIname &amp; \flagI &amp; \flagIblazon \\
  J \flagJname &amp; \flagJ &amp; \flagJblazon \\
  K \flagKname &amp; \flagK &amp; \flagKblazon \\
  L \flagLname &amp; \flagL &amp; \flagLblazon \\
  M \flagMname &amp; \flagM &amp; \flagMblazon \\
  N \flagNname &amp; \flagN &amp; \flagNblazon \\
  O \flagOname &amp; \flagO &amp; \flagOblazon \\
  P \flagPname &amp; \flagP &amp; \flagPblazon \\
  Q \flagQname &amp; \flagQ &amp; \flagQblazon \\
  R \flagRname &amp; \flagR &amp; \flagRblazon \\
  S \flagSname &amp; \flagS &amp; \flagSblazon \\
  T \flagTname &amp; \flagT &amp; \flagTblazon \\
  U \flagUname &amp; \flagU &amp; \flagUblazon \\
  V \flagVname &amp; \flagV &amp; \flagVblazon \\
  W \flagWname &amp; \flagW &amp; \flagWblazon \\
  X \flagXname &amp; \flagX &amp; \flagXblazon \\
  Y \flagYname &amp; \flagY &amp; \flagYblazon \\
  Z \flagZname &amp; \flagZ &amp; \flagZblazon \\
\end{longtable}

\begin{longtable}{lcl}
  \caption{International Maritime Signal Flags, Numbers} \\
  0 \flagZeroName &amp; \flagZero &amp; \flagZeroBlazon \\
  1 \flagOneName &amp; \flagOne &amp; \flagOneBlazon \\
  2 \flagTwoName &amp; \flagTwo &amp; \flagTwoBlazon \\
  3 \flagThreeName &amp; \flagThree &amp; \flagThreeBlazon \\
  4 \flagFourName &amp; \flagFour &amp; \flagFourBlazon \\
  5 \flagFiveName &amp; \flagFive &amp; \flagFiveBlazon \\
  6 \flagSixName &amp; \flagSix &amp; \flagSixBlazon \\
  7 \flagSevenName &amp; \flagSeven &amp; \flagSevenBlazon \\
  8 \flagEightName &amp; \flagEight &amp; \flagEightBlazon \\
  9 \flagNineName &amp; \flagNine &amp; \flagNineBlazon \\
\end{longtable}

\subsection{Customization}

\subsubsection{Size}

The standard flag size is \verb|15ex|, meaning the height of the flag is 15 times the height of the letter `x'.

\begin{verbatim}
  \flagSix
  \flagNine
\end{verbatim}

Example:

\flagSix \quad \flagNine

Flags can be scaled using standard LaTeX font size commands:

\begin{verbatim}
{\Large \flagU}
{\normalsize \flagR}
{\tiny \flagB}
\end{verbatim}

Example:

{\Large \flagU} \quad {\normalsize \flagR} \quad {\tiny \flagB}

They may also be explicitly scaled using the \verb|\resizebox| command:

\begin{verbatim}
  \resizebox{!}{5cm}{\flagI}
  \resizebox{!}{0.5cm}{\flagT}
\end{verbatim}

Example:

\resizebox{!}{5cm}{\flagI} \quad \resizebox{!}{0.5cm}{\flagT}

\section{Conclusion}

% enjoy yourself
\begin{center}
\flagE \space \flagN \space \flagJ \space \flagO \space \flagY \\

\flagY \quad \flagO \quad \flagU \quad \flagR \\
\quad \flagS \quad \flagE \quad \flagL \quad \flagF
\end{center}

\end{document}
</pre></body></html>