Generalresume using a non-resume cls

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
saimike
Posts: 20
Joined: Wed Apr 11, 2012 10:44 pm

resume using a non-resume cls

Post by saimike »

I am helping my wife format her dissertation according to grad school rules, using the Purdue's puthesis.cls document class (https://engineering.purdue.edu/~mark/puthesis/).

Her CV should be in the vita environment in vita.tex (see the url above). She wants to have two uneven columns (1:2 or 1:3 ratio roughly) with her diplomas (BA, MA, PhD etc) in the left hand column and schools, major areas, thesis names, advisor names, GPA etc in the righ hand column (ie. this is a multi-line column). She is very specific about where each word and CR/LF goes . Very specific.

I tried the table and tabular environment but it didn't seem to work well because I cannot control CR/LF, nor column width.

What's the best way to do this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

resume using a non-resume cls

Post by Stefan Kottwitz »

Hi,

the {table} environment is not meaningful here, since this is a floating wrapper for tabular like environments.

I would use a {tabular} like environment. Line breaks can be forced by \\ in p cells. Specifically, I would use the tabularx package and environment, such as

Code: Select all

\usepackage{array}
\usepackage{tabularx}
...
\begin{tabularx}{\textwidth}{>{\raggedright\arraybackslash}p{.33\textwidth}X}
...
\end{tabularx}
where X means to generate a column with the remaining space, filling up to \textwidth.

Stefan
LaTeX.org admin
saimike
Posts: 20
Joined: Wed Apr 11, 2012 10:44 pm

Re: resume using a non-resume cls

Post by saimike »

Stephan_K

I think that's the direction I want to go. At least I am able to control the column width.

How do I control the newline in within a table cell? i.e. I want a multiple line cell. When I use \\, it gives me a new row ... Sorry I'm still learning latex.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

resume using a non-resume cls

Post by Stefan Kottwitz »

Since \\ is redefined to end a table row, you could use \newline instead. For example:

For example:

Code: Select all

\documentclass{article}
\usepackage{array}
\usepackage{tabularx}
\begin{document}
\begin{tabularx}{\textwidth}{>{\raggedright\arraybackslash}p{.33\textwidth}X}
One line\newline second line & more\newline text
\end{tabularx}
\end{document}
Stefan
LaTeX.org admin
saimike
Posts: 20
Joined: Wed Apr 11, 2012 10:44 pm

Re: resume using a non-resume cls

Post by saimike »

Stephan_K

Thanks for your help, that worked!
Post Reply