Thesis Template: Difference between revisions

Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
* For figures and tables, I would suggest just modifying existing code.
 
Here's an example figure code (I put the bullets in so that the wiki wouldn't format this stuff.):
 
 
* \begin{figure}[h!]
* \centering
* \includegraphics[angle=0,width=3in]{figures/Josh/AOM.jpg}
* \caption{\textit{Acousto-Optic Modulator} An acousto-optic modulator uses pressure waves to create a time-varying index of refraction in a crystalline structure. This time-varying index can be used to modulate the frequency of laser light. The frequency shift is the result of an exchange of momentum between phonons in the crystal and incident photons.}
* \label{fig:AOM}
* \end{figure}
 
 
The only things I really ever changed was the width, the file name, the caption, and the label name. The [h!] has something to do with formatting, but I never messed with that.
 
 
Here's an example of a table (I put %the bullets in so that the wiki wouldn't format this stuff.):
 
 
%* \begin{table}[h!]
%* \begin{center}
* %\begin{tabular}{ |c || c | c | c | c |}
%* \hline
%* Molecule & $\omega_e$ & $\omega_ex_e$ & $B_e$ & $\alpha_e$ \\ \hline %\hline
* %\textbf{D$_2$} & 3118.4 & 64.09 & 30.429 & 1.0492 \\ \hline
* %\textbf{H$_2$} & 4395.2 & 117.99 & 60.800 & 2.993 \\ \hline
* %\end{tabular}
%* \end{center}
%* \caption{\textit{Deuterium and Hydrogen Constants} This table presents the values of the constants needed to calculate the energies of the molecular states as detailed above. All values are for the ground electronic state, and units for all entries are wavenumbers (cm$^{-1}$). All values are from Table 39 of the appendix of Herzberg \cite{herzberg}.}
%* \label{table:appendix}
%* \end{table}
 
Here you can change the alignment of the text in each column next to {tablular}. Each column is represented by a letter - r, l, and c for right, left, or centered text.
 
The \hline command puts horizontal lines in the table.
 
 
===Other Thoughts===

Navigation menu