Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm new to LaTeX and decided to write my PhD thesis with it (pdflatex.exe, TexStudio2.6.6, Win7x64).

Here we go. the angew. chem. style is usually without square brackets in the text. how can i modify the chem-angew.bbx, so that i get rid of those brackets in \cite{1} resulting in [1]?

I know that I have to redefine some command but a lack of knowledge does not allow me to complete the task. Could anyone help me?

here is a MWE

\documentclass{article}

\usepackage[style=chem-angew,sortcites=true]{biblatex}

\renewcommand{\cite}{\supercite}

\usepackage{filecontents}

\begin{filecontents}{test.bib}
@book{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@book{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}
@article{C03,
  author = {Cuthor, C.},
  year = {2003},
  title = {Charlie},
}
\end{filecontents}

\addbibresource{test.bib}

\begin{document}

We are citing \cite{A01,C03} and \cite{B02} and \cite{A01,B02,C03}

\printbibliography
\end{document}
share|improve this question

2 Answers 2

up vote 1 down vote accepted

Another possibility — as I think the superbracket command is used only for citations: add this to your preamble:

\let\mkbibsuperbracket\mkbibsuperscript
share|improve this answer

You need to alter the declaration for \supercite, which for the Angewandte style includes brackets as standard:

\DeclareCiteCommand{\supercite}[\mkbibsuperscript] % Change here
  {\usebibmacro{cite:init}%
   \let\multicitedelim=\supercitedelim
   \iffieldundef{prenote}
     {}
     {\BibliographyWarning{Ignoring prenote argument}}%
   \iffieldundef{postnote}
     {}
     {\BibliographyWarning{Ignoring postnote argument}}}
  {\usebibmacro{citeindex}%
   \usebibmacro{cite:comp}}
  {}
  {\usebibmacro{cite:dump}}
share|improve this answer
    
ok, it works, thank you very much! i would like to understand your modifications done to the code. can you please provide the unchanged code with brackets? –  ruffy May 21 at 17:46
    
about angew. chem style i was wrong. it is in brackets as standard. sorry for the wrong statement. anyway, nice to have this code. –  ruffy May 21 at 17:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.