Text Formattingmoderncv | Formatting for Section Heading

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
phier
Posts: 1
Joined: Tue Nov 13, 2012 2:56 pm

moderncv | Formatting for Section Heading

Post by phier »

Hello dear,

the part of my document contains inside section which contains one subsection which contains few \cventriy elements, defined bellow.

I cant find out the way how to proper format it. As you can see the first \cventry (the beginning is the string: 10/2102 - present) is at the first page, then there is big blank place and another \cventry (09/2011 - 09/2012) starts and the begging of the second page.

The section Proffesional experience records starts with:

Code: Select all

\section{\textbf{Professional Experience Record}}
\subsection{\textbf{}}
\cventry{....
When I delete

Code: Select all

\subsection{\textbf{}}
- everthing is fine except the position of the date at the beggining of the \cventry ;/

Each element of \subsection{\textbf{}} is defined by this macro.

Code: Select all

\newcommand*{\cventry}[6]{%
  \cvline{#1}{%
    {\series#2}%
    \ifthenelse{\equal{#3}{}}{}{, {\slshape#3}}%
    \ifthenelse{\equal{#4}{}}{}{, #4}%
    \ifthenelse{\equal{#5}{}}{}{, #5}%
    .%
    \ifthenelse{\equal{#6}{}}{}{\newline{}\small#6}
    }}%

Is it possible that second \cventri will start right after the first one and the rest of it will continue on the second page?

The file attached is print screen of the output, I must use black because of private information. Could provide the snippets of source code of course.


Thanks a lot for you suggestions!


Best,
Peter
Attachments
formating.png
formating.png (69.52 KiB) Viewed 2927 times
Last edited by Stefan Kottwitz on Tue Nov 13, 2012 3:40 pm, edited 1 time in total.

Recommended reading 2024:

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

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

Post Reply