# How to make URL bold?

%url package
\usepackage{url}

%code that makes URL font the same
\newcommand{\urlwofont}[1]
{
\urlstyle{same}\url{#1}
}

\begin{figure}[htbp]
\centering
\includegraphics[width=8cm, scale=0.55]{../Figures/~}
\caption{\small ~).
\label{~}
\end{figure}


I am using this sequence when stating reference URL for figures.

However, how can I make this URL bold?? I tried to use {\bf}, but I dont know where to put it or how to use it. Can anybody give advice for this?

-
Hi Michita, welcome to tex exchange! I indented your code snippets by clicking on the {} icon, and used backticks to highlight your {\bf}. I also removed the thanks- it may sound strange, but the best way to thank folks is to 'upvote' (and hopefully, accept) their answers :) –  cmhughes Mar 9 '12 at 22:36

\documentclass{article}
\pagestyle{empty}
\usepackage{url}  % or \usepackage{hyperref}
\begin{document}

Normal font:
\url{http://tex.stackexchange.com/}

Bold:
\def\UrlFont{\bfseries}
\url{http://tex.stackexchange.com/}
\end{document}


-
Thank you for your advice. It really helped me a lot! –  Michita Mar 9 '12 at 23:49

You may use UrlFont like this:

\def\UrlFont{\bfseries\rmfamily}
\url{This is bold roman}
`
-
Thanks~ it works very well!! –  Michita Mar 9 '12 at 23:49