![创建指向同一文档中上一个项目的链接](https://linux22.com/image/474454/%E5%88%9B%E5%BB%BA%E6%8C%87%E5%90%91%E5%90%8C%E4%B8%80%E6%96%87%E6%A1%A3%E4%B8%AD%E4%B8%8A%E4%B8%80%E4%B8%AA%E9%A1%B9%E7%9B%AE%E7%9A%84%E9%93%BE%E6%8E%A5.png)
在此模板中:
\section{Work Experience \newline}
\cventry{start-end_date}{worked at company A}{[list, of, stacks]}{}{}{\begin{itemize}
\item tech stack similar to previous freelance activity
\end{itemize}}
\cventry{start-end_date}{worked at compay B}{[another stack different from A above]}{}{}{\begin{itemize}
\item did cool stuff
\end{itemize}}
\cventry{start-end_date}{freelancer}{[the same stack as company A (the first one)]}{}{}{\begin{itemize}
\item did cool stuff
\end{itemize}}
如何将项目的链接添加到商店。例如,单击第一个商店(公司 A)的项目列表中的链接应转到第三个商店(包含自由职业工作的商店)。
这可行吗?
我不知道如何文特里和物品已定义。持有Ctrl并点击它们
正如这里建议的:
仅突出显示 pdf 预览。
完整示例:
\documentclass[10pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{black}
\usepackage[defernumbers=true,backend=bibtex,sorting=ydnt,maxbibnames=99]{biblatex}
\addbibresource{publications.bib}
\usepackage[top=1cm, left =0.5cm, right =1.2cm, bottom =1cm]{geometry}
\setlength{\hintscolumnwidth}{3cm}
\setlength{\makecvheadnamewidth}{10cm}
\name{\hspace{0.5cm}User \\ \indent \hspace{0.5cm}Name}{}
\title{\hspace{0.5cm} Dev}
\address{address}{Street}{country}
\begin{document}
\vspace*{-0.6cm}
\makecvtitle
\vspace{-0.7cm}
\section{Work exp \newline}
\cventry{start-end date}{Role}{[tech stack]}{}{}{\begin{itemize}
\item worked on stuff
\end{itemize}}
答案1
有一些\label
和\hyperref
:
\documentclass[10pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\name{\hspace{0.5cm}User \\ \indent \hspace{0.5cm}Name}{}
\title{\hspace{0.5cm} Dev}
\address{address}{Street}{country}
\AtBeginDocument{\hypersetup{pdfborder = 0 0 1,linkcolor=blue}}
\begin{document}
\section{Work exp \newline}
\cventry{start-end date\label{compA}}{Role}{[tech stack]}{}{}{\begin{enumerate}
\item worked on some stuff
\item worked on stuff
\end{enumerate}}
\cventry{start-end date}{worked at compay B}{[another stack different from A above]}{}{}{\begin{enumerate}
\item did cool stuff\label{stuff}
\end{enumerate}}
\cventry{start-end date}{freelancer}{[the same stack as company A (\hyperref[compA]{the first one})]}{}{}{\begin{enumerate}
\item did cool stuff (see \hyperref[stuff]{here})
\end{enumerate}}
\end{document}
我调整一下hypersetup
以查看链接(参见https://tex.stackexchange.com/a/44377/151808)