~ambrevar/moderncv/fix-sectionbar

Viewing all changes in revision 46.

  • Committer: Pierre Neidhardt
  • Date: 2012-01-13 10:18:30 UTC
  • Revision ID: ambrevar@gmail.com-20120113101830-sagrkyn6zbo4mtrh
Synopsis: fixes the bar left to the section name not being properly aligned.

Issue: The issue comes from the different \parboxes used with the [m] parameter.
The parboxes are then aligned using the middle calculated from the height for each box.
Since the section name is not predictible, the middle will is not calculated upon the baseline.

Example: Write two sections "experience" and "Computer skills".
You will notice the bar not being aligned the same way.

Solution: Using only one parbox solved this issue.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: