liantze / AltaCV

Yet another alternative curriculum vitae/résumé class with LaTeX
Other
1.27k stars 331 forks source link

sidebar left position #19

Closed shannonpileggi closed 5 years ago

shannonpileggi commented 5 years ago

How can I modify the .cls to have the sidebar in the left position instead of the right?

liantze commented 5 years ago

First swap the \geometry margins around so that you have on line 38 of the .tex file:

\geometry{left=9cm,right=1cm, ... 

Then add these lines in the preable:

\reversemarginpar
\patchcmd{\fullwidth}
  {\begin{adjustwidth}{}{\dimexpr-\marginparwidth-\marginparsep\relax}}
  {\begin{adjustwidth}{\dimexpr-\marginparwidth-\marginparsep\relax}{}}
  {}{}

That should do it.

shannonpileggi commented 5 years ago

Super, thanks! However, when I do that the header right aligns with the sidebar on the right instead of left aligns. How can I fix that?

liantze commented 5 years ago

This is what I see:

screen shot 2018-10-06 at 3 38 16 pm

Are you getting a different output?

shannonpileggi commented 5 years ago

I went back to the original files and I was able to replicate this, thanks for following up!