% (The MIT License)
%
% Copyright (c) 2021 Yegor Bugayenko
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the 'Software'), to deal
% in the Software without restriction, including without limitation the rights
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
% copies of the Software, and to permit persons to whom the Software is
% furnished to do so, subject to the following conditions:
%
% The above copyright notice and this permission notice shall be included in all
% copies or substantial portions of the Software.
%
% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
% SOFTWARE.

\documentclass[12pt]{article}
\usepackage{href-ul} % the package from the current dir
\usepackage{ffcode}
\usepackage{multicol}
\usepackage{xcolor}
\title{\ff{href-ul}: \LaTeX{} Package \newline That Makes Underscored Links}
\author{Yegor Bugayenko}
\date{0.1.0 2021/06/13}

\begin{document}
\pagenumbering{gobble}
\raggedbottom
\setlength{\parindent}{0pt}
\setlength{\columnsep}{32pt}
\setlength{\parskip}{6pt}
\maketitle

This package helps you make your hyperlinks underscored:

\begin{multicols}{2}
\setlength{\parskip}{0pt}
\scriptsize
\raggedcolumns
\begin{verbatim}
\documentclass{article}
\usepackage{href-ul}
\begin{document}
Go to \href{https://google.com}{Google}!
\end{document}
\end{verbatim}

\columnbreak

Go to \href{https://google.com}{Google}!
\end{multicols}

Changing the {\color{red}\href{https://github.com/yegor256/href-ul}{color}} of the text also changes the color of the line.

Changing the {\Large\href{https://github.com/yegor256/href-ul}{size}} of the text doesn't change the width of the line.

The package uses
\ff{\href{https://ctan.org/pkg/hyperref}{hyperref}}
and \ff{\href{https://ctan.org/pkg/ulem}{ulem}} packages.

More details about this package you can find
in the \ff{\href{https://github.com/yegor256/href-ul}{yegor256/href-ul}} GitHub repository.

\end{document}