如何\cvreference
在简历(文档类别moderncv
:)的参考文献中添加脚注?最好将其放在人名后面...
我的代码如下:
\documentclass{moderncv}
\firstname{John}
\familyname{Doe}
% Define \cvdoublecolumn, which sets its arguments in two columns without any labels
\newcommand{\cvdoublecolumn}[2]{%
\cvitem[0.75em]{}{%
\begin{minipage}[t]{\listdoubleitemcolumnwidth}#1\end{minipage}%
\hfill%
\begin{minipage}[t]{\listdoubleitemcolumnwidth}#2\end{minipage}%
}%
}
% usage: \cvreference{name}{address line 1}{address line 2}{address line 3}{address line 4}{e-mail address}{phone number}
% Everything but the name is optional
% If \addresssymbol, \emailsymbol or \phonesymbol are specified, they will be used.
% (Per default, \addresssymbol isn't specified, the other two are specified.)
% If you don't like the symbols, remove them from the following code, including the tilde ~ (space).
\newcommand{\cvreference}[7]{%
\textbf{#1}\newline% Name
\ifthenelse{\equal{#2}{}}{}{\addresssymbol~#2\newline}%
\ifthenelse{\equal{#3}{}}{}{#3\newline}%
\ifthenelse{\equal{#4}{}}{}{#4\newline}%
\ifthenelse{\equal{#5}{}}{}{#5\newline}%
\ifthenelse{\equal{#6}{}}{}{\emailsymbol~\texttt{#6}\newline}%
\ifthenelse{\equal{#7}{}}{}{\phonesymbol~#7}}
\begin{document}
\maketitle
\section{References}
\subsection{set in separate rows}
\cvdoublecolumn{\cvreference{Nicolai Reshetikhin}
{Department of Mathematics}
{University of California}
{Berkeley, CA 94720-3840}
{}
{[email protected]}
{510-643-6234}%
}
{\cvreference{Mikhail Khovanov}
{Department of Mathematics}
{Columbia University}
{990 Broadway}
{New York, NY 10027}
{[email protected]}
{212-854-4186}%
}
\cvdoublecolumn{\cvreference{Roman Bezrukavnikov}
{Department of Mathematics}
{Massachusetts Institute of Technology}
{77 Massachusetts Avenue}
{Cambridge, MA 02139}
{[email protected]}
{617-253-2684}
}
{\cvreference{Tom Braden}
{Department of Mathematics}
{University of Massachusetts}
{Amherst, MA 94720-3840}
{}
{[email protected]}
{413-545-1732}
}
\subsection{set in one row only (like your example)}
\cvdoublecolumn{\cvreference{Nicolai Reshetikhin}
{Department of Mathematics}
{University of California}
{Berkeley, CA 94720-3840}
{}
{[email protected]}
{510-643-6234}\\[1em]
\cvreference{Roman Bezrukavnikov}
{Department of Mathematics}
{Massachusetts Institute of Technology}
{77 Massachusetts Avenue}
{Cambridge, MA 02139}
{[email protected]}
{617-253-2684}
}
{\cvreference{Mikhail Khovanov}
{Department of Mathematics}
{Columbia University}
{990 Broadway}
{New York, NY 10027}
{[email protected]}
{212-854-4186}\\[1em]
\cvreference{Tom Braden}
{Department of Mathematics}
{University of Massachusetts}
{Amherst, MA 94720-3840}
{}
{[email protected]}
{413-545-1732}
}
\end{document}
答案1
课堂上moderncv
不准备使用脚注。
如果我理解正确的话,您可以在序言中添加一些命令来获得如下脚注:
请参阅以下 MWE(重要的代码更改以 标记<====
,请注意我使用的是moderncv
当前版本 2.0.0):
\documentclass{moderncv} % Version 2.0.0
\moderncvstyle{classic}
\moderncvcolor{blue}
\name{John}{Doe} % <====================================================
% Define \cvdoublecolumn, which sets its arguments in two columns without any labels
\newcommand{\cvdoublecolumn}[2]{%
\cvitem[0.75em]{}{%
\begin{minipage}[t]{\listdoubleitemcolumnwidth}#1\end{minipage}%
\hfill%
\begin{minipage}[t]{\listdoubleitemcolumnwidth}#2\end{minipage}%
}%
}
% usage: \cvreference{name}{address line 1}{address line 2}{address line 3}{address line 4}{e-mail address}{phone number}
% Everything but the name is optional
% If \addresssymbol, \emailsymbol or \phonesymbol are specified, they will be used.
% (Per default, \addresssymbol isn't specified, the other two are specified.)
% If you don't like the symbols, remove them from the following code, including the tilde ~ (space).
\newcommand{\cvreference}[7]{%
\raggedright % <========================================================
\textbf{#1}\newline% Name
\ifthenelse{\equal{#2}{}}{}{\addresssymbol~#2\newline}%
\ifthenelse{\equal{#3}{}}{}{#3\newline}%
\ifthenelse{\equal{#4}{}}{}{#4\newline}%
\ifthenelse{\equal{#5}{}}{}{#5\newline}%
\ifthenelse{\equal{#6}{}}{}{\emailsymbol~\url{#6}\newline}% <=======
\ifthenelse{\equal{#7}{}}{}{\phonesymbol~#7}}
\makeatletter % <=======================================================
\renewcommand\footnoterule{%
\vspace{3mm}
\kern-3\p@
\hrule\@width.4\columnwidth
\kern2.6\p@}
\newcommand\@makefntext[1]{%
\parindent 1em%
\noindent
\hb@[email protected]{\hss\@makefnmark}#1}
\makeatother % <========================================================
\begin{document}
\makecvtitle % <========================================================
\section{References}
\subsection{set in separate rows}
\cvdoublecolumn{\cvreference{Nicolai Reshetikhin\footnote{test1}} % <===
{Department of Mathematics}
{University of California}
{Berkeley, CA 94720-3840}
{}
{[email protected]}
{510-643-6234}%
}
{\cvreference{Mikhail Khovanov\footnote{test2 test2 test2 test2 test2 test2 test2 test2 test2 }}
{Department of Mathematics}
{Columbia University}
{990 Broadway}
{New York, NY 10027}
{[email protected]}
{212-854-4186}%
}
\cvdoublecolumn{\cvreference{Roman Bezrukavnikov}
{Department of Mathematics}
{Massachusetts Institute of Technology}
{77 Massachusetts Avenue}
{Cambridge, MA 02139}
{[email protected]}
{617-253-2684}
}
{\cvreference{Tom Braden}
{Department of Mathematics}
{University of Massachusetts}
{Amherst, MA 94720-3840}
{}
{[email protected]}
{413-545-1732}
}
\subsection{set in one row only (like your example)}
\cvdoublecolumn{\cvreference{Nicolai Reshetikhin}
{Department of Mathematics}
{University of California}
{Berkeley, CA 94720-3840}
{}
{[email protected]}
{510-643-6234}\\[1em]
\cvreference{Roman Bezrukavnikov}
{Department of Mathematics}
{Massachusetts Institute of Technology}
{77 Massachusetts Avenue}
{Cambridge, MA 02139}
{[email protected]}
{617-253-2684}
}
{\cvreference{Mikhail Khovanov}
{Department of Mathematics}
{Columbia University}
{990 Broadway}
{New York, NY 10027}
{[email protected]}
{212-854-4186}\\[1em]
\cvreference{Tom Braden}
{Department of Mathematics}
{University of Massachusetts}
{Amherst, MA 94720-3840}
{}
{[email protected]}
{413-545-1732}
}
\end{document}
请注意,我使用命令\url
来排版您的 URL,并使用\raggedright
在我看来更好的布局。