useful-linux-commands/ulc_001_cover.tex

112 lines
2.7 KiB
TeX

\documentclass[landscape]{report}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{float}
\raggedbottom
\usepackage{array}
\usepackage{multicol}
\usepackage[
margin=20mm,
marginparwidth=0mm,
marginparsep=0mm,
]{geometry}
\usepackage{ninecolors}
\usepackage{mathptmx}
%\usepackage{showframe}
%\renewcommand*\ShowFrameColor{\color{red}}
% Set column separation
\setlength\columnsep{30mm}
% Where are our images?
\graphicspath{{images/}}
% Stretch the linespacing
\renewcommand{\baselinestretch}{2.0}
% Let's adjust the page margins
\usepackage{geometry}
\geometry{
margin=10mm,
}
% Cover images
\usepackage{tikz}
\usepackage{eso-pic}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Adjust the following two variables for each issue %%%%%%%%
% This issue's color (using ninecolors package color options)
\newcommand{\kic}{blue7} % Replace as necessary
% This issue's number
\newcommand{\kiss}{1} % Replace as necessary
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Let's get it started %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\thispagestyle{empty}
% Issue markings on bottom of spine
\AddToShipoutPictureBG{
\put(0in,0.5in){ % Spine marks and issue number on front
\begin{tikzpicture}[x=1in, y=1in, remember picture, overlay]
\draw[color=\kic, fill=\kic, line width=0.25pt] (0,5.3) rectangle (11,5.35);
\draw[color=\kic, fill=\kic, line width=0.25pt] (0,5.20) rectangle (11,5.205);
% \draw[color=white, fill=\kic\ksh, line width=0.25pt] (5.25,1.05) rectangle (5.75,1.25); % 30
% \draw[color=white, fill=\kic\ksh, line width=0.25pt] (5.25,0.80) rectangle (5.75,1.00); % 20
% \draw[color=white, fill=\kic\ksh, line width=0.25pt] (5.25,0.55) rectangle (5.75,0.75); % 10
% \draw[color=white, fill=\kic\ksh, line width=0.25pt] (5.25,0.40) rectangle (5.75,0.50); % 5
% \draw[color=white, fill=\kic\ksh, line width=0.25pt] (5.25,0.30) rectangle (5.75,0.35); % 1
% \draw[color=white, fill=\kic\ksh, line width=0.25pt] (5.25,0.20) rectangle (5.75,0.25); % 1
% \draw[color=white, fill=\kic\ksh, line width=0.25pt] (5.25,0.10) rectangle (5.75,0.15); % 1
% \draw[color=white, fill=\kic\ksh, line width=0.25pt] (5.25,0.00) rectangle (5.75,0.05); % 1
\end{tikzpicture}
} % End put
} % End shipout
\begin{center}
\begin{multicols}{2}
% Back page
\vspace*{40mm}
\vfill\null
\columnbreak
% Front page
\vspace*{35mm}
{\fontsize{26}{0}\selectfont
\textsc{Useful Linux Commands}
}
\vspace{25mm}
{\fontsize{14}{20}\selectfont
\textit{A Grimoire of Command Line Magic}
}
\vspace{60mm}
by Kenneth John Odle
Volume \#\kiss{}
Typeset in \LaTeX{}
{\footnotesize First Printing}
\vspace{10mm}
\end{multicols}
\end{center}
\end{document}