bibhang funktioniert nicht
Verfasst: Sa 8. Feb 2014, 13:52
Hallo!
Ich bin grad echt am Verzweifeln. Warum liefert mir "\setlength{\bibhang}{3em}" keinen hängenden Einzug?
Danke im Voraus!
Ich bin grad echt am Verzweifeln. Warum liefert mir "\setlength{\bibhang}{3em}" keinen hängenden Einzug?
Danke im Voraus!
%Das ist mein LaTex-Dokument. \documentclass[parskip=full]{scrreprt} \usepackage[ngerman]{babel} \usepackage[babel, german=quotes]{csquotes} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{acronym} \usepackage[backend=biber, style=meinstil]{biblatex} \DeclareLanguageMapping{ngerman}{ngerman-apa} \addbibresource{literatur.bib} \defbibheading{lit}{\chapter{Literaturverzeichnis}} \begin{document} Hier steht ein Text \cite{Mueller2005} \\ \setlength{\bibhang}{3em} \printbibliography[heading=lit] \end{document} %Bibliographie @article{Mueller2005, author = {C Müller and F Meyer and H Schmitt and T Moll and E Wing and O Troll and P Myer}, title = {Hier steht der Titel.}, journal = {Journal}, volume = {138}, year = {2005}, pages = {8-13}, } %StilDatei \ProvidesFile{meinstil.bbx}[2013/10/30\space v6.4\space APA biblatex references style] \RequireBiber[3] \RequireBibliographyStyle{standard} \newcommand{\maxprtauth}{20} \DeclareBibliographyOption{apamaxprtauth}{% \ifstrempty{#1} {} {\renewcommand{\maxprtauth}{#1}}} \defbibenvironment{bibliography} {\list {\printtext({% \printfield{labelnumber})}} % {\setlength{\labelwidth}{\labelnumberwidth}% \setlength{\leftmargin}{\labelwidth}% \setlength{\labelsep}{\biblabelsep}% \addtolength{\leftmargin}{\labelsep}% \setlength{\itemsep}{\bibitemsep}% \setlength{\parsep}{\bibparsep}}% } {\endlist} {\item} \newcommand{\apanum}[1]{\ifrmnum{#1}{\rmntonum{#1}}{#1}} \newcommand*{\mkbibrangeapalong}[1]{% \ifthenelse{\equal{#1}{url}} {\printtext{% \mkbibdateapalongmdy{#1year}{#1month}{#1day}% \iffieldundef{#1endyear}% {}% {\iffieldequalstr{#1endyear}{}% open-ended range? {\mbox{\bibdatedash}} {\bibdatedash% \iffieldsequal{#1year}{#1endyear}% {\iffieldsequal{#1month}{#1endmonth}% {\iffieldsequal{#1day}{#1endday}% {}% {\mkbibdateapalongmdy{}{}{#1endday}}}% {\mkbibdateapalongmdy{}{#1endmonth}{#1endday}}}% {\mkbibdateapalongmdy{#1endyear}{#1endmonth}{#1endday}}}}}} {\printtext{% \mkbibdateapalong{#1year}{#1month}{#1day}% \iffieldundef{#1endyear}% {}% {\iffieldequalstr{#1endyear}{}% open-ended range? {\mbox{\bibdatedash}} {\bibdatedash% \iffieldsequal{#1year}{#1endyear}% {\iffieldsequal{#1month}{#1endmonth}% {\iffieldsequal{#1day}{#1endday}% {}% {\mkbibdateapalong{}{}{#1endday}}}% {\mkbibdateapalong{}{#1endmonth}{#1endday}}}% {\mkbibdateapalong{#1endyear}{#1endmonth}{#1endday}}}}}}} \newcommand*{\mkbibrangeapalongextra}[1]{% \printtext{% \mkbibdateapalongextra{#1year}{#1month}{#1day}% \iffieldundef{#1endyear}% {}% {\iffieldequalstr{#1endyear}{}% open-ended range? {\mbox{\bibdatedash}} {\bibdatedash% \iffieldsequal{#1year}{#1endyear}% {\iffieldsequal{#1month}{#1endmonth}% {\iffieldsequal{#1day}{#1endday}% {}% {\mkbibdateapalongextra{}{}{#1endday}}} {\mkbibdateapalongextra{}{#1endmonth}{#1endday}}} {\mkbibdateapalongextra{#1endyear}{#1endmonth}{#1endday}}}}}} \DeclareSortingScheme{apa}{ \sort{ \field{presort} } \sort[final]{ \field{sortkey} } \sort{ \field{sortname} \field{author} \field{editor} \field{translator} \field{writer} \field{director} \field{producer} \field{execproducer} \field{origauthor} \field{sorttitle} \field{title} } \sort{ \field{sortyear} \field{year} \field{pubstate} } \sort{ \field{sorttitle} \field{title} } \sort{ \field[padside=left,padwidth=4,padchar=0]{volume} \literal{0000} } } \DeclareLabeldate{% \field{pubstate} \field{date} \literal{nodate} } \ExecuteBibliographyOptions{labeldate=true,% sorting=apa,% autocite=inline,% backref=true,% pagetracker=true,% useprefix=true,% usetranslator=true,% uniquelist=minyear,% uniquename=full,% citetracker=true,% maxcitenames=2,% mincitenames=1,% maxbibnames=7,% minbibnames=6,% abbreviate=true,% mincrossrefs=999,% date=apalong,% datelabel=apalong,% origdate=apalong,% urldate=apalong,% eventdate=comp} \newbool{apa:backref} \DeclareBibliographyOption{apabackref}{% \ifstrequal{#1}{true} {\global\booltrue{apa:backref}} {\global\boolfalse{apa:backref}}} \DeclareNameAlias{default}{apaauthor} \DeclareNameFormat{apaauthor}{% \ifthenelse{\value{listcount}=\maxprtauth\AND\value{listcount}<\value{listtotal}} {\addcomma\addspace\ldots\addspace} {\ifthenelse{\value{listcount}>\maxprtauth\AND\value{listcount}<\value{listtotal}} {} {\iffieldequalstr{doubtfulauthor}{true} {\mkbibbrackets{\usebibmacro{name:apa:last-first}{#1}{#3}{#4}{#5}{#7}?}} {\usebibmacro{name:apa:last-first}{#1}{#3}{#4}{#5}{#7}}}}% \ifthenelse{\value{listcount}=\value{listtotal}}% {\ifmorenames{\andothersdelim\bibstring{andothers}}{}}{}} \renewbibmacro*{author}{% \ifnameundef{author} {\usebibmacro{labeltitle}} {\printnames[apaauthor][-\value{listtotal}]{author}% \setunit*{\addspace}% \printfield{nameaddon}% \ifnameundef{with} {} {\setunit{}\addspace\mkbibparens{\printtext{\bibstring{with}\addspace}% \printnames[apaauthor][-\value{listtotal}]{with}} \setunit*{\addspace}}}% \newblock% \usebibmacro{labelyear+extrayear}} \AtBeginBibliography{% \renewcommand*{\multinamedelim}{~,\space}% \renewcommand*{\finalnamedelim}{~,\space}% } \DeclareFieldFormat{endmonth}{\mkbibmonth{#1}} \newbibmacro*{monthorissue}{% \iffieldundef{issue} {\iffieldundef{month} {} {\addcomma\space\printfield{month}% \iffieldundef{endmonth}{}{/\printfield{endmonth}}}} {\addcomma\space\printfield{issue}}} \newbibmacro*{labelyear+extrayear}{% \iffieldundef{labelyear} {\iffieldundef{origyear} {} {\printtext[yearorunkyear]{\printfield[noformat]{origyear}}}}% {\printtext[yearorunkyear]{\printdateextralabel}}} \DeclareFieldFormat{yearorunkyear}{% \ifthenelse{\iffieldequalstr{doubtfuldate}{true}} {\mkbibbrackets{ca\adddot\addspace#1}} {\mkbibparens{#1}}} \DeclareFieldFormat{apacase}{\MakeSentenceCase*{#1}} \DeclareFieldFormat{issuetitle}{#1\isdot} \DeclareFieldFormat{title}{#1\isdot} \DeclareFieldFormat{origtitle}{\MakeSentenceCase*{#1}\isdot} \DeclareFieldFormat[article]{title}{#1\isdot} \DeclareFieldFormat[article]{origtitle}{\MakeSentenceCase*{#1}\isdot} \DeclareFieldFormat{journaltitle}{#1\isdot} \DeclareFieldFormat[newsarticle]{pages}{% \DeclareNumChars{.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ}% \mkpageprefix{#1}% \DeclareNumChars{.}} \DeclareFieldFormat[newsarticle]{newspaper}{#1} \DeclareFieldFormat[newsarticle]{entrysubtype}{\mkbibbrackets{#1}} \DeclareFieldFormat[newsarticle]{title}{#1} \DeclareFieldFormat[article]{pages}{#1} \newbibmacro*{newspaper}{% \printfield{newspaper} \setunit{\addcomma\space}} \renewbibmacro*{journal+issuetitle}{% \usebibmacro{journal}% \setunit*{\addspace}% \printfield{number}% \setunit{\addspace}\newblock \usebibmacro{issuename}% \newunit} \newbibmacro*{issuename}{% \iffieldundef{issuetitle} {} {\printtext[issuetitle]{% \printfield[noformat]{issuetitle}% \setunit{\subtitlepunct}% \printfield[noformat]{issuesubtitle}}}} \newbibmacro*{name:apa:last-first}[5]{% \ifuseprefix {\usebibmacro{name:delim}{#2#1}% \usebibmacro{name:hook}{#2#1}% \ifblank{#3}{}{% \mkbibnameprefix{#4}% \ifpunctmark{'}{}{\addhighpenspace}}% \mkbibnamelast{#1\isdot}% \ifblank{#2}{}{\addlowpenspace\mkbibnamefirst{#3}\isdot% \ifthenelse{\value{uniquename}>1} {\addspace\mkbibbrackets{#2}} {}}% \ifblank{#5}{}{\addcomma\addlowpenspace\mkbibnameaffix{#5}\isdot}} {\usebibmacro{name:delim}{#1}% \usebibmacro{name:hook}{#1}% \mkbibnamelast{#1}\isdot \ifblank{#2#4}{}{\addcomma}% \ifblank{#2}{}{\addlowpenspace\mkbibnamefirst{#3}% \ifthenelse{\value{uniquename}>1} {\addspace\mkbibbrackets{#2}} {}}% \ifblank{#4}{}{% \addhighpenspace\mkbibnameprefix{#4}% \ifpunctmark{'}{}{\addhighpenspace}}% \ifblank{#5}{}{\addcomma\addlowpenspace\mkbibnameaffix{#5}\isdot}}} \renewcommand{\bibinitperiod}{} \DeclareFieldFormat[periodical]{title}{#1\isdot} \DeclareFieldFormat[periodical]{issuetitle}{\mkbibemph{#1}\isdot} \renewbibmacro*{periodical}{% \iffieldundef{title} {} {\printtext[title]{% \printfield[apacase]{title}% \setunit{\subtitlepunct}% \printfield[apacase]{subtitle}}}} \renewbibmacro*{title+issuetitle}{% \usebibmacro{periodical}% \newunit \usebibmacro{issue}% \setunit*{\addcomma\addspace}% \setunit{\addcomma\space}} \newbibmacro*{apa:finpunct}{% \iffieldundef{origyear} {\ifboolexpr{ test {\iffieldundef{addendum}} and test {\iffieldundef{related}}} {} {\renewcommand*{\finentrypunct}{\relax}}} {\renewcommand*{\finentrypunct}{\relax}}} \DeclareBibliographyDriver{article}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author/editor}% \newblock{\newline}% \usebibmacro{title}% \newblock{\newline}% \usebibmacro{journal+issuetitle}% \setunit{\addspace}% \printfield{volume}% \setunit{\addcolon\addspace}% \printfield{pages}% \newblock{\newline}% \renewcommand*{\finentrypunct}{\relax }} \newbibmacro{apa:pageref}{% \ifbool{apa:backref}{\usebibmacro{pageref}}{}} \endinput %Ende