diff options
author | Norbert Preining <norbert@preining.info> | 2021-06-14 03:01:12 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-06-14 03:01:12 +0000 |
commit | 269940e8e52b921a855083542b9e1109af49af09 (patch) | |
tree | ba8b7431f6e4878661215e5a6127aba941f5d711 /macros/latex/contrib/href-ul/href-ul.tex | |
parent | 2ba4b1ac7860085c0b259aacb0d99bd2c730edbc (diff) |
CTAN sync 202106140301
Diffstat (limited to 'macros/latex/contrib/href-ul/href-ul.tex')
-rw-r--r-- | macros/latex/contrib/href-ul/href-ul.tex | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/macros/latex/contrib/href-ul/href-ul.tex b/macros/latex/contrib/href-ul/href-ul.tex new file mode 100644 index 0000000000..3f60b3f3ea --- /dev/null +++ b/macros/latex/contrib/href-ul/href-ul.tex @@ -0,0 +1,70 @@ +% (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}
\ No newline at end of file |