KarrLab/latex-grant

uarial.sty not found

Opened this issue · 1 comments

Using MacTex 2024, uarial.styl doesn't appear to exist anymore.

[untested]

Had a similar LaTeX error: File 'uarial.sty' not found error and I solved it by uploading uarial.sty to my project.

via https://stackoverflow.com/questions/64132848/alternative-use-for-uarial-package-in-overleaf-for-latex

In case the post or linked file ever disappear, here's the content:

\ProvidesPackage{uarial}%
[2006/03/21 1.0 (WaS)]
\RequirePackage{keyval}
\define@key{UaI}{scaled}[.95]{%
  \expandafter\def\csname ua1@Scale\endcsname{#1}}
\def\ProcessOptionsWithKV#1{%
  \let\@tempc\relax
  \let\UaI@tempa\@empty
  \ifx\@classoptionslist\relax\else
    \@for\CurrentOption:=\@classoptionslist\do{%
      \@ifundefined{KV@#1@\CurrentOption}%
      {}%
      {%
        \edef\UaI@tempa{\UaI@tempa,\CurrentOption,}%
        \@expandtwoargs\@removeelement\CurrentOption
          \@unusedoptionlist\@unusedoptionlist
      }%
    }%
  \fi
  \edef\UaI@tempa{%
    \noexpand\setkeys{#1}{%
      \UaI@tempa\@ptionlist{\@currname.\@currext}%
    }%
  }%
  \UaI@tempa
  \let\CurrentOption\@empty
}
\ProcessOptionsWithKV{UaI}
\AtEndOfPackage{%
  \let\@unprocessedoptions\relax
}
\renewcommand{\sfdefault}{ua1}
\endinput
%%
%% End of file `ua1.sty'.