Seite 1 von 1

Anpassung Literaturverzeichnis

Verfasst: Do 3. Sep 2015, 12:35
von Maren
Hallo zusammen!

Ich habe ein Problem bei der Anpassung meines Literaturverzeichnisses und bei google bisher noch nicht die Lösung gefunden...

Und zwar habe ich für meine Masterarbeit natürlich auch entsprechende Vorgaben meines Profs wie das Literaturverzeichnis auszusehen hat.. Da ich jetzt kein LaTeX-Profi bin habe ich durch googlen ein paar Befehle gefunden und zusammengebastelt, mit denen ich fast alle Vorgaben erfüllen kann.. Allerdings fehlen noch 2 Punkte:

1. Die Reihenfolge von Verlag und Ort soll "Verlag, Ort" sein, und nicht wie in den meisten Styles "Ort: Verlag"
2. Bei Zeitschriften soll nur der Name der Zeitschrift stehen und nicht "in: Name der Zeitschrift"

Jemand ne Idee, wie das funktioniert?
Hier ist mein Minimalbeispiel, mit den ganzen Sachen, die ich bisher geändert habe:
\documentclass[a4paper]{scrreprt}

\usepackage[bindingoffset=8mm, right=2cm, top=1.5cm, bottom=1cm, includeheadfoot]{geometry}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[babel,german=quotes]{csquotes}

\usepackage[backend=bibtex, style=numeric, sorting=nyt]{biblatex}
\bibliography{literatur}

\begin{filecontents}{literatur.bib} 

@BOOK{SMI05,
	author={Smith, W.F.},
	title={Experimental Design for Formulation},
	series={ASA-SIAM Series on Statistics an Applied Probability},
	year={2005},
	address={Philadelphia},
	publisher={Society for Industrial and Applied Mathematics}
}

@ARTICLE{BAR08,
	AUTHOR={E. G. Barroso and F. M. Duarte and M. Couto and J. M. Maia},
	TITLE={A Rheological Study of the Ageing of Emulsion and Microsuspension-Based PVC Plastisols},
	JOURNAL={J. Appl. Polym. Sci.},
	YEAR={2008},
	VOLUME=109,
	PAGES={664-673}
}

\end{filecontents}

\DeclareNameFormat{namesort}{
     {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}} 
   \usebibmacro{name:andothers}} 
\DeclareNameAlias{author}{namesort}

  \renewcommand*{\labelnamepunct}{\addcolon\addspace}
  \renewcommand*{\multinamedelim}{\addsemicolon\space} 
  \renewcommand*{\finalnamedelim}{\addsemicolon\space} 
  \renewcommand*{\newunitpunct}{\addcomma\space} 
  \renewcommand*{\multicitedelim}{\addsemicolon\space}


\DefineBibliographyStrings{ngerman}{andothers={et\addabbrvspace al\adddot}}


\DeclareFieldFormat[article]{volume}{\textbf{#1}}

\DeclareFieldFormat{title}{\enquote{#1}}


\setlength{\bibparsep}{2\parsep}
\linespread{1.2}


\begin{document}

Beispieltext \cites{SMI05}{BAR08}

\printbibliography

\end{document}
Ich hoffe ihr könnt mir weiterhelfen!

Verfasst: Do 3. Sep 2015, 12:52
von Gast
Zum Glück benötigen Deine Wünsche nicht so viel Anpassungen.

Statt
\DeclareNameFormat{namesort}{%
     {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
   \usebibmacro{name:andothers}}
\DeclareNameAlias{author}{namesort}
würde ich lieber
\DeclareNameAlias{default}{last-first}
in Verbindung mit firstinits=true nutzen.
Deine Definition verursacht einige überflüssige Leerzeichen.

Für "Verlag, Ort" brauchen wir nur
\newbibmacro*{puborginst+location+date}[1]{%
  \printlist{#1}%
  \setunit{\addcomma\space}%
  \printlist{location}%
  \setunit{\addcomma\space}%
  \usebibmacro{date}%
  \newunit}

\renewbibmacro*{publisher+location+date}{\usebibmacro{puborginst+location+date}{publisher}}
\renewbibmacro*{institution+location+date}{\usebibmacro{puborginst+location+date}{institution}}
\renewbibmacro*{organization+location+date}{\usebibmacro{puborginst+location+date}{organization}}
Und schließlich für das "in"
\newbibmacro*{in:}{%
  \ifentrytype{article}
    {}
    {\printtext{%
     \bibstring{in}\intitlepunct}}}
Zusammen also (ich habe noch ein paar Kleinigkeiten angepasst)
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[babel,german=quotes]{csquotes}

\usepackage[backend=bibtex, style=numeric, sorting=nyt,firstinits=true]{biblatex}
\begin{filecontents*}{\jobname.bib}
@BOOK{SMI05,
   author={Smith, W.F.},
   title={Experimental Design for Formulation},
   series={ASA-SIAM Series on Statistics an Applied Probability},
   year={2005},
   address={Philadelphia},
   publisher={Society for Industrial and Applied Mathematics},
}

@ARTICLE{BAR08,
   AUTHOR={E. G. Barroso and F. M. Duarte and M. Couto and J. M. Maia},
   TITLE={A Rheological Study of the Ageing of Emulsion and Microsuspension-Based PVC Plastisols},
   JOURNAL={J. Appl. Polym. Sci.},
   YEAR={2008},
   VOLUME=109,
   PAGES={664-673},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\DeclareNameAlias{default}{last-first}

  \renewcommand*{\labelnamepunct}{\addcolon\addspace}
  \renewcommand*{\multinamedelim}{\addsemicolon\space}
  \renewcommand*{\finalnamedelim}{\multinamedelim}
  \renewcommand*{\newunitpunct}{\addcomma\space}
  \renewcommand*{\multicitedelim}{\addsemicolon\space}


\DefineBibliographyStrings{ngerman}{andothers={et\addabbrvspace al\adddot}}

\DeclareFieldFormat[article]{volume}{\mkbibbold{#1}}
\DeclareFieldFormat{title}{\mkbibquote{#1}}

\newbibmacro*{puborginst+location+date}[1]{%
  \printlist{#1}%
  \setunit{\addcomma\space}%
  \printlist{location}%
  \setunit{\addcomma\space}%
  \usebibmacro{date}%
  \newunit}

\renewbibmacro*{publisher+location+date}{\usebibmacro{puborginst+location+date}{publisher}}
\renewbibmacro*{institution+location+date}{\usebibmacro{puborginst+location+date}{institution}}
\renewbibmacro*{organization+location+date}{\usebibmacro{puborginst+location+date}{organization}}

\newbibmacro*{in:}{%
  \ifentrytype{article}
    {}
    {\printtext{%
     \bibstring{in}\intitlepunct}}}

\setlength{\bibparsep}{2\parsep}

\begin{document}

Beispieltext \cites{SMI05}{BAR08}{knuth:ct:b}

\printbibliography

\end{document}

Verfasst: Do 3. Sep 2015, 13:33
von Maren
Wow, vielen Dank für die super schnelle Hilfe! Jetzt funktioniert endlich alles!