2

I am looking for the package which can support external-link symbol for pdfLatex format. I don't want to use XeLatex or LuaLatex because I get errors, so I want to stick with pdfLatex format. However in this link answered by a user named 'topskip' gives a link for non-official pdfTex version for fontawesome package. So this takes me here. But now I can't download any pdfTex version package from this link. I can't understand how to include 'fontawesome' package for pdftex/pdflatex compiler. Can someone direct me to get this external-link symbol in pdfLatex.

In order to see the external-link symbol run this code in xeLaTex or luaLaTex:

    % Compile with LuaLaTeX or XeLaTeX
\documentclass{article}
\usepackage{fontawesome}
\usepackage[hidelinks]{hyperref}

% Redefinition, symbol included in link:
\let\orighref\href
\renewcommand{\href}[2]{\orighref{#1}{#2\,\faExternalLink}}

\begin{document}
\href{http://example.com}{example web site}
\end{document}
  • Try https://www.ctan.org/pkg/fontawesome?lang=en – John Kormylo Oct 11 '15 at 22:18
  • 1
    Could you please post an image of the "external-link symbol"? – Martin Thoma Oct 12 '15 at 08:13
  • @JohnKormylo I am aware of that link. But the point of my question is to find, if there is way to get this symbol when I run with pdfLatex and not xeLatex or luaLatex – user_rak Oct 12 '15 at 08:41
  • 1
    You don't need xaLatex or luaLatex. I just tested it to make sure. The warring is that IF YOU USE xaLatex or luaLatex you will also need fontspec. If you use pdfLatex, all you need is \usepackage{fontawesome}. – John Kormylo Oct 12 '15 at 15:26

0 Answers0