一些例子:

一些例子:

有谁知道有没有办法为 biblatex 设置样式?我想要一种方法来使用 linkedin hyperref 反向引用引用的页面,Biblatex 似乎可以做到这一点,但样式相当丑陋!!!我想要一种像 amsalpha 一样的样式,有什么想法吗?

一些例子:

我的原始 tex 来源

\documentclass{article}
\usepackage{backref}
\usepackage[backref]{hyperref}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book {jost1995riemannian,
    AUTHOR = {Jost, J{\"u}rgen},
     TITLE = {Riemannian geometry and geometric analysis},
    SERIES = {Universitext},
   EDITION = {Sixth},
 PUBLISHER = {Springer},
   ADDRESS = {Heidelberg},
      YEAR = {2011},
     PAGES = {xiv+611},
      ISBN = {978-3-642-21297-0},
   MRCLASS = {53Cxx (35R01 53-02 57R58 58E05 58E20 58J05)},
  MRNUMBER = {2829653},
MRREVIEWER = {Fr{\'e}d{\'e}ric Robert},
       DOI = {10.1007/978-3-642-21298-7},
       URL = {http://dx.doi.org/10.1007/978-3-642-21298-7},
}
@book {freed1984instantons,
    AUTHOR = {Freed, Daniel S. and Uhlenbeck, Karen K.},
     TITLE = {Instantons and four-manifolds},
    SERIES = {Mathematical Sciences Research Institute Publications},
    VOLUME = {1},
   EDITION = {Second},
 PUBLISHER = {Springer-Verlag},
   ADDRESS = {New York},
      YEAR = {1991},
     PAGES = {xxii+194},
      ISBN = {0-387-97377-X},
   MRCLASS = {57R55 (57M40 57N05 57R57 57R60 58D27 58G10)},
  MRNUMBER = {1081321 (91i:57019)},
       DOI = {10.1007/978-1-4613-9703-8},
       URL = {http://dx.doi.org/10.1007/978-1-4613-9703-8},
}
\end{filecontents}
\begin{document}
\cite{jost1995riemannian,freed1984instantons}
\bibliographystyle{amsalpha}
\bibliography{\jobname}
\end{document}

Biblatex 的一个

\documentclass{article}
\usepackage[backref=true,backend=bibtex]{biblatex}
\usepackage{hyperref}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book {jost1995riemannian,
    AUTHOR = {Jost, J{\"u}rgen},
     TITLE = {Riemannian geometry and geometric analysis},
    SERIES = {Universitext},
   EDITION = {Sixth},
 PUBLISHER = {Springer},
   ADDRESS = {Heidelberg},
      YEAR = {2011},
     PAGES = {xiv+611},
      ISBN = {978-3-642-21297-0},
   MRCLASS = {53Cxx (35R01 53-02 57R58 58E05 58E20 58J05)},
  MRNUMBER = {2829653},
MRREVIEWER = {Fr{\'e}d{\'e}ric Robert},
       DOI = {10.1007/978-3-642-21298-7},
       URL = {http://dx.doi.org/10.1007/978-3-642-21298-7},
}
@book {freed1984instantons,
    AUTHOR = {Freed, Daniel S. and Uhlenbeck, Karen K.},
     TITLE = {Instantons and four-manifolds},
    SERIES = {Mathematical Sciences Research Institute Publications},
    VOLUME = {1},
   EDITION = {Second},
 PUBLISHER = {Springer-Verlag},
   ADDRESS = {New York},
      YEAR = {1991},
     PAGES = {xxii+194},
      ISBN = {0-387-97377-X},
   MRCLASS = {57R55 (57M40 57N05 57R57 57R60 58D27 58G10)},
  MRNUMBER = {1081321 (91i:57019)},
       DOI = {10.1007/978-1-4613-9703-8},
       URL = {http://dx.doi.org/10.1007/978-1-4613-9703-8},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{jost1995riemannian,freed1984instantons}
\printbibliography
\end{document}

答案1

一个不太完美的解决方案是:

\documentclass{article}    
\usepackage[backref=true,
    backend=bibtex,% or biber
    style=alphabetic,
    citestyle=authoryear,
    sortlocale=de_DE,
    natbib=true,
    doi=false,
    isbn=false,
    url=false]{biblatex}
\usepackage{hyperref}
%\DefineBibliographyStrings{english}{%
%  backrefpage = {page},% originally "cited on page"
%  backrefpages = {pages},% originally "cited on pages"
%}
\makeatletter
\newrobustcmd*{\parentexttrack}[1]{%
  \begingroup
  \blx@blxinit
  \blx@setsfcodes
  \blx@bibopenparen#1\blx@bibcloseparen
  \endgroup}

\AtEveryCite{%
  \let\parentext=\parentexttrack%
  \let\bibopenparen=\bibopenbracket%
  \let\bibcloseparen=\bibclosebracket}

\makeatother
\renewcommand{\cite}{\parencite}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book {jost1995riemannian,
    AUTHOR = {Jost, J{\"u}rgen},
     TITLE = {Riemannian geometry and geometric analysis},
    SERIES = {Universitext},
   EDITION = {Sixth},
 PUBLISHER = {Springer},
   ADDRESS = {Heidelberg},
      YEAR = {2011},
     PAGES = {xiv+611},
      ISBN = {978-3-642-21297-0},
   MRCLASS = {53Cxx (35R01 53-02 57R58 58E05 58E20 58J05)},
  MRNUMBER = {2829653},
MRREVIEWER = {Fr{\'e}d{\'e}ric Robert},
       DOI = {10.1007/978-3-642-21298-7},
       URL = {http://dx.doi.org/10.1007/978-3-642-21298-7},
}
@book {freed1984instantons,
    AUTHOR = {Freed, Daniel S. and Uhlenbeck, Karen K.},
     TITLE = {Instantons and four-manifolds},
    SERIES = {Mathematical Sciences Research Institute Publications},
    VOLUME = {1},
   EDITION = {Second},
 PUBLISHER = {Springer-Verlag},
   ADDRESS = {New York},
      YEAR = {1991},
     PAGES = {xxii+194},
      ISBN = {0-387-97377-X},
   MRCLASS = {57R55 (57M40 57N05 57R57 57R60 58D27 58G10)},
  MRNUMBER = {1081321 (91i:57019)},
       DOI = {10.1007/978-1-4613-9703-8},
       URL = {http://dx.doi.org/10.1007/978-1-4613-9703-8},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{jost1995riemannian,freed1984instantons}
\printbibliography
\end{document}

答案2

在这里我还发现了一个完美的:

\documentclass{article}    
\usepackage[pagebackref]{hyperref}
\renewcommand*{\backref}[1]{}
\renewcommand*{\backrefalt}[4]{
    \ifcase #1
        No cited.
    \or
        page #2.
    \else
        pages #2.
    \fi
}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book {jost1995riemannian,
    AUTHOR = {Jost, J{\"u}rgen},
     TITLE = {Riemannian geometry and geometric analysis},
    SERIES = {Universitext},
   EDITION = {Sixth},
 PUBLISHER = {Springer},
   ADDRESS = {Heidelberg},
      YEAR = {2011},
     PAGES = {xiv+611},
      ISBN = {978-3-642-21297-0},
   MRCLASS = {53Cxx (35R01 53-02 57R58 58E05 58E20 58J05)},
  MRNUMBER = {2829653},
MRREVIEWER = {Fr{\'e}d{\'e}ric Robert},
       DOI = {10.1007/978-3-642-21298-7},
       URL = {http://dx.doi.org/10.1007/978-3-642-21298-7},
}
@book {freed1984instantons,
    AUTHOR = {Freed, Daniel S. and Uhlenbeck, Karen K.},
     TITLE = {Instantons and four-manifolds},
    SERIES = {Mathematical Sciences Research Institute Publications},
    VOLUME = {1},
   EDITION = {Second},
 PUBLISHER = {Springer-Verlag},
   ADDRESS = {New York},
      YEAR = {1991},
     PAGES = {xxii+194},
      ISBN = {0-387-97377-X},
   MRCLASS = {57R55 (57M40 57N05 57R57 57R60 58D27 58G10)},
  MRNUMBER = {1081321 (91i:57019)},
       DOI = {10.1007/978-1-4613-9703-8},
       URL = {http://dx.doi.org/10.1007/978-1-4613-9703-8},
}
\end{filecontents}

\begin{document}
\cite{jost1995riemannian,freed1984instantons}
\bibliographystyle{amsalpha}
\bibliography{\jobname.bib}
\end{document}

相关内容