例で、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
関連記事
罫線を出力するには、pyplot.grid を使う。 例 import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, 2 …
python3 で文字列のリストを結合して1つの文字列にする方法
リストに対して、join メソッドを実行する。 例 list1 = [‘hello, ‘,’good ‘, ‘morning’] str1 = ”.join(list1) print(str1) 結 …
data.txt からの入力から、「4 5 6」というデータがある行を削除して、output.txt に出力する。(データの各行の最後に \n があることに注意。) 例 f = open(‘data. …
2023/01/18
matplotlib のグラフ作成と gnuplot との対応 比較
2022/10/14
pythonで配列(リスト)の、ある要素がわかっているときにその次の要素を取得する方法。