如何将简历背面的超链接文本设置为粗体?

问题描述 投票:0回答:2

我试图添加一个链接到我的项目,但在添加超链接时我无法将其加粗,任何人都可以帮忙..

overleaf
2个回答
1
投票

如果您想使用\url,请参阅

如果您使用

\href
包中的
hyperref
,您可以简单地将文本包装在
\textbf
中。

示例:

\documentclass{article}

\usepackage{hyperref}

%% Removes boxes around link and makes them blue
\usepackage{xcolor}
\hypersetup{
    colorlinks,
    linkcolor={red!50!black},
    citecolor={blue!50!black},
    urlcolor={blue!80!black}
}
%%

\begin{document}

This is an example of a \textbf{\href{https://stackoverflow.com}{bold link}}.

Where this is \href{https://stackoverflow.com}{not a bold link}.


\end{document}

结果:

enter image description here


0
投票

如果您想将链接中的特定单词加粗并保留常规格式,这将起作用。

\documentclass{article}
\usepackage{hyperref}

\begin{document}

\href{your-link-here}{\textbf{Bond} Link}

\end{document}
© www.soinside.com 2019 - 2024. All rights reserved.