[texhax] Asterisk before list of references in CV

nhg at mit.edu nhg at mit.edu
Fri Sep 7 22:49:35 CEST 2007


In case anyone is curious, here is a solution, from Erik Demaine.

I put the suggested code in my main file, above \begin{document}.
Presto. No more asterisk!

Best regards,

-natalia

---------- Forwarded message ----------
From: Erik Demaine <edemaine at mit.edu>
Date: 7 Sep 2007 14:55
Subject: Re: Asterisk before list of references in CV
To: "nhg at mit.edu" <nhg at mit.edu>


Hi Natalia,

This seems to do it:

\makeatletter
\def\section{\@ifnextchar*\@@section at star\@@section}
\def\@@section at star*{\@@section}
\makeatother

The issue is that \thebibliography makes a \section*,
but the res.cls format you're using only supports \section
(with the same meaning as regular LaTeX \section*).
The code above makes \section{blah} and \section*{blah} equivalent
to \@@section{blah}, which is where res.cls actually defines sections.

Erik
--
Erik Demaine  |  edemaine at mit.edu  |  http://erikdemaine.org/


On Fri, 7 Sep 2007, nhg at mit.edu wrote:

>
> Dear TeX hackers,
>
> I am trying to include references in my CV with the bibunits package, and I
> find that this generates an asterisk in the margin at the beginning of each
> reference listing.
> I have used the bibunits package with success (i.e., no asterisk) with a
> different CV style file, so I am not sure what it is that is causing this
> particular style file (res.cls) to interact badly with my references.
>
> I have found an occurrence of the same type of problem in this archive, but
> I am not sure how to even begin to apply the mysteriously simple solution to
> my case:
>
>       http://tug.org/mail-archives/texhax/2006-July/006443.html
>
> I did try the other suggestion in the archived thread, which was to
> eliminate references to starred section/chapter headings (chapter*) and the
> like.  I found one call to a starred tabular environment in res.cls, but,
> commenting out its definition (and removing my reference to it in the tex
> file) failed to remove the pesky asterisk.
>
> Below are pointers to all the files in question.
> If anyone has any insight (or maybe a nice, simple CV style that doesn't
> have this issue?), I'd be so amazed.
> I'm reluctant to go blindly hunting around for a new CV style or, worse, go
> back to typing in references by hand.
>
> Best regards,
>
> -natalia
>
>
> my source: http://people.csail.mit.edu/nhg/cv/nhg_cv.tex
>
> my style file: http://people.csail.mit.edu/nhg/cv/res.cls
>
> my bib file: http://people.csail.mit.edu/nhg/cv/nhg.bib
>
> (my bib style file, but, i don't think this is the culprit since even using
> the "plain" style also produces an asterisk:
> http://people.csail.mit.edu/nhg/cv/myresume.bst)
>
> and the asterisked output: http://people.csail.mit.edu/nhg/cv/nhg_cv.pdf
>
> :
> And, for completeness:
> the no-asterisk source: http://people.csail.mit.edu/nhg/cv/nhg_res.tex
> the no-asterisk style: http://people.csail.mit.edu/nhg/cv/modresume.cls
> (bib is the same)
> the no-asterisk output: http://people.csail.mit.edu/nhg/cv/nhg_res.pdf
>


More information about the texhax mailing list