I have written my first LaTeX document, and although it broadly looks like how I want it to, I want to polish it further to give it a bit more of a profession look - alas, this si where I have come unstuck.
I am trying to achieve the following things in my document:
Create a table header that continues across pages (I'm using the
longtable
package)Set my column headings to specific widths (so that the text wraps in the column) instead of the table column width increasing with the length of the column heading text.
Display the date in the caption on the same line. Another nice to have would be to be able to format the date to something more like 18Apr12. However despite trying several online examples that use the
isodate
package - I was unable to get it to work.Apply a double underline (of a different color) to a specific cell.
This is what I have managed to get so far, after a day of trying:
\documentclass[english]{article}
\usepackage{times}
\usepackage{babel}
\usepackage{color}
\usepackage{ulem}
\usepackage{longtable}
\usepackage{datetime}
\usepackage[margin=0.5in]{geometry}
\input{rgb}
\begin{document}
\begin{center}
\begin{longtable}{|l|l|l|l|l|l|l|}
\caption{This is a long caption for table generated as at \today}\\
\hline
Surname & Column One & Column Two & Column Three & Column Four & Column Five & Column Six \\ \hline
Oliver & 1 & \color{green}2 & \color{red}\uuline{3} & 4 & 5 & 6 \\ \hline
\end{longtable}
\end{center}
\end{document}
I'd be grateful for some pointers/tips on how to fix the tex code above to resolve these issues.