-
Notifications
You must be signed in to change notification settings - Fork 482
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
Can't use underscore in \author{} #59
Comments
hmm...can you report back what this does:
will require the |
Ok - will investigate...open to suggestions. |
I think it might be a font thing. There are a lot of font things going on the .cls file that I don't understand. |
I've run into this in the past too. As it only occurs in email addresses, I ended up just using the solution found here (http://tex.stackexchange.com/a/48633):
Until all these little bugs are worked out, maybe there's a case for a "known issues" page for all these templates? (or the GitHub wiki pages). |
That's (Wiki/Known Issues) a neat idea...i'll try to set it up soon. If @anjiro confirms you're solution we can close this issue. |
Ok, I poked at this a little more. The issue is in line 439 of the .cls file, where we have \newfont{\eaddfnt}{ptmr7t at 12pt} % 05-16-2006 atd I think it's due to the use of a 7-bit font; changing the |
Nice find! No problems here either when changing all 7-bit fonts in that section to 8-bit. As an aside, this also fixes a related issue where accented characters (e.g., àéîö etc) didn't work in author names. Probably well worth making this change. |
Wow. Thanks everyone. So I dug back into the standard ACM template and found the 8-bit fonts were added in 2006. % *********************************************
% -- End of block A --
%
%
% -- Start of block B -- UPDATED FONT NAMES
% *********************************************
% Gerry Murray 11/30/2006
% *********************************************
\ifnum\ACM@basesize=9\relax
\newfont{\secfnt}{ptmb8t at 12pt}
\newfont{\secit}{ptmbi8t at 12pt} %13 Jan 00 gkmt
... So I think we should take this merge too. |
@anjiro do you have a pull-request for me here? |
No, because I'm not familiar enough with Metafont to know how changing from On Thu, Dec 10, 2015 at 12:14 PM, ayman notifications@github.com wrote:
|
Nope...but here's the whole block from the ACM template: \ifnum\ACM@basesize=9\relax
\newfont{\secfnt}{ptmb8t at 12pt}
\newfont{\secit}{ptmbi8t at 12pt} %13 Jan 00 gkmt
\newfont{\subsecfnt}{ptmri8t at 11pt}
\newfont{\subsecit}{ptmbi8t at 11pt} %
\newfont{\ttlfnt}{phvb8t at 18pt}
\newfont{\ttlit}{phvbo8t at 18pt} % GM 2/4/2000
\newfont{\subttlfnt}{phvr8t at 14pt}
\newfont{\subttlit}{phvro8t at 14pt} % GM 2/4/2000
\newfont{\subttlbf}{phvb8t at 14pt} % 13 Jan 00 gkmt
\newfont{\aufnt}{phvr8t at 12pt}
\newfont{\auit}{phvro8t at 12pt} % GM 2/4/2000
\newfont{\affaddr}{phvr8t at 10pt}
\newfont{\affaddrit}{phvro8t at 10pt} % GM 2/4/2000
\newfont{\eaddfnt}{phvr8t at 12pt}
\newfont{\ixpt}{ptmr8t at 9pt}
\newfont{\confname}{ptmri8t at 8pt}
\newfont{\crnotice}{ptmr8t at 8pt}
\newfont{\ninept}{ptmr8t at 9pt}
\fi
\ifnum\ACM@basesize=10\relax
\newfont{\secfnt}{ptmb8t at 13pt}
\newfont{\secit}{ptmbi8t at 13pt} %13 Jan 00 gkmt
\newfont{\subsecfnt}{ptmri8t at 12pt}
\newfont{\subsecit}{ptmbi8t at 12pt} %
\newfont{\ttlfnt}{phvb8t at 20pt}
\newfont{\ttlit}{phvbo8t at 20pt} % GM 2/4/2000
\newfont{\subttlfnt}{phvr8t at 15pt}
\newfont{\subttlit}{phvro8t at 15pt} % GM 2/4/2000
\newfont{\subttlbf}{phvb8t at 15pt} % 13 Jan 00 gkmt
\newfont{\aufnt}{phvr8t at 12pt}
\newfont{\auit}{phvro8t at 12pt} % GM 2/4/2000
\newfont{\affaddr}{phvr8t at 11pt}
\newfont{\affaddrit}{phvro8t at 11pt} % GM 2/4/2000
\newfont{\eaddfnt}{phvr8t at 12pt}
\newfont{\ixpt}{ptmr8t at 10pt}
\newfont{\confname}{ptmri8t at 9pt}
\newfont{\crnotice}{ptmr8t at 9pt}
\newfont{\ninept}{ptmr8t at 10pt}
\fi So it might just be changing 7s to 8s. |
Example:
Yields
![screen shot 2015-11-11 at 3 13 05 pm](https://cloud.githubusercontent.com/assets/386877/11101757/bd5859fe-8886-11e5-8e92-0a2e231aea36.png)
Same results with
\_
.The text was updated successfully, but these errors were encountered: