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{titlesec}
\titleformat{\section}[display]
{\large\scshape}{\thesection}{}{\hrule\vspace{3pt}}{}
\usepackage{enumitem}
\setlist[description]{
style=nextline,
@ -51,12 +55,9 @@
\begin{document}
\section*{A Linux Cheat Sheet}
\begin{multicols*}{4}
\subsection*{Directory}
\section*{Directory}
\begin{description}
\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
\end{description}
\subsection*{Disk Usage}
\section*{Disk Usage}
\begin{description}
\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
\end{description}
\subsection*{File}
\section*{File}
\begin{description}
\item[ls] List files in a directory
@ -89,25 +90,25 @@
\item[ls -l] List detailed information in a tabular format
\end{description}
\subsection*{System}
\section*{System}
\begin{description}
\item[]
\end{description}
\subsection*{Network}
\section*{Network}
\begin{description}
\item[]
\end{description}
\subsection*{User}
\section*{User}
\begin{description}
\item[]
\end{description}
\subsection*{Keyboard Shortcuts}
\section*{Keyboard Shortcuts}
\begin{description}
\item[\keystroke{ctrl} + \keystroke{e}]Move to the end of the line