Changed section formatting

This commit is contained in:
Kenneth John Odle 2023-09-01 15:52:34 -04:00
parent 9e44cc4ac4
commit bbabdb2b00

View File

@ -8,6 +8,10 @@
\usepackage{lmodern} \usepackage{lmodern}
\usepackage{titlesec}
\titleformat{\section}[display]
{\large\scshape}{\thesection}{}{\hrule\vspace{3pt}}{}
\usepackage{enumitem} \usepackage{enumitem}
\setlist[description]{ \setlist[description]{
style=nextline, style=nextline,
@ -51,12 +55,9 @@
\begin{document} \begin{document}
\section*{A Linux Cheat Sheet}
\begin{multicols*}{4} \begin{multicols*}{4}
\subsection*{Directory} \section*{Directory}
\begin{description} \begin{description}
\item[cd] Change the current directory \item[cd] Change the current directory
@ -69,7 +70,7 @@
\item[rsyng -a </path/to/file> </file>] Synchronize the contents of a specific direcotry with a backup directory \item[rsyng -a </path/to/file> </file>] Synchronize the contents of a specific direcotry with a backup directory
\end{description} \end{description}
\subsection*{Disk Usage} \section*{Disk Usage}
\begin{description} \begin{description}
\item[df] Get a report on the system's disk space usage \item[df] Get a report on the system's disk space usage
@ -80,7 +81,7 @@
\item[findmnt] Show target mount point for all filesystems \item[findmnt] Show target mount point for all filesystems
\end{description} \end{description}
\subsection*{File} \section*{File}
\begin{description} \begin{description}
\item[ls] List files in a directory \item[ls] List files in a directory
@ -89,25 +90,25 @@
\item[ls -l] List detailed information in a tabular format \item[ls -l] List detailed information in a tabular format
\end{description} \end{description}
\subsection*{System} \section*{System}
\begin{description} \begin{description}
\item[] \item[]
\end{description} \end{description}
\subsection*{Network} \section*{Network}
\begin{description} \begin{description}
\item[] \item[]
\end{description} \end{description}
\subsection*{User} \section*{User}
\begin{description} \begin{description}
\item[] \item[]
\end{description} \end{description}
\subsection*{Keyboard Shortcuts} \section*{Keyboard Shortcuts}
\begin{description} \begin{description}
\item[\keystroke{ctrl} + \keystroke{e}]Move to the end of the line \item[\keystroke{ctrl} + \keystroke{e}]Move to the end of the line