手动中断 biblatex 条目,如日期或数字

手动中断 biblatex 条目,如日期或数字

我正在使用 Biber 运行 Biblatex,使用 Miktex 运行 TexnicCenter。如果日期位于条目末尾(ISO 8601,必须断开或另起一行),我该如何手动断开日期或将其放在下一行?专利号也是一样吗?在这个 MWE 中,专利号没有断开,但在我的主文档中,主要问题在于日期,例如 2014-06-16。非常感谢!

编辑:使外边距稍微大一些,并添加了两个示例。

\documentclass[12pt,a4paper,draft]{scrartcl}        

\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage{geometry}
\geometry{a4paper, top=29mm, inner=30mm, outer=25mm, bottom=30mm,
headsep=8.9mm, footskip=13.8mm}

\usepackage{csquotes}
\usepackage{microtype}
\usepackage{textcomp}
\PassOptionsToPackage{hyphens}{url}\usepackage[breaklinks]{hyperref}
\usepackage[backend=biber,
                        style=numeric-comp, 
                        sorting=none,
                        maxnames=3,
                        minnames=3,
                        language=ngerman,
                        hyperref=true,
                        date=iso8601,
                        arxiv=ps,
                        texencoding=utf8,
                        bibencoding=utf8,
                        firstinits=true,
                        terseinits=false,
                        useprefix=true,
                        ]{biblatex}


\addbibresource{Literatur.bib}
\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,unpublished]{title}{#1}
\DeclareFieldFormat[thesis,book,inproceedings,patent]{title}{\emph{#1}}

\begin{document}

\cite{PatentLeistungsschutzschalter, FGLBeispielAntenne, FGLBeispielChirugie}       

\printbibliography

\end{document}



@Patent{PatentLeistungsschutzschalter,
  Title                    = {Leitungsschutzschalter},
  Author                   = {{BBC Brown Boveri Cie, Niemeyer, L.}},
  Date                     = {1979-11-05},
  Number                   = {DE2944579A1},
  Type                     = {Patentschrift},
}

@Online{FGLBeispielChirugie,
  Title                    = {Nitinol Führungsdrähte für PiCCO-Katheter},
  Author                   = {{Pulsion Medical Systems}},
  Date                     = {2013-07-05},
  Url                      = {http://www3.pulsion.de/fileadmin/pulsion_share/Products_Flyer/Nitinol_Anwenderinfo_D_MPI700400_R02_030708.pdf},
}

@Online{FGLBeispielAntenne,
  Title                    = {Leitfaden für HF-Entwickler - Antennenmaterial},
  Author                   = {{Circuit Design GmbH}},
  Date                     = {2013-07-05},
  Url                      = {http://www.circuitdesign.de/products/tech_info/guide3.asp},
}

答案1

.bib您可以通过添加以下方式向文件中的字段添加额外的格式

  • \allowbreak,允许换行,或
  • \hyphenate(从biblatex包中)添加可选连字符:

示例输出

文献目录

@Patent{PatentLeistungsschutzschalter,
  Title                    = {Leitungsschutzschalter},
  Author                   = {{BBC Brown Boveri Cie, Niemeyer, L.}},
  Date                     = {1979-11-05},
  Number                   = {DE\allowbreak 2944\allowbreak 579A1},
  Type                     = {Patentschrift},
}

@Patent{PatentLeistungsschutzschalter2,
  Title                    = {Leitungsschutzschalter},
  Author                   = {{BBC Brown Boveri Cie, Niemeyer, L.}},
  Date                     = {1979-11-05},
  Number                   = {DE\hyphenate 2944\hyphenate 579A1},
  Type                     = {Patentschrift},
}

@Online{FGLBeispielChirugie,
  Title                    = {Nitinol Führungsdrähte für PiCCO-Katheter},
  Author                   = {{Pulsion Medical Systems}},
  Date                     = {2013-07-05},
  Url                      = {http://www3.pulsion.de/fileadmin/pulsion_share/Products_Flyer/Nitinol_Anwenderinfo_D_MPI700400_R02_030708.pdf},
}

@Online{FGLBeispielAntenne,
  Title                    = {Leitfaden für HF-Entwickler - Antennenmaterial},
  Author                   = {{Circuit Design GmbH}},
  Date                     = {2013-07-05},
  Url                      = {http://www.circuitdesign.de/products/tech_info/guide3.asp},
}

LaTeX 文件:

\documentclass[12pt,a4paper,draft]{scrartcl}        

\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage{geometry}
\geometry{a4paper, top=29mm, inner=30mm, outer=25mm, bottom=30mm,
headsep=8.9mm, footskip=13.8mm}

\usepackage{csquotes}
\usepackage{microtype}
\usepackage{textcomp}
\PassOptionsToPackage{hyphens}{url}\usepackage[breaklinks]{hyperref}
\usepackage[backend=biber,
                        style=numeric-comp, 
                        sorting=none,
                        maxnames=3,
                        minnames=3,
                        language=ngerman,
                        hyperref=true,
                        date=iso8601,
                        arxiv=ps,
                        texencoding=utf8,
                        bibencoding=utf8,
                        firstinits=true,
                        terseinits=false,
                        useprefix=true,
                        ]{biblatex}


\addbibresource{Literatur.bib}
\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,unpublished]{title}{#1}
\DeclareFieldFormat[thesis,book,inproceedings,patent]{title}{\emph{#1}}

\begin{document}

\cite{PatentLeistungsschutzschalter,PatentLeistungsschutzschalter2, FGLBeispielAntenne, FGLBeispielChirugie}       

\printbibliography

\end{document}

相关内容