Curricula Vitae / RésumésAdding subsections to Reference section.

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
Post Reply
David_Schat
Posts: 5
Joined: Sat Aug 15, 2015 2:24 am

Adding subsections to Reference section.

Post by David_Schat »

Apologies if this seems incredibly dumb, I have literally stumbled on to Latex this afternoon while looking for Resume templates.

I'm using this template with Overleaf as an editor:

http://www.latextemplates.com/template/wilson-resume-cv

Under the references section they have two examples contained in "\parbox". Ideally what I'd like to do is create two additional boxes above the columns that simply are a subheading/subsection titled "Personal" and "Professional", and then have three rows or boxes under each column with said references. Preferably I'd like the subheadings to be the same color and font of the standard sections, just slightly smaller.

I've tried copy/pasting the given box's dimension codes and just inserting a \subsection into where the reference text would be, but it comes back with errors. What I have is something like this:

Code: Select all

%----------------------------------------------------------------------------------------
%	REFEREE SECTION
%----------------------------------------------------------------------------------------

\section{References}

\parbox{0.5\textwidth}{
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill
{\subsection{Personal}} \> \\
\end{tabbing}}
\hfill

\parbox{0.5\textwidth}{
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill
{\subsection{Professional}} \> \\
\end{tabbing}}
\hfill

\parbox{0.5\textwidth}{ % First block
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill % Spacing within the block
{\bf Name} \> Bill Lumbergh \\ % Referee name
{\bf Relation} \> Initech Inc. \\ % Referee company
{\bf Position} \> Vice President \\ % Referee job title 
{\bf Contact} \> \href{mailto:bill@initech.com}{bill@initech.com} % Referee contact information
\end{tabbing}}
\hfill % Horizontal space between the two blocks
I'd figure I'd ask first before starting to dig through the actual programming language, since it seems like such a simple yet specific thing. Again, sorry for the newbie question, I will be digging for an answer!

Thanks,
David

Recommended reading 2024:

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

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

Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Adding subsections to Reference section.

Post by Vel »

Hi David,

Welcome to LaTeX! :)

The error you're seeing is due to using the \subsection inside the tabbing environment. If you remove the subsection though, you'll find the position of the heading is wrong due to the tabbing. Quickest way to get around this is to just put the heading in the first set of boxes and style it to stand out like this:

Code: Select all

\parbox{0.5\textwidth}{ % First block
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill % Spacing within the block
{\bf \large Personal} \> \\\\
{\bf Name} \> Bill Lumbergh \\ % Referee name
{\bf Company} \> Initech Inc. \\ % Referee company
{\bf Position} \> Vice President \\ % Referee job title 
{\bf Contact} \> \href{mailto:bill@initech.com}{bill@initech.com} % Referee contact information
\end{tabbing}}
\hfill % Horizontal space between the two blocks
\parbox{0.5\textwidth}{ % Second block
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill % Spacing within the block
{\bf \large Professional} \> \\\\
{\bf Name} \> Michael "Big Mike" Tucker\\ % Referee name
{\bf Company} \> Burbank Buy More \\ % Referee company
{\bf Position} \> Store Manager \\ % Referee job title 
{\bf Contact} \> \href{mailto:mike@buymore.com}{mike@buymore.com} % Referee contact information
\end{tabbing}}
Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
David_Schat
Posts: 5
Joined: Sat Aug 15, 2015 2:24 am

Re: Adding subsections to Reference section.

Post by David_Schat »

Thank You! That's perfect...

Secondarily, I searched for awhile through the LaTeX wikia but I wasn't able to find any definitive information on what tabbing actually is, what it does, and how it's used properly.

All of the reference material basically just states "In a tabbing environment" without any explanation to what tabbing is. Am I just way behind on programming language? Do you have a link to any proper educational information or editorial?

Thanks again!!

David
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Adding subsections to Reference section.

Post by Vel »

Hey David,

No problem :)

Is this what you're after? http://www.personal.ceu.hu/tex/environ.htm#tabbing

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Adding subsections to Reference section.

Post by cgnieder »

David_Schat wrote:All of the reference material basically just states "In a tabbing environment" without any explanation to what tabbing is.
The {tabbing} environment – while being a standard LaTeX environment for horizontal alignment of material – in my experience is no environment one has to know about. There may be rare cases when it is useful but in almost all cases a {tabular} will do just as fine if not even better.

The LaTeX companion says the following about {tabbing} comparing it with {tabular}:
LaTeX has two families of environments that allow material to be lined up in
columns—namely, the tabbing environment, and the tabular and array environments. The main differences between the two kinds of environments are:
  • The tabbing environment is not as general as the tabular environment. It can be typeset only as a separate paragraph, whereas a tabular environment can be placed anywhere in the text or inside mathematics.
  • The tabbing environment can be broken between pages, whereas the standard tabular environment cannot.
  • With the tabbing environment the user must specify the position of each tab stop explicitly. With the tabular environment LaTeX can automatically determine the width of the columns.
  • Multiple tabbing environments cannot be nested, whereas tabular environments can, thus allowing complex alignments to be realized.
I happily used LaTeX for more than 10 years without ever using {tabbing} :)

Regards
site moderator & package author
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Adding subsections to Reference section.

Post by Johannes_B »

Guys, please note that \bfseries superseeded the obsolete \bf over twenty years ago.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10340
Joined: Mon Mar 10, 2008 9:44 pm

Adding subsections to Reference section.

Post by Stefan Kottwitz »

Hi David,

welcome to the forum!

Yes, it's interesting, that you start using LaTeX when writing a resume. I guess most people start learning LaTeX for their thesis (they should do earlier).

I hope you would find LaTeX useful, as there are very nice letter templates and such practical things, besides scientific writing.

Btw. I used tabbing once in my life: for completeness in my first book. :-) With tabular, we can define whole columns to be bold by a single setting.

Stefan
LaTeX.org admin
David_Schat
Posts: 5
Joined: Sat Aug 15, 2015 2:24 am

Adding subsections to Reference section.

Post by David_Schat »

Holy!

Thanks for all the replies gentlemen! Most definitely very appreciated.

I came accross a problem when trying to finish up the resume however:

Code: Select all

\section{References}

\parbox{0.5\textwidth}{
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill
{\bf \large Personal} \> \\\\
{\bf Name} \> xxx \\ 
{\bf Known} \> 12 Years \\ 
{\bf Contact} \> \href{mailto:xxx}{xxx}
\end{tabbing}}
\hfill
\parbox{0.5\textwidth}{
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill
{\bf \large Professional} \> \\\\
{\bf Name} \> xxx\\
{\bf Company} \> Century College- Farmer, Teacher \\
{\bf Contact} \> \href{mailto:xxx}{xxx}
\end{tabbing}}
\hfill
\parbox{0.5\textwidth}{ 
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill
{\bf Name} \> xxx \\ 
{\bf Known} \> 8 Years \\ 
{\bf Contact} \> \href{mailto:xxx}{xxx}
\end{tabbing}}
\hfill
\parbox{0.5\textwidth}{ 
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill
{\bf Name} \> xxx \\ 
{\bf Company} \> Festival Foods- Grocery Manager \\ 
{\bf Contact} \> xxx \\
\end{tabbing}}
\hfill
\parbox{0.5\textwidth}{
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill
{\bf Name} \> xxx \\
{\bf Known} \> 4 Years \\
{\bf Contact} \> \href{mailto:xxx}{xxx}
\end{tabbing}}
\hfill
\parbox{0.5\textwidth}{
\begin{tabbing}
\hspace{2.75cm} \= \hspace{4cm} \= \kill
{\bf Name} \> xxx \\
{\bf Company} \> Private IT Consultant \\ 
{\bf Contact} \> \href{mailto:xxx}{xxx} 
\end{tabbing}}
It seams that the last professional reference doesn't align with the rest of the professional column, it actually spaces it out another indent in, as if it was nested from the previous tabbing command. Am I missing something blatantly obvious?

Thanks,

David
David_Schat
Posts: 5
Joined: Sat Aug 15, 2015 2:24 am

Re: Adding subsections to Reference section.

Post by David_Schat »

So I just copy pasted the code I posted here to the compiler, as opposed to the actual name and emails I had used in the resume, and noticed the alignment of text was WAY off from the original...

Meaning it has to do with character length somewhere in one of the previous references. I believe at least. I'm going to play around with it and see what I find. Thanks though!

David
David_Schat
Posts: 5
Joined: Sat Aug 15, 2015 2:24 am

Re: Adding subsections to Reference section.

Post by David_Schat »

So it has to do with the longest "length" of text in the professional column. Meaning the tabbing environment is aligning the column from the furthest right stop and pushing it towards the middle of the page, as opposed to creating two separate columns, splitting the page in half, and aligning the text from the leftmost of whichever column applies.

Anyway around this? It seems that the Personal column is aligned correctly on the furthest left, but the Professional column is aligning text from the margin to the right.

Is there a command, or different environment, to allow the Professional column to align from the left? Or at least a way in which to just add "blank space" so that I can manually Frankenstein the alignment manually?

Thanks,

David
Post Reply