Yes, there is the abbrevs package. It provides me with AM, PM, BC and AD. But what would be a sensible way to format the "Common Era" / "Before Common Era" prefixes / suffixes?
Asked
Active
Viewed 1,930 times
2
chaosflaws
- 591
1 Answers
4
You can define them analogous to the definitions of \BC and \AD which are defined by the abbrevs package as
\newcommand\AD{\DateMark{a.d}}
\newcommand\BC{\DateMark{b.c}}
The \DateMark macro takes care of eventual following punctuation and formats its contents with \DateMarkSize and \scshape. \DateMarkSize is \small per default which I'd change: the punctation marks in e.g. A.D. else will be of different size and it seems strange to me to use a fixed size for the marks, anyway: think of using them in a footnote or something...
\documentclass{article}
\usepackage{abbrevs}
\newcommand*\CE{\DateMark{c.e}}
\newcommand*\BCE{\DateMark{b.c.e}}
\begin{document}
\BCE \CE
\CE, \CE.
\end{document}

cgnieder
- 66,645
-
Hmmm .... I don't get this output from this code. Do you know if anything changed? – cfr Sep 15 '16 at 12:10
-
It seems this code worked three years ago. No idea if there have been changes. I never really used
abbrevs– cgnieder Sep 15 '16 at 12:12 -
-
Which reminds me of http://tex.stackexchange.com/a/59884/
abbrevshas bugs – cgnieder Sep 15 '16 at 12:32 -
For reference: http://tex.stackexchange.com/questions/329657/trouble-formatting-datemark-w-abbrevs-package-bce#. – cfr Sep 15 '16 at 12:34
-
1Seems the new question is a duplicate. And according to the comments I even made a bug report. – cgnieder Sep 15 '16 at 12:40
-
Too bad nothing seems to have changed .... (It would be different if the author couldn't find a fix, but one is provided ....) – cfr Sep 15 '16 at 15:49
\AM,\PM...?\AMis defined by theabbrevspackage as follows:\newcommand{\AM}{\DateMark{a.m}}– cgnieder Jun 09 '13 at 14:06abbrevsdocumentation. If they weren't I'd either have opened theabbrevs.styfile or would have used\meaning\AM. – cgnieder Jun 10 '13 at 07:34