treyhunner / resume

LaTeX resume format
MIT License
268 stars 132 forks source link

Compiled pdf all-bold when compiling with TexLive version 2022 #8

Closed ishraque1999 closed 1 year ago

ishraque1999 commented 1 year ago

Regardless of the contents of the .tex file, when the pdf is compiled with TexLive 2022, all of the text is bold. output.log

mikelu94 commented 1 year ago

I also encountered this issue. The easy fix I found was to wrap bf #1 with another pair of braces on line 84 of resume.cls as so:

  \MakeUppercase{{\bf #1}}
jasperhabicht commented 1 year ago

A correct solution would be not to use the deprecated \bf (and \em) command at all and change line 84 (of the .cls file) to:

-  \MakeUppercase{\bf #1}
+  \textbf{\MakeUppercase{#1}}

Line 60 should be changed to:

-    \hfil{\MakeUppercase{\namesize\bf \@name}}\hfil
+    \hfil{\textbf{\MakeUppercase{\namesize\@name}}}\hfil 

And line 101 should be changed to:

-   {\bf #1}                 \hfill                  {    #2}% Stop a space
+   \textbf{#1}              \hfill                  {    #2}% Stop a space

Finally, line 104 should be changed to:


-   {\em #3}                 \hfill                  {\em #4}% Stop a space
+   \emph{#3}                \hfill                  \emph{#4}% Stop a space
victorhartman commented 1 year ago

@jasperhabicht you should make a pull request to implement these changes! I can also do it, if you don't want to.

jasperhabicht commented 1 year ago

@VictorHartman Feel free to do it! I was not sure whether this project is still being actively managed. I opened another issue which should probably implemented as well.