Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uarial.sty not found #2

Open
misilot opened this issue May 1, 2024 · 1 comment
Open

uarial.sty not found #2

misilot opened this issue May 1, 2024 · 1 comment

Comments

@misilot
Copy link

misilot commented May 1, 2024

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

@TimRepke
Copy link

TimRepke commented Jun 6, 2024

[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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants