例で、urlcolor=red と書けば、「link to google」の文字列は赤色(red)になる。
もし urlcolor=blue と書けば、リンクは青色になる。
例
\usepackage{hyperref}
\hypersetup{ colorlinks=true, urlcolor=red}
\begin{document}
\href{http://www.google.com}{link to google}
\end{document}
結果

雑記
投稿日:
例で、urlcolor=red と書けば、「link to google」の文字列は赤色(red)になる。
もし urlcolor=blue と書けば、リンクは青色になる。
\usepackage{hyperref}
\hypersetup{ colorlinks=true, urlcolor=red}
\begin{document}
\href{http://www.google.com}{link to google}
\end{document}
執筆者:seyanen
関連記事
行列を水平方向に並べるとき、間隔を開けたいことがある。\hspace コマンドを使うことで、水平方向の間隔を指定することができる。(行列表示には amsmath パッケージを使う。) 例 \usepa …
python3 で、文字列が別の文字列に含まれているかどうか判定する方法
in 演算子を使うことが最も簡単。 例 str1 = “こんにちは” str2 = “んにち” if str2 in str1: print(“含まれています”) else: print(“含まれ …
2023/01/18
matplotlib のグラフ作成と gnuplot との対応 比較
2022/10/14
pythonで配列(リスト)の、ある要素がわかっているときにその次の要素を取得する方法。