例で、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}
結果
![](https://hanjouchan.org/wp-content/uploads/2020/11/screenshot-2020-11-11-at-2.00.30.png)
雑記
投稿日:
例で、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
関連記事
定積分の分数の大きさを調整するには、\mbox のサイズ指定を \small や \normalsize や \large 等に設定すると良い。 例 $\displaystyle \int _0 ^{ …
行列を水平方向に並べるとき、間隔を開けたいことがある。\hspace コマンドを使うことで、水平方向の間隔を指定することができる。(行列表示には amsmath パッケージを使う。) 例 \usepa …
大括弧を表示するには、\left[ または \right] を使う。 例 $\left[ \left( \frac{x}{y} \right) \right]$ 結果 片方だけの大括弧 片方だけのカッ …
斜めの点列を \ddots として書くのがコツ。\matrix を使うためにパッケージ amsmath を使う。 例 \usepackage{amsmath} \begin{document} $$ …
2023/01/18
matplotlib のグラフ作成と gnuplot との対応 比較
2022/10/14
pythonで配列(リスト)の、ある要素がわかっているときにその次の要素を取得する方法。