von markus_89 » So 15. Jul 2012, 23:54
Hallo zusammen,
wie der Titel schon sagt, habe ich Probleme beim Erstellen eines eigenen Zitierbefehls.
Hier mein Minimalbeispiel:
\documentclass{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[babel=true]{csquotes}
\usepackage[style=apa,backend=biber,minbibnames=5, maxbibnames=5, mincitenames=1, maxcitenames=6, doi=false, url=false]{biblatex}
\bibliography{literatur}
\DeclareLanguageMapping{ngerman}{ngerman-apa}
\DefineBibliographyStrings{ngerman}{andothers={et\ \addabbrvspace al\adddot}}
\newcommand*\mcite[1]{\citeauthor{#1} (\citeyear{#1})}
\newcommand*\mulcite[1]{\citeauthor{#1} (\citeyear{#1};\citeauthor{#2},\citeyear{#2})}
\AtEveryBibitem{%
\clearfield{day}%
\clearfield{month}%
\clearfield{endday}%
\clearfield{endmonth}%
}
\renewcommand\maxprtauth{7}
\DeclareNameFormat{apaauthor}{%
\ifthenelse{\value{listcount}=\maxprtauth \AND\value{listcount}<\value{listtotal}}
{,~et~al.\addspace\setcounter{listcount}{\thelisttotal}}
{\ifthenelse{\value{listcount}>\maxprtauth\AND\value{listcount}<\value{listtotal}}
{}%
{\ifthenelse{\iffieldequalstr{usere}{unkauth}\OR\iffieldequalstr{usere}{unkauthdate}}%
{\iffirstinits
{\mkbibbrackets{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}?}}%
{\mkbibbrackets{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}?}}}%
{\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}%
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}}}}%
\ifmorenames{\andothersdelim\bibstring{andothers}}{}}
\renewcommand\finalandcomma{\addcomma}
\begin{document}
blablablabla \mulcite{Jones1982,Schiffman1974,Xuan2007}
\end{document}
Hier noch die Literaturangaben:
@article{Xuan2007,
author = {Xuan, Bin and Zhang, Daren and He, Sheng and Chen, Xiangchuan},
doi = {10.1167/7.10.2.Introduction},
journal = {Journal of Vision},
keywords = {1,10,1167,2,2007,5,7,b,chen,citation,d,doi,he,http,journal of vision,journalofvision,larger stimuli are judged,magnitude,org,s,stroop effect,time perception,to last longer,x,xuan,zhang},
number = {10},
pages = {1--5},
title = {{Larger stimuli are judged to last longer}},
volume = {7},
year = {2007}
}
@article{Schiffman1974,
author = {Schiffman, H R and Bobko, D J},
issn = {0022-1015},
journal = {Journal of experimental psychology},
keywords = {Cues,Discrimination (Psychology),Female,Humans,Male,Photic Stimulation,Time Factors,Time Perception,Visual Perception},
month = jul,
number = {1},
pages = {156--9},
pmid = {4418727},
title = {{Effects of stimulus complexity on the perception of brief temporal intervals.}},
url = {http://www.ncbi.nlm.nih.gov/pubmed/4418727},
volume = {103},
year = {1974}
}
@article{Jones1982,
author = {Jones, Bill and Huang, Yih Lehr},
doi = {10.1037//0033-2909.91.1.128},
issn = {0033-2909},
journal = {Psychological Bulletin},
number = {1},
pages = {128--142},
title = {{Space-time dependencies in psychophysical judgment of extent and duration: Algebraic models of the tau and kappa effects}},
url = {http://content.apa.org/journals/bul/91/1/128},
volume = {91},
year = {1982}
}
Mein Ziel ist es das durch den eigenen Zitierbefehl am Ende
ErsterAutor (ErstesJahr; ZweiterAutor, ZweitesJahr; DritterAutor, DrittesJahr) dasteht.
Also in dem Minimalbeispiel sollte dastehen:
Jones und Huang (1982; Schiffmann, 1974; Xuan, Zhang, & Chen, 2007)
Leider klappt das noch nicht so ganz. Kann mir vllt jemand helfen?
Schon mal vielen Dank!
LG,
Markus
Hallo zusammen,
wie der Titel schon sagt, habe ich Probleme beim Erstellen eines eigenen Zitierbefehls.
Hier mein Minimalbeispiel:
[code]
\documentclass{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[babel=true]{csquotes}
\usepackage[style=apa,backend=biber,minbibnames=5, maxbibnames=5, mincitenames=1, maxcitenames=6, doi=false, url=false]{biblatex}
\bibliography{literatur}
\DeclareLanguageMapping{ngerman}{ngerman-apa}
\DefineBibliographyStrings{ngerman}{andothers={et\ \addabbrvspace al\adddot}}
\newcommand*\mcite[1]{\citeauthor{#1} (\citeyear{#1})}
\newcommand*\mulcite[1]{\citeauthor{#1} (\citeyear{#1};\citeauthor{#2},\citeyear{#2})}
\AtEveryBibitem{%
\clearfield{day}%
\clearfield{month}%
\clearfield{endday}%
\clearfield{endmonth}%
}
\renewcommand\maxprtauth{7}
\DeclareNameFormat{apaauthor}{%
\ifthenelse{\value{listcount}=\maxprtauth \AND\value{listcount}<\value{listtotal}}
{,~et~al.\addspace\setcounter{listcount}{\thelisttotal}}
{\ifthenelse{\value{listcount}>\maxprtauth\AND\value{listcount}<\value{listtotal}}
{}%
{\ifthenelse{\iffieldequalstr{usere}{unkauth}\OR\iffieldequalstr{usere}{unkauthdate}}%
{\iffirstinits
{\mkbibbrackets{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}?}}%
{\mkbibbrackets{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}?}}}%
{\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}%
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}}}}%
\ifmorenames{\andothersdelim\bibstring{andothers}}{}}
\renewcommand\finalandcomma{\addcomma}
\begin{document}
blablablabla \mulcite{Jones1982,Schiffman1974,Xuan2007}
\end{document}
[/code]
Hier noch die Literaturangaben:
[code]
@article{Xuan2007,
author = {Xuan, Bin and Zhang, Daren and He, Sheng and Chen, Xiangchuan},
doi = {10.1167/7.10.2.Introduction},
journal = {Journal of Vision},
keywords = {1,10,1167,2,2007,5,7,b,chen,citation,d,doi,he,http,journal of vision,journalofvision,larger stimuli are judged,magnitude,org,s,stroop effect,time perception,to last longer,x,xuan,zhang},
number = {10},
pages = {1--5},
title = {{Larger stimuli are judged to last longer}},
volume = {7},
year = {2007}
}
@article{Schiffman1974,
author = {Schiffman, H R and Bobko, D J},
issn = {0022-1015},
journal = {Journal of experimental psychology},
keywords = {Cues,Discrimination (Psychology),Female,Humans,Male,Photic Stimulation,Time Factors,Time Perception,Visual Perception},
month = jul,
number = {1},
pages = {156--9},
pmid = {4418727},
title = {{Effects of stimulus complexity on the perception of brief temporal intervals.}},
url = {http://www.ncbi.nlm.nih.gov/pubmed/4418727},
volume = {103},
year = {1974}
}
@article{Jones1982,
author = {Jones, Bill and Huang, Yih Lehr},
doi = {10.1037//0033-2909.91.1.128},
issn = {0033-2909},
journal = {Psychological Bulletin},
number = {1},
pages = {128--142},
title = {{Space-time dependencies in psychophysical judgment of extent and duration: Algebraic models of the tau and kappa effects}},
url = {http://content.apa.org/journals/bul/91/1/128},
volume = {91},
year = {1982}
}
[/code]
Mein Ziel ist es das durch den eigenen Zitierbefehl am Ende
ErsterAutor (ErstesJahr; ZweiterAutor, ZweitesJahr; DritterAutor, DrittesJahr) dasteht.
Also in dem Minimalbeispiel sollte dastehen:
Jones und Huang (1982; Schiffmann, 1974; Xuan, Zhang, & Chen, 2007)
Leider klappt das noch nicht so ganz. Kann mir vllt jemand helfen?
Schon mal vielen Dank!
LG,
Markus