Debian Codegraph @

texmf-dist/doc/latex/ucdavisthesis/example/ucdavisthesis_example_Chap3.tex

raw
1 \chapter{Examples of Formatting and Commands}
2 %
3 The following chapter shows various formatting and sectioning commands. It also includes examples of how to insert figures and tables into the document. These examples are by no means comprehensive, they are just a sample of what can be done with the power of \LaTeX\@.
4
5 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
6
7 \section[TOC Section Title]{First Section Title -- A Particularly Long Section Title with a Special Title for the TOC}
8 %
9 A short version of the section title can be included in square brackets just before the full title. This applies to subsections as well.
10
11 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
12
13 \subsection[A Very Long Subsection Title to Test the TOC Wrapping Ability]{Subsection Title}
14 %
15 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
16
17 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
18
19 \subsubsection{Subsubsection Title}
20 %
21 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
22
23 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
24
25 \paragraph{Paragraph Title}
26 %
27 I have no idea who would use sectioning down to the paragraph level in a dissertation, but it is available for those who think it is necessary.
28
29 \section{Some Examples of Figures and Tables}
30 %
31 A table such as that shown in Table~\ref{tab.example_1} can be included easily. The hard part will be creating the table. Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
32 %
33 \begin{table}[tbh]
34 % increase table row spacing, adjust to taste
35 \renewcommand{\arraystretch}{1.3}
36 % if using array.sty, it might be a good idea to tweak the value of
37 % \extrarowheight as needed to properly center the text within the cells
38 \centering
39 % Some packages, such as MDW tools, offer better commands for making tables
40 % than the plain LaTeX2e tabular which is used here.
41 \begin{tabular}{|c||c|}
42 \hline
43 One & Two\\
44 \hline
45 Three & Four\\
46 \hline
47 \end{tabular}
48 \caption[Example table]{An example of a table. Notice the caption is centered except when it runs longer than a single line on the page.}
49 \label{tab.example_1}
50 \end{table}
51
52 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
53 %
54 \begin{table}[tbh]
55 % increase table row spacing, adjust to taste
56 \renewcommand{\arraystretch}{1.3}
57 % if using array.sty, it might be a good idea to tweak the value of
58 % \extrarowheight as needed to properly center the text within the cells
59 \centering
60 % Some packages, such as MDW tools, offer better commands for making tables
61 % than the plain LaTeX2e tabular which is used here.
62 \begin{tabular}{|c||c|}
63 \hline
64 One & Two\\
65 \hline
66 Three & Four\\
67 \hline
68 \end{tabular}
69 \caption[Another example table]{Another example of a table.}
70 \label{tab.example_2}
71 \end{table}
72
73 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
74 %
75 \begin{figure}[tbh]
76 \centering
77 \includegraphics{ucdavisthesis_example_figure}
78 % where an .eps filename suffix will be assumed under latex,
79 % and a .pdf suffix will be assumed for pdflatex
80 \caption[First sample figure]{A sample figure.}
81 \label{fig.sample_1}
82 \end{figure}
83
84 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
85
86 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
87 %
88 \begin{figure}[tbh]
89 \centering
90 \includegraphics[width=0.5in]{ucdavisthesis_example_figure}
91 % where an .eps filename suffix will be assumed under latex,
92 % and a .pdf suffix will be assumed for pdflatex
93 \caption[Second sample figure]{A reduced version of the sample figure.}
94 \label{fig.sample_2}
95 \end{figure}
96
97 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
98
99 Filing your dissertation or thesis is the last step in the process leading to the awarding of your degree. The final copy of your thesis or dissertation, which is ultimately deposited in the University Library, becomes a permanent and official record.
100