%% This is package amsrefs_format.sty by Jean-Olivier Irisson %% %% This package allow standalone controle of the way amsrefs formats %% bibliography in the latex document (italics, names handling etc.) %% \ProvidesPackage{amsrefs_format}[2004/09/28] %\RequirePackage[author-year,initials,backrefs,nobysame,short-journals]{amsrefs}\relax %\RequirePackage{my_abbreviations}\relax \RequirePackage[author-year,initials,nobysame,short-journals]{amsrefs}\relax % See amsref documentation for the meaning of the options %% Defining how authors, editors, translators... names are printed. %% First and other names can be printed differently. %% The three possibilities are: %% - nameBE: Wurmanski John D. Jr %% - nameLE: John D. Wurmanski %% - nameinverted: Wurmanski, John D., Jr \def\set@firstname#1{% \set@name{#1}\setbib@nameinverted } \def\set@othername#1{% \set@name{#1}\setbib@nameinverted } %% Style of "et al." text \renewcommand{\etaltext}{\textit{et al.}} %% Defines if the References chapter/section should be numbered or not %% Numbered \renewenvironment{bibchapter}[1][\bibname]{% \begingroup \protected@edef\@{\endgroup\protect\chapter{#1}}% \@ }{\par} \renewenvironment{bibsection}[1][\refname]{% \begingroup \protected@edef\@{\endgroup\protect\section{#1}}% \@ }{\par} %% Not numered % \renewenvironment{bibchapter}[1][\bibname]{% % \begingroup % \protected@edef\@{\endgroup\protect\chapter*{#1}}% % \@ % }{\par} % \renewenvironment{bibsection}[1][\refname]{% % \begingroup % \protected@edef\@{\endgroup\protect\section*{#1}}% % \@ % }{\par} %% FORMAT OF THE REFERENCES : %% One must define how editors and translators are identified. Three solution are available: %% %% - \PrintEditorsA: Foo and Bar (eds.) %% - \PrintEditorsB: Foo and Bar eds. %% - \PrintEditorsC: Edited by Foo and Bar %% %% - \PrintTranslatorsA: Foo and Bar (trans.) %% - \PrintTranslatorsB: macin and Bar trans. %% - \PrintTranslatorsC: Translated by Foo et Bar \BibSpec{article}{% +{}{\PrintAuthors} {author} +{}{ \parenthesize} {date} +{.}{ } {title} +{.}{ \textit} {journal} +{}{ \textbf} {volume} +{}{\parenthesize} {number} +{:}{} {pages} +{.}{ DOI: } {doi} +{.}{} {transition} } \BibSpec{collection.article}{% +{}{\PrintAuthors} {author} +{}{ \parenthesize} {date} +{.}{ } {title} +{.}{ In: \PrintEditorsA} {editor} +{,}{ \textit} {booktitle} +{,}{ \PrintEdition ed.} {edition} +{,}{ vol. } {volume} +{,}{ } {publisher} +{,}{ } {address} +{,}{ \DashPages} {pages} +{.}{ DOI: } {doi} +{.}{} {transition} } \BibSpec{book}{% +{}{\PrintAuthors} {author} +{}{ \parenthesize} {date} +{.}{ \textit} {title} +{,}{ \PrintEdition ed.} {edition} +{,}{ vol.} {volume} +{.}{ \PrintEditorsA} {editor} +{.}{ } {publisher} +{,}{ } {address} +{.}{} {transition} } \BibSpec{thesis}{% +{}{\PrintAuthors} {author} +{}{ \parenthesize} {date} +{.}{ \textit} {title} +{.}{ } {type} +{ }{ in the } {organization} +{,}{ } {address} +{.}{} {transition} } \BibSpec{report}{% +{}{\PrintAuthors} {author} +{}{ \parenthesize} {date} +{.}{ } {title} +{.}{ } {type} +{,} {Number } {number} +{.}{ } {institution} +{,}{ } {address} +{.}{} {transition} } \BibSpec{misc}{% +{}{\PrintAuthors} {author} +{}{ \parenthesize} {date} +{.}{ \textit} {title} +{.}{ } {type} +{.}{ } {organization} +{,}{ } {address} +{.}{ \tt} {url} +{.}{} {transition} } %% %%% End of amsrefs_format.sty