Skip to content

Instantly share code, notes, and snippets.

@jrnold
Created September 10, 2011 03:16
Show Gist options
  • Save jrnold/1207880 to your computer and use it in GitHub Desktop.
Save jrnold/1207880 to your computer and use it in GitHub Desktop.
%% Note, the definitions of TeX and LaTeX are in texnames.sty file
%% Code from texnames.sty
\ifx\sc\undefined
\def\sc{%
% If there is no \scriptfont for the current family, use a fixed
% font. What more can we do?
\expandafter\ifx\the\scriptfont\fam\nullfont
\font\temp = cmr7 \temp
\else
\the\scriptfont\fam
\fi
\def\uppercasesc{\char\uccode`}%
}%
\fi
\ifx\uppercasesc\undefined
\let\uppercasesc = \relax
\fi
\newcommand{\JBA}[2]{
\textcolor{#1}{J\kern-.0em\raise.6ex\hbox{\sc \uppercasesc b}}%
\textcolor{#2}{\kern-.20em\lower.33ex\hbox{A}\spacefactor1000}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment