From b32fb753dc9f35aaebae99d80ee6604a048e77bc Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Sun, 28 Aug 2022 00:36:46 -0600 Subject: [PATCH] Add list of listings, but needs work --- src/Hardware.tex | 13 +++++++++++++ src/SNOUG.tex | 14 ++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/src/Hardware.tex b/src/Hardware.tex index 5244a5a..8c3e96b 100644 --- a/src/Hardware.tex +++ b/src/Hardware.tex @@ -16,6 +16,8 @@ Hardware considerations for a \gls{SatNOGS-Optical} \gls{ground-station}. Main hardware components in an optical ground station: +\begin{lstlisting}[caption={Hardware List Overview}] +\end{lstlisting} \begin{itemize} \item Lens. \index{lens} \item Camera. \index{camera} @@ -23,6 +25,8 @@ Main hardware components in an optical ground station: \end{itemize} Other components: +\begin{lstlisting}[caption={Hardware Components}] +\end{lstlisting} \begin{itemize} \item Ethernet cable. \index{ethernet} \item USB cable. \index{USB} @@ -39,6 +43,8 @@ Other components: Cameras being tested: +\begin{lstlisting}[caption={Cameras under test}] +\end{lstlisting} \begin{itemize} \item The Imaging Source IMX174 based. \index{The Imaging Source}\index{IMX174} \item ZWO ASI IMX174 based monochrome. \index{ZWO ASI} @@ -59,6 +65,8 @@ Cameras being tested: Lenses being tested: +\begin{lstlisting}[caption={Lenses under test}] +\end{lstlisting} \begin{itemize} \item Kowa 50mm f1.4 C-mount. \index{Kowa} \item Canon EF 50mm f1.2 USM. \index{Canon} @@ -70,6 +78,8 @@ Lenses being tested: Computers, such as Raspberry Pi, that can be used. \index{Raspberry Pi} +\begin{lstlisting}[caption={Embedded computer options}] +\end{lstlisting} \begin{itemize} \item Odroid N2 --- Confirmed working. \index{Odroid} \item Odroid M1 --- Testing. @@ -177,6 +187,8 @@ Inside the camera enclosure, as shown in Figure \ref{fig:video-enclosure-top-open}, page \pageref{fig:video-enclosure-top-open}, is: +\begin{lstlisting}[caption={SatNOGS Optical Ground Station Components}] +\end{lstlisting} \begin{itemize} \item The Imaging Source DMX camera with Sony IMX174 CMOS. \index{The Imaging Source}\index{IMX174} \item Kowa 50mm f1.4 C-mount lens.\index{Kowa} @@ -193,6 +205,7 @@ is: \item ``Custom'' 12V DC power cable from Bosch \gls{PoE} to Odroid. \item Assorted nuts, bolts, and washers for an ad-hoc standoff height. \end{itemize} + \begin{figure}[h!] \begin{center} \includegraphics[keepaspectratio=true,height=0.40\textheight,width=1.00\textwidth,angle=0]{video-enclosure-top-open-web.png} diff --git a/src/SNOUG.tex b/src/SNOUG.tex index 37edf87..30289f9 100644 --- a/src/SNOUG.tex +++ b/src/SNOUG.tex @@ -62,6 +62,10 @@ leftmargin=1cm,rightmargin=1cm \usepackage{xcolor} +%%% LIST OF LISTINGS %%% +\usepackage{listings} +%%% END LIST OF LISTINGS %%% + %%% PREAMBLE FONTS %%% % For XeTeX % http://www.ctan.org/pkg/fontspec @@ -238,10 +242,16 @@ leftmargin=1cm,rightmargin=1cm %%% END LIST OF FIGURES %%% %%% LIST OF LISTINGS %%% +\renewcommand*{\lofheadstart}{\vspace{1cm}} +\clearpage +\listoflistings +%%% END LIST OF LISTINGS %%% + +%%% LIST OF TABLES %%% %\renewcommand*{\lofheadstart}{\vspace{1cm}} %\clearpage -%\listoflistings -%%% END LIST OF LISTINGS %%% +%\listoftables* +%%% END LIST OF TABLES %%% %%% CHAPTER STYLE %%% \chapterstyle{jebbaski} % defined in preamble