1

I want to replace my Bibliography plain to acm (I think it fits my request).

Now I have: \bibliographystyle{plain} and result

[1] Name Surname ...

I want to sort as follows:

[1] Surname, Name ... (with or without comma)

Which packages and commands do I need?

Thank you for your help and advices.

Mico
  • 506,678
dotpy
  • 21
  • 2
    You can find some links to help choosing a style at https://tex.stackexchange.com/questions/35040/where-can-i-find-collections-of-bibliography-styles. But indeed replacing \bibliographystyle{plain} with \bibliographystyle{acm} would be a good start. – Marijn Oct 17 '22 at 09:05
  • 1
    I have some errors when I only change to acm Class memoir: Font command \sc is not supported. Citation `xxxxxx' on page 24 undefined. etc – dotpy Oct 17 '22 at 09:36
  • So the real issue arises because you employ the memoir document class -- a fact you didn't mention in the main body of your posting. – Mico Oct 17 '22 at 09:43
  • \documentclass[english, a4paper, oneside]{ppfcmthesis} – dotpy Oct 17 '22 at 09:55
  • @Mico sorry for that I am newbie. – dotpy Oct 17 '22 at 10:06

1 Answers1

1

The issue arises because the acm bibliography style would appear to contain \sc (and possibly other "old") font switching commands. For instance, the BibTeX function scapify is defined as follows in the file acm.bst:

FUNCTION {scapify}
{ duplicate$ empty$
    { pop$ "" }
    { "{\sc " swap$ * "}" * }
  if$
}

However, the memoir class no longer recognizes \sc and other oldstyle font-switching commands by default. By "old", I mean LaTeX versions up to version 2.09, i.e., prior to 1995. Really old by now...

The fix? Load the memoir class with option oldfontcommands:

\documentclass[oldfontcommands,<other options>]{memoir}

Do be aware that warning messages will be produced whenever an old font command -- such as \sc -- is encountered.

Mico
  • 506,678
  • How I should edit this:

    \documentclass[english, a4paper, oneside]{ppfcmthesis}

    – dotpy Oct 17 '22 at 09:57
  • @dotpy - Add oldfontcommands to the list of options. – Mico Oct 17 '22 at 10:08
  • \documentclass[english, a4paper, oneside, oldfontcommands]{ppfcmthesis}

    thats great I have only the error

    The \sc font command is deprecated. (memoir) Use \textsc{...} or {\scshape... } instead.

    – dotpy Oct 17 '22 at 10:15
  • 1
    @dotpy as Mico said this is a warning and not an error, so you can ignore the message. – Marijn Oct 17 '22 at 11:03
  • @dotpy - Did you notice the final sentence of my answer: "Do be aware that warning messages will be produced whenever an old font command -- such as \sc -- is encountered"? – Mico Oct 17 '22 at 11:26