我试图编写一份简历,但我不知道为什么只有第二行有叠加的文本。以下是代码。
\documentclass{moderncv}
\moderncvtheme[blue]{casual}
\usepackage[utf8]{inputenc}
\usepackage[scale=0.8]{geometry}
\firstname{Abhilash}
\familyname{Sukumari}
\email{[email protected]}
\homepage{www.asn.web.nsce}
\newcommand\Colorhref[3][cyan]{\href{#2}{\small\color{#1}#3}}
\begin{document}
\maketitle
\section{Professional network}
\cvline{Linkedin.com} {\Colorhref{http://www.linkedin.com/pub/abhilash-sukumari/10/8a6/1a4} {abhilash sukumari} - Professional profile and links. }
\cvline{Stackoverflow.com} {\small\href{http://stackoverflow.com/users/51197/adam-matan} {Adam Matan} - My software questions and answers. }
\cvline{twitter.com} {\Colorhref[red]{http://twitter.com/justnoticed}{@justnoticed} - My tech tweets.}
\end{document}
这是我所得到的输出的快照。
答案1
更改\hintscolumnwidth
为有效的值,例如 3cm。您可以在带有大量注释的template.tex
因为moderncv
这可以作为文档。
\documentclass{moderncv}
\moderncvtheme[blue]{casual}
\usepackage[utf8]{inputenc}
\usepackage[scale=0.8]{geometry}
\firstname{Abhilash}
\familyname{Sukumari}
\email{[email protected]}
\homepage{www.asn.web.nsce}
\newcommand\Colorhref[3][cyan]{\href{#2}{\small\color{#1}#3}}
\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
\begin{document}
\maketitle
\section{Professional network}
\cvline{Linkedin.com} {\Colorhref{http://www.linkedin.com/pub/abhilash-sukumari/10/8a6/1a4} {abhilash sukumari} - Professional profile and links. }
\cvline{Stackoverflow.com} {\small\href{http://stackoverflow.com/users/51197/adam-matan} {Adam Matan} - My software questions and answers. }
\cvline{twitter.com} {\Colorhref[red]{http://twitter.com/justnoticed}{@justnoticed} - My tech tweets.}
\end{document}