Let's say I want to make a hyperlink like this:
A link is placed \href{www.google.com}{here} to google.
Then I decide to make a macro for that:
\newcommand\Myhref[2]{
\href{#1}{#2}
}
A link is placed \Myhref{www.google.com}{here} to google.
The spacing is wrong for the second example.
The motivation is that I want to apply a very custom style (with underlines and colouring and font-sizes) that is too complicated for the \hypersetup
global style. So I write a macro that applies the style to the hyperlink text. But the spacing is all wrong.
\let\Myhref\href
. But, you probably have a bigger scope. – Werner Sep 2 '15 at 6:26