LaTeX forum ⇒ BibTeX, biblatex and biberUse \inparencite to add text like "vgl."/"c.f." before year

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Posts: 3
Joined: Mon Aug 18, 2014 9:58 pm

Use \inparencite to add text like "vgl."/"c.f." before year

Postby proxxi » Thu Nov 20, 2014 4:47 pm


i have a question regarding the \inparencite command. I use it to integrate citations into the text. Generally it works fine, but for indirect citations I would need a "vgl." (it's the german equivalent for "c.f.") before the date. However, the command does not exactly what I expect it to do. Example:

I use the command like this:

"As \inparencite[vgl.][S. 15]{Someone1990} stated, blablabla."

The output is:
"As vgl. Someone (1990, S. 15) stated, blablabla."

What I want it to look like:
"As Someone (vgl. 1990, S. 15) stated, blablabla."

Does anyone know how to change this?

My main.tex looks like this:
  1. \RequirePackage[ngerman = ngerman-x-latest]{hyphsubst}
  3. % Seitenlayout:
  4. \documentclass{scrbook}
  6. % load packages:
  7. \usepackage[ngerman]{babel}
  8. \usepackage[utf8]{inputenc}
  9. \usepackage[T1]{fontenc}
  10. \usepackage[babel,german=quotes]{csquotes}
  12. \usepackage[backend=biber, style=authoryear-luh-ipw]{biblatex}
  13. \addbibresource{literature.bib}
  15. \title{test}
  17. \begin{document}
  19. As \inparencite[vgl.][S. 10]{test1} stated, blabla
  21. \printbibliography
  23. \end{document}

My literature.bib
  1. @book{test1,
  2. title = {This is a title},
  3. author = {Mister Someone},
  4. year = {1990}
  5. }


User avatar
Site Moderator
Posts: 4166
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Nov 20, 2014 5:38 pm

I wouldn't do that. When you are starting a sentence with as, you don't need the c.f. Read the sentences out aloud:
Wie Irgendwer (1990, vergleiche Seite 15) schrieb.
Wie Irgendwer (vergleiche 1990, Seite 15) schrieb.
Grüne Schuhe sind gelber als Blaue, vergleiche Irgendwer (1990, S. 15).
Wie Irgendwer (1990, Seite 15) schrieb.

I would go for the last one, to be honest.

Changing the behaviour is possible, LaTeX is a macro language. But it will require some knowledge of the biblatex internals.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 4 guests