forked from MirrorRepos/RomWBW
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.0 KiB
83 lines
2.0 KiB
\chapter{Formatting Samples}
|
|
|
|
\blindtext
|
|
|
|
An itemized list:
|
|
|
|
\begin{itemize}
|
|
\item First list item
|
|
\item Second list item
|
|
\item Third list item
|
|
\end{itemize}
|
|
|
|
An enumerated list:
|
|
|
|
\begin{enumerate}[label=\textbf{\arabic*}.]
|
|
\item First list item
|
|
\item Second list item
|
|
\item Third list item
|
|
\end{enumerate}
|
|
|
|
A description list:
|
|
|
|
\begin{description}[style=multiline, leftmargin=1.25in, labelindent=0.25in, align=right]
|
|
\item [Ant] What is an ant?
|
|
\item [Elephant] \blindtext
|
|
\end{description}
|
|
|
|
%Below is an example of labeling:
|
|
|
|
%\begin{labeling}{alligator}
|
|
%\item [ant] really busy all the time
|
|
%\item [chimp] likes bananas
|
|
%\item [alligator] very dangerous animal, sharp teeth, long
|
|
%muscular tail and a bit of text that is longer than one
|
|
%line and shows the alignment of text quite nicely
|
|
%\end{labeling}
|
|
|
|
\textrm{12345}
|
|
|
|
Here is an output sample (Verbatim):
|
|
|
|
|
|
\begin{figure}[ht]
|
|
\setlength\abovecaptionskip{-0.5em}
|
|
\begin{Verbatim}[commandchars=\\\{\}, fontsize=\scriptsize, frame=single, rulecolor=\color{cyan}, numbers=left]
|
|
ROM Image: 'Output\textbackslash{}SBC_simh.rom'
|
|
|
|
RetroBrew HBIOS v2.8.0-pre.5, 2016-06-22
|
|
|
|
SBC Z80 @ 20.000MHz ROM=512KB RAM=512KB
|
|
UART0: IO=0x68 8250 MODE=38400,8,N,1
|
|
SIMRTC: Wed 2016-06-22 15:10:17
|
|
MD: UNITS=2 ROMDISK=384KB RAMDISK=384KB
|
|
HDSK: UNITS=2
|
|
|
|
Below line is 80 characters:
|
|
|
|
12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
|
\end{Verbatim}
|
|
\caption{Sample Output}
|
|
\label{fig:sampoutput}
|
|
\end{figure}
|
|
|
|
Table \ref{tab:samptab} is an example of a floating table:
|
|
|
|
\begin{table}[ht]
|
|
\center
|
|
\setlength{\arrayrulewidth}{2pt}
|
|
\begin{tabular}{l l}
|
|
\toprule
|
|
\bf CPU Board & \bf ROM Image File \\
|
|
\midrule
|
|
SBC v1/v2 & SBC\_std.rom \\
|
|
Zeta v1 & ZETA\_std.rom \\
|
|
Zeta v2 & ZETA2\_std.rom \\
|
|
N8 (2511) & N8\_2511.rom \\
|
|
N8 (2312) & N8\_2312.rom \\
|
|
Mark IV & MK4\_std.rom \\
|
|
\bottomrule
|
|
\end{tabular}
|
|
\caption{Sample Table}
|
|
\label{tab:samptab}
|
|
\end{table}
|
|
|