diff --git a/euterpe_001.tex b/euterpe_001.tex index c742e83..b8114c1 100644 --- a/euterpe_001.tex +++ b/euterpe_001.tex @@ -1,67 +1,7 @@ \documentclass[twoside, 9pt]{extreport} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage{float} -\usepackage{ninecolors} -\usepackage{microtype} % Make things neater. -\usepackage{extsizes} - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Fonts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Choose either kpfonts or fourier -% \usepackage[nott]{kpfonts} -\usepackage{fourier} - - -% Delete any of the following that are not needed -\usepackage{graphicx} -\usepackage{array} -\usepackage{multirow} -% \usepackage{gensymb} % Just for the degree symbol -% \usepackage{ccicons} % Creative Commons icons; now we can delete an image -\usepackage{lettrine} % Drop caps -\usepackage{wrapfig} % Let's wrap some images -% \usepackage{hanging} % For hanging indents in a script -% \usepackage{fancyvrb} % Use line numbers with code samples -% \usepackage{fvextra} % Break lines inside Verbatim environment: -\usepackage{enumitem} % Control spacing in lists -%\usepackage{setspace} % Better control over line-spacing -%\usepackage{nicefrac} % Use nice fractions -\usepackage[bottom]{footmisc} % Keep the footnotes at the bottom of the page -% \usepackage{tabto} % Use tab stops when we need to (especially in footnotes) -% \usepackage{tabularray} % Easy tables -%\usepackage[]{footmisc} - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Commands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\graphicspath{{images/}} % Where are our images? -\usepackage{multicol} % Include two- or three-column sections -\counterwithout{footnote}{chapter} % Stop resetting the footnote count after each chapter -% \NumTabs{18} % Define 18 tab stops (at 1/4" intervals) [tabto package] -\raggedbottom % Don't force text to fill page -\setlength{\belowcaptionskip}{4pt} % Adjust space between caption and figure -\renewcommand*\contentsname{In This Issue…} % Change the name of the TOC -\raggedbottom - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Document Setup%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\usepackage{geometry} -\geometry{ - paperheight=8.5in, - paperwidth=5.5in, - margin=12mm, -% a5paper % Comment out for half-letter paper -} - -\addtolength{\topmargin}{10mm} % Adjust and bottom margin -\addtolength{\textheight}{-20mm} % Adjust the bottom margin +\input{include/packages} +\input{include/commands} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -76,66 +16,6 @@ \renewcommand{\footrulewidth}{0.5pt} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Chapter Title Spacing %%%%%%%%%%%%%%%%%%%% -\usepackage{titlesec} -\titleformat{\chapter}[display] - {\normalfont\huge\bfseries} - {\chaptertitlename\ \thechapter} - {20pt} - {\Huge} -\titlespacing*{\chapter}{0pt}{0pt}{10pt} - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Custom Macros %%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% Make a nice border and box for the tops of our examples -\newcommand\klab[3]{\vspace{#1}\noindent{}\hrulefill\fbox{\texttt{~#2~}}\hrulefill\vspace{#3}} - -% Add an \hrule with space above and below -\newcommand\krule[2]{\vspace{#1}\hrule\vspace{#2}} - -% Make hrefs easier (must load package hyperref} -\newcommand\kref[2]{\href{#1}{{\texttt{#2}}}} - -% Rotate text in tables easier -% https://tex.stackexchange.com/questions/89115/how-to-rotate-text-in-multirow-table -\newcommand\krot[3]{\parbox[t]{#1}{\multirow{#2}{*}{\rotatebox[origin=c]{90}{#3}}}} - -% Make diversions easier (and uniform!) -\newcommand\kdivb[2]{ - \medskip - \hrule - \medskip - \noindent{}\textbf{#1} - \vspace{#2mm} - \begin{multicols}{2} -} - -\newcommand\kdive[1]{ - \end{multicols} - \vspace{#1mm} - \hrule - \medskip -} - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Include URLS %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Be sure to load this package last -% [hidelinks option to hide big red box. Thanks /u/0b0101011001001011 -\usepackage[hidelinks]{hyperref} % Inlcude URLs, but load this package last - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Document Information %%%%%%%%%%%%%%%%%%%%% -%% Adjust the TITLE and SUBTITLE as necessary -\author{Kenneth John Odle} -\title{This Articulate Conception} -\date{October 2025} - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Let's get it started %%%%%%%%%%%%%%%%%%%%% diff --git a/include/commands.tex b/include/commands.tex new file mode 100644 index 0000000..b2c38d4 --- /dev/null +++ b/include/commands.tex @@ -0,0 +1,76 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Commands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\graphicspath{{images/}} % Where are our images? +\usepackage{multicol} % Include two- or three-column sections +\counterwithout{footnote}{chapter} % Stop resetting the footnote count after each chapter +% \NumTabs{18} % Define 18 tab stops (at 1/4" intervals) [tabto package] +\raggedbottom % Don't force text to fill page +\setlength{\belowcaptionskip}{4pt} % Adjust space between caption and figure +\renewcommand*\contentsname{In This Issue…} % Change the name of the TOC +\raggedbottom + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Document Setup%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage{geometry} +\geometry{ + paperheight=8.5in, + paperwidth=5.5in, + margin=12mm, +% a5paper % Comment out for half-letter paper +} + +\addtolength{\topmargin}{10mm} % Adjust and bottom margin +\addtolength{\textheight}{-20mm} % Adjust the bottom margin + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Chapter Title Spacing %%%%%%%%%%%%%%%%%%%% +\usepackage{titlesec} +\titleformat{\chapter}[display] + {\normalfont\huge\bfseries} + {\chaptertitlename\ \thechapter} + {20pt} + {\Huge} +\titlespacing*{\chapter}{0pt}{0pt}{10pt} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Custom Macros %%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Make a nice border and box for the tops of our examples +\newcommand\klab[3]{\vspace{#1}\noindent{}\hrulefill\fbox{\texttt{~#2~}}\hrulefill\vspace{#3}} + +% Add an \hrule with space above and below +\newcommand\krule[2]{\vspace{#1}\hrule\vspace{#2}} + +% Make hrefs easier (must load package hyperref} +\newcommand\kref[2]{\href{#1}{{\texttt{#2}}}} + +% Rotate text in tables easier +% https://tex.stackexchange.com/questions/89115/how-to-rotate-text-in-multirow-table +\newcommand\krot[3]{\parbox[t]{#1}{\multirow{#2}{*}{\rotatebox[origin=c]{90}{#3}}}} + +% Make diversions easier (and uniform!) +\newcommand\kdivb[2]{ + \medskip + \hrule + \medskip + \noindent{}\textbf{#1} + \vspace{#2mm} + \begin{multicols}{2} +} + +\newcommand\kdive[1]{ + \end{multicols} + \vspace{#1mm} + \hrule + \medskip +} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Include URLS %%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Be sure to load this package last +% [hidelinks option to hide big red box. Thanks /u/0b0101011001001011 +\usepackage[hidelinks]{hyperref} % Inlcude URLs, but load this package last diff --git a/include/packages.tex b/include/packages.tex new file mode 100644 index 0000000..d1f147b --- /dev/null +++ b/include/packages.tex @@ -0,0 +1,36 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{float} +\usepackage{ninecolors} +\usepackage{microtype} % Make things neater. +\usepackage{extsizes} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Fonts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Choose either kpfonts or fourier +% \usepackage[nott]{kpfonts} +\usepackage{fourier} + + +% Delete any of the following that are not needed +\usepackage{graphicx} +\usepackage{array} +\usepackage{multirow} +% \usepackage{gensymb} % Just for the degree symbol +% \usepackage{ccicons} % Creative Commons icons; now we can delete an image +\usepackage{lettrine} % Drop caps +\usepackage{wrapfig} % Let's wrap some images +% \usepackage{hanging} % For hanging indents in a script +% \usepackage{fancyvrb} % Use line numbers with code samples +% \usepackage{fvextra} % Break lines inside Verbatim environment: +\usepackage{enumitem} % Control spacing in lists +%\usepackage{setspace} % Better control over line-spacing +%\usepackage{nicefrac} % Use nice fractions +\usepackage[bottom]{footmisc} % Keep the footnotes at the bottom of the page +% \usepackage{tabto} % Use tab stops when we need to (especially in footnotes) +% \usepackage{tabularray} % Easy tables +%\usepackage[]{footmisc} \ No newline at end of file