![komacv의 오른쪽 날짜 열](https://rvso.com/image/353368/komacv%EC%9D%98%20%EC%98%A4%EB%A5%B8%EC%AA%BD%20%EB%82%A0%EC%A7%9C%20%EC%97%B4.png)
나는 komacv를 사용하고 있습니다 (https://www.ctan.org/pkg/komacv) 내 이력서의 날짜 열을 다음과 비슷하게 오른쪽으로 이동하려고 합니다.moderncv에서 날짜 열을 이동하는 방법은 무엇입니까?(이것은 komacv가 아닌 moderncv에서만 작동합니다.) 어떤 아이디어가 있나요?
그런데. 평판이 부족해서 "komacv" 태그를 넣을 수 없습니다.
다음은 간단한 예입니다(komacv와 함께 제공되는 예에서 파생됨).
\documentclass[%
]{komacv}
\pagestyle{scrheadings}
\clearscrheadfoot
\ifoot{CV~\firstname~\familyname}
\ofoot{\pagemark/\totalpagemark}
% ===========================
% FONTS
% ===========================
\addtokomafont{firstnamefont}{\fontsize{35}{50}}
% ===========================
% BIBLIOGRAPHY
% ===========================
\usepackage[backend=biber,
style=ieee,%authortitle,%
sorting=ydnt,%
]{biblatex}
\bibliography{komacv.bib}
\defbibheading{bibliography}[Publications]{\section{#1}}
% ===========================
% PERSONAL DATA
% ===========================
\renewcommand*{\title}{CV}% PDF metadata
\renewcommand*{\firstname}{Jane}
\renewcommand*{\familyname}{Eyre}
\renewcommand*{\acadtitle}{B.\,Ed.}
\renewcommand*{\addressstreet}{Ferndean House}
\renewcommand*{\addresscity}{Ferndean Village}
\renewcommand*{\address}[2]{\addressstreet{#1}\addresscity{#2}}
\renewcommand*{\mobile}{009-87654321}
\begin{document}
\raggedbottom
\maketitle
\section{Personal Information}
\cvitem{Date of birth}{February 15, 1828}
\section{Education}
\cventry{1835--1838}{Homeschooling}{}{Gateshead}{grades 1--3}{Teacher: Mr.~NN, under supervision of my aunt Ms. Reed.}
\end{document}
답변1
해결 방법은 버전에 따라 다릅니다 komacv
. 아래에서 버전 2014/08/10 v1.0.1
및 2017/04/17 v1.1.1
.
komacv 버전 2014/08/10 v1.0.1:앞에 다음 줄을 추가합니다 \begin{document}
.
\usepackage{letltxmacro}
\makeatletter
\LetLtxMacro\origcvitem\cvitem
\renewcommand*{\cvitem}[3][\@afterelementsvspace]{%
\begin{tabular}{%
@{}p{\@maincolwidth}%
@{\hspace{\@sepcolwidth}}p{\@hintscolwidth}@{}%
}%
{#3} & \raggedleft\hintstyle{#2}%
\end{tabular}\\[#1]%
}
\renewcommand\@cvbarsection[1]{%
\origsection*{
\phantomsection{}% reset the anchor for hyperrefs
\addcontentsline{toc}{section}{#1}%
\origcvitem[0pt]{%
\raggedleft\hintstyle{\color{@secbarcolor}%
\rule{\@hintscolwidth}{1ex}}%
}{\sectionstyle{#1}}
}% end origsection
} % end cvbarsection
\makeatother
\documentclass[%
]{komacv}
\pagestyle{scrheadings}
\clearscrheadfoot
\ifoot{CV~\firstname~\familyname}
\ofoot{\pagemark/\totalpagemark}
% ===========================
% FONTS
% ===========================
\addtokomafont{firstnamefont}{\fontsize{35}{50}}
% ===========================
% BIBLIOGRAPHY
% ===========================
\usepackage[backend=biber,
style=ieee,%authortitle,%
sorting=ydnt,%
]{biblatex}
\bibliography{komacv.bib}
\defbibheading{bibliography}[Publications]{\section{#1}}
% ===========================
% PERSONAL DATA
% ===========================
\renewcommand*{\title}{CV}% PDF metadata
\renewcommand*{\firstname}{Jane}
\renewcommand*{\familyname}{Eyre}
\renewcommand*{\acadtitle}{B.\,Ed.}
\renewcommand*{\addressstreet}{Ferndean House}
\renewcommand*{\addresscity}{Ferndean Village}
\renewcommand*{\address}[2]{\addressstreet{#1}\addresscity{#2}}
\renewcommand*{\mobile}{009-87654321}
\usepackage{letltxmacro}
\makeatletter
\LetLtxMacro\origcvitem\cvitem
\renewcommand*{\cvitem}[3][\@afterelementsvspace]{%
\begin{tabular}{%
@{}p{\@maincolwidth}%
@{\hspace{\@sepcolwidth}}p{\@hintscolwidth}@{}%
}%
{#3} & \raggedleft\hintstyle{#2}%
\end{tabular}\\[#1]%
}
\renewcommand\@cvbarsection[1]{%
\origsection*{
\phantomsection{}% reset the anchor for hyperrefs
\addcontentsline{toc}{section}{#1}%
\origcvitem[0pt]{%
\raggedleft\hintstyle{\color{@secbarcolor}%
\rule{\@hintscolwidth}{1ex}}%
}{\sectionstyle{#1}}
}% end origsection
} % end cvbarsection
\makeatother
\begin{document}
\raggedbottom
\maketitle
\section{Personal Information}
\cvitem{Date of birth}{February 15, 1828}
\section{Education}
\cventry{1835--1838}{Homeschooling}{}{Gateshead}{grades 1--3}{Teacher: Mr.~NN, under supervision of my aunt Ms. Reed.}
\end{document}
코맥v 2017/04/17 v1.1.1:앞에 다음 줄을 추가합니다 \begin{document}
.
\makeatletter
\renewcommand*{\cvitem}[3][\@afterelementsvspace]{%
\begin{tabular}{%
@{}p{\@maincolwidth}%
@{\hspace{\@sepcolwidth}}p{\@hintscolwidth}@{}%
}%
{#3}&\RaggedLeft\hintstyle{#2}%
\end{tabular}\\[#1]%
}
\makeatother
\documentclass[%
]{komacv}
\pagestyle{scrheadings}
\clearscrheadfoot
\ifoot{CV~\firstname~\familyname}
\ofoot{\pagemark/\totalpagemark}
% ===========================
% FONTS
% ===========================
\addtokomafont{firstnamefont}{\fontsize{35}{50}}
% ===========================
% BIBLIOGRAPHY
% ===========================
\usepackage[backend=biber,
style=ieee,%authortitle,%
sorting=ydnt,%
]{biblatex}
\bibliography{komacv.bib}
\defbibheading{bibliography}[Publications]{\section{#1}}
% ===========================
% PERSONAL DATA
% ===========================
\renewcommand*{\title}{CV}% PDF metadata
\renewcommand*{\firstname}{Jane}
\renewcommand*{\familyname}{Eyre}
\renewcommand*{\acadtitle}{B.\,Ed.}
\renewcommand*{\addressstreet}{Ferndean House}
\renewcommand*{\addresscity}{Ferndean Village}
\renewcommand*{\address}[2]{\addressstreet{#1}\addresscity{#2}}
\renewcommand*{\mobile}{009-87654321}
\makeatletter
\renewcommand*{\cvitem}[3][\@afterelementsvspace]{%
\begin{tabular}{%
@{}p{\@maincolwidth}%
@{\hspace{\@sepcolwidth}}p{\@hintscolwidth}@{}%
}%
{#3}&\RaggedLeft\hintstyle{#2}%
\end{tabular}\\[#1]%
}
\makeatother
\begin{document}
\raggedbottom
\maketitle
\section{Personal Information}
\cvitem{Date of birth}{February 15, 1828}
\section{Education}
\cventry{1835--1838}{Homeschooling}{}{Gateshead}{grades 1--3}{Teacher: Mr.~NN, under supervision of my aunt Ms. Reed.}
\end{document}