[Tex/LaTex] LaTeX symbol with original font

fontsfontspecsymbols

How to put LaTeX symbol in a document with custom font set as default font?

I'm using Source Sans Pro as my default text font, when use \LaTeX to have its symbol, I get this:

enter image description here

which is very ugly!

Best Answer

You can use the metalogo package:

\documentclass{article}
\usepackage[default]{sourcesanspro}
\usepackage{metalogo}

\begin{document}

{\fontfamily{cmr}\selectfont\LaTeX} % the original

\LaTeX % what you get normally

\setlogokern{La}{-.24em}
\setlogokern{aT}{-.05em}

\LaTeX

\end{document}

enter image description here

In the picture I set the standard result in Computer Modern, the default one gets with Source Sans Pro and finally the adjusted one.

When you're satisfied with the result, maybe changing also other parameters (check with the documentation of metalogo), you can transfer the settings in the document preamble, for instance

\documentclass{article}
\usepackage[default]{sourcesanspro}
\usepackage{metalogo}

\setlogokern{La}{-.24em}
\setlogokern{aT}{-.05em}

\begin{document}

\LaTeX

\end{document}