
Estou trabalhando neste currículo usando oModelo de quarenta segundos. Gosto muito do modelo, mas acho que a margem direita é muito pequena. Gostaria de mudar para mais de 0,002 mas seguindo como está escrito o código se eu mudar o valor, muda também a margem esquerda que na minha opinião não tem problema. Então, existe uma maneira de eu ter a margem esquerda em 0,002 e a margem direita em 0,004?
%set page margins
\newlength\sidebarwidth%
\newlength\topbottommargin%
\newlength\leftrightmargin%
\newlength\sidebartextwidth
% default values
\setlength{\sidebarwidth}{0.34\paperwidth}
\setlength{\topbottommargin}{0.02\paperheight}
\setlength{\leftrightmargin}{0.02\paperwidth}
% user overwrites
\DeclareOptionX{sidebarwidth}{\setlength{\sidebarwidth}{#1}}
\DeclareOptionX{topbottommargin}{\setlength{\topbottommargin}{#1}}
\DeclareOptionX{leftrightmargin}{\setlength{\leftrightmargin}{#1}}
Muito obrigado
Responder1
Adicionar depois\documentclass[ ....
\geometry{% added <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
top=\topbottommargin,
bottom=\topbottommargin,
left=\sidebarwidth + \leftrightmargin,
right=0.04\paperwidth, % set the right margin <<<<<<<<<<<<<<<<<
}
Seu código agora deve começar como
% !TeX TS-program = xelatex
\documentclass[
a4paper,
showframes, % ONLY to show the margins <<<<<<<<<<<<<<<<
]{fortysecondscv}
\geometry{
top=\topbottommargin,
bottom=\topbottommargin,
left=\sidebarwidth + \leftrightmargin,
right=0.04\paperwidth, % set the right margin <<<<<<<<<<<<<<<<<
}
......
A largura lateral (esquerda) pode ser alterada nas opções de classe, por exemplo:
\documentclass[
a4paper,
showframes, % ONLY to show the margins <<<<<<<<<<<<<<<<
sidebarwidth=0.4\paperwidth,
]{fortysecondscv}