Curricula Vitae / RésumésAdding Subsections to Friggeri CV

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
Post Reply
Tam_TX
Posts: 2
Joined: Fri May 01, 2015 12:30 am

Adding Subsections to Friggeri CV

Post by Tam_TX »

Hello:

I would like to have three subsections underneath the experience section: (1) teaching experience, (2) professional experience, and (3) consulting experience. How do I do this using cv_10.tex & friggeri-cv.cls (part of the friggeri template)?

I have done this using the moderncv template. Perhaps this template does not lend itself well to subsections? Please advise. Thanks!

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Tam_TX
Posts: 2
Joined: Fri May 01, 2015 12:30 am

Adding Subsections to Friggeri CV

Post by Tam_TX »

Ok

I've figured out how to create subsections using \textbf.

Code: Select all

\section{research}
\textbf{SELECTED EXPERIENCE}
However, now I've got a problem with my margins. The text is running off of the page. I want this document to be 8.5" by 11" and for all of the text to wrap around to fix onto the page. I'd also like to have line breaks so that I don't have too much white space at the bottom of a page.

I've tried to tweak the following section in the cls file, but that didn't work.

Code: Select all

\RequirePackage[left=4cm,top=2cm,right=1cm,bottom=2.5cm,nohead,nofoot]{geometry}


Does anyone have any helpful hints? Thanks!
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Adding Subsections to Friggeri CV

Post by Johannes_B »

Hi and welcome,

can you show us a stripped down version of your actual document, that gives us something to test? I am not familiar with the template.
You can replace your personal information with some filler text about ducks, or your favourite charackter in a book. Maybe the templates comes with an example that you can tweak to show us the behaviour you are describing with words.
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
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Adding Subsections to Friggeri CV

Post by Vel »

Hey Tam,

I've had a look at this and have found the issue. The friggeri-cv.cls file actually has code for a subsection style so when I tried to use one and it didn't work I had a closer look at it. It turns out the code was incorrect, this is the old version:

Code: Select all

\renewcommand{\subsection}[2]{
  \par\vspace{.5\parskip}%
  \Large\headingfont\color{headercolor} #2%
  \par\vspace{.25\parskip}%
}
Once I changed it to this it worked great:

Code: Select all

\renewcommand{\subsection}[1]{
  \par\vspace{.5\parskip}%
  {\Large\headingfont\color{headercolor} #1}
  \par\vspace{.25\parskip}%
}
This means you can now use the \subsection{blah} command as normal. See the attached screenshot for a preview of what it looks like!

I will now update the template on the website to incorporate this change as I think it would be useful to many other people.

Cheers,
Vel
Attachments
Screen Shot 2015-05-03 at 12.09.22 pm.png
Screen Shot 2015-05-03 at 12.09.22 pm.png (195.71 KiB) Viewed 8648 times
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Adding Subsections to Friggeri CV

Post by Vel »

Ok I found that the bibliography was using subsection for the headings within it and my change broke this. I have now also made a few more changes so this is no longer a problem. Please download the new version from the website and this will allow you to use \subsection{text} while also formatting the bibliography sections correctly. It also includes an example of how to use subsections inside the experience section.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply