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

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

Adding subsections to Reference section.

Postby David_Schat » Sat Aug 15, 2015 2:44 am

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:
  1. %----------------------------------------------------------------------------------------
  2. % REFEREE SECTION
  3. %----------------------------------------------------------------------------------------
  4.  
  5. \section{References}
  6.  
  7. \parbox{0.5\textwidth}{
  8. \begin{tabbing}
  9. \hspace{2.75cm} \= \hspace{4cm} \= \kill
  10. {\subsection{Personal}} \> \\
  11. \end{tabbing}}
  12. \hfill
  13.  
  14. \parbox{0.5\textwidth}{
  15. \begin{tabbing}
  16. \hspace{2.75cm} \= \hspace{4cm} \= \kill
  17. {\subsection{Professional}} \> \\
  18. \end{tabbing}}
  19. \hfill
  20.  
  21. \parbox{0.5\textwidth}{ % First block
  22. \begin{tabbing}
  23. \hspace{2.75cm} \= \hspace{4cm} \= \kill % Spacing within the block
  24. {\bf Name} \> Bill Lumbergh \\ % Referee name
  25. {\bf Relation} \> Initech Inc. \\ % Referee company
  26. {\bf Position} \> Vice President \\ % Referee job title
  27. {\bf Contact} \> \href{mailto:bill@initech.com}{bill@initech.com} % Referee contact information
  28. \end{tabbing}}
  29. \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

Tags:

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

Postby Vel » Sun Aug 16, 2015 1:25 am

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:
  1. \parbox{0.5\textwidth}{ % First block
  2. \begin{tabbing}
  3. \hspace{2.75cm} \= \hspace{4cm} \= \kill % Spacing within the block
  4. {\bf \large Personal} \> \\\\
  5. {\bf Name} \> Bill Lumbergh \\ % Referee name
  6. {\bf Company} \> Initech Inc. \\ % Referee company
  7. {\bf Position} \> Vice President \\ % Referee job title
  8. {\bf Contact} \> \href{mailto:bill@initech.com}{bill@initech.com} % Referee contact information
  9. \end{tabbing}}
  10. \hfill % Horizontal space between the two blocks
  11. \parbox{0.5\textwidth}{ % Second block
  12. \begin{tabbing}
  13. \hspace{2.75cm} \= \hspace{4cm} \= \kill % Spacing within the block
  14. {\bf \large Professional} \> \\\\
  15. {\bf Name} \> Michael "Big Mike" Tucker\\ % Referee name
  16. {\bf Company} \> Burbank Buy More \\ % Referee company
  17. {\bf Position} \> Store Manager \\ % Referee job title
  18. {\bf Contact} \> \href{mailto:mike@buymore.com}{mike@buymore.com} % Referee contact information
  19. \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

Postby David_Schat » Sun Aug 16, 2015 5:15 am

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: 456
Joined: Fri Jun 29, 2012 1:20 am

Postby Vel » Sun Aug 16, 2015 6:05 am

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: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Sun Aug 16, 2015 11:55 am

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
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

User avatar
Johannes_B
Site Moderator
Posts: 4077
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sun Aug 16, 2015 11:58 am

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: 9501
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sun Aug 16, 2015 3:14 pm

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
Site admin

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

Postby David_Schat » Wed Aug 19, 2015 7:05 am

Holy!

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

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

  1. \section{References}
  2.  
  3. \parbox{0.5\textwidth}{
  4. \begin{tabbing}
  5. \hspace{2.75cm} \= \hspace{4cm} \= \kill
  6. {\bf \large Personal} \> \\\\
  7. {\bf Name} \> xxx \\
  8. {\bf Known} \> 12 Years \\
  9. {\bf Contact} \> \href{mailto:xxx}{xxx}
  10. \end{tabbing}}
  11. \hfill
  12. \parbox{0.5\textwidth}{
  13. \begin{tabbing}
  14. \hspace{2.75cm} \= \hspace{4cm} \= \kill
  15. {\bf \large Professional} \> \\\\
  16. {\bf Name} \> xxx\\
  17. {\bf Company} \> Century College- Farmer, Teacher \\
  18. {\bf Contact} \> \href{mailto:xxx}{xxx}
  19. \end{tabbing}}
  20. \hfill
  21. \parbox{0.5\textwidth}{
  22. \begin{tabbing}
  23. \hspace{2.75cm} \= \hspace{4cm} \= \kill
  24. {\bf Name} \> xxx \\
  25. {\bf Known} \> 8 Years \\
  26. {\bf Contact} \> \href{mailto:xxx}{xxx}
  27. \end{tabbing}}
  28. \hfill
  29. \parbox{0.5\textwidth}{
  30. \begin{tabbing}
  31. \hspace{2.75cm} \= \hspace{4cm} \= \kill
  32. {\bf Name} \> xxx \\
  33. {\bf Company} \> Festival Foods- Grocery Manager \\
  34. {\bf Contact} \> xxx \\
  35. \end{tabbing}}
  36. \hfill
  37. \parbox{0.5\textwidth}{
  38. \begin{tabbing}
  39. \hspace{2.75cm} \= \hspace{4cm} \= \kill
  40. {\bf Name} \> xxx \\
  41. {\bf Known} \> 4 Years \\
  42. {\bf Contact} \> \href{mailto:xxx}{xxx}
  43. \end{tabbing}}
  44. \hfill
  45. \parbox{0.5\textwidth}{
  46. \begin{tabbing}
  47. \hspace{2.75cm} \= \hspace{4cm} \= \kill
  48. {\bf Name} \> xxx \\
  49. {\bf Company} \> Private IT Consultant \\
  50. {\bf Contact} \> \href{mailto:xxx}{xxx}
  51. \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

Postby David_Schat » Wed Aug 19, 2015 7:13 am

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

Postby David_Schat » Wed Aug 19, 2015 7:30 am

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


Return to “Curricula Vitae / Résumés”

Who is online

Users browsing this forum: No registered users and 1 guest