sorry for all the questions, your help was amazing so far!
I have yet another question. I want journal titles in articles to be preceded by
In:
just like in collections
(example of incollection below)
current article:
In front of the Asahi should be an
In:
I am a bit at a loss how to achieve this. Thank you in advance and have a nice evening! :)
Latex example: https://www.overleaf.com/read/dvtrpzgfqghn
new issue of inconsistent (Hg.)
-- Edit: I hope that's an okay example :) The parts after Hg now lack some spaces for some reason :<
\documentclass{scrreprt}
\usepackage[onehalfspacing]{setspace}
\usepackage[main=ngerman, english]{babel}
%----------------------------------------------------------------------------
% BIB
%----------------------------------------------------------------------------
\usepackage[
backend=biber,
style=authoryear,
sorting=nyvt
]{biblatex}
\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}
\renewcommand{\labelnamepunct}{\addcolon\space}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}
\renewcommand\postnotedelim{\addcolon\addspace}
\DeclareFieldFormat
[article,inbook,incollection,inproceedings,patent,thesis,unpublished]
{title}{#1\isdot}
% sets Hg
\renewbibmacro*{in:}{%
\printtext{%
\bibstring{in}\intitlepunct}%
\ifentrytype{incollection}
{\DeclareNameAlias{editor}{last-first}%
\ifnameundef{editor}
{}
{\printnames{editor}%
\setunit{\printunit{editortypedelim}}%
\usebibmacro{editorstrg}%
\setunit{\addcolon\addspace}}%
\usebibmacro{maintitle+booktitle}%
\clearfield{maintitle}%
\clearfield{booktitle}%
\clearfield{volume}%
\clearfield{part}%
\clearname{editor}}
{}}
% Use Hg. in parentheses after editor
\DeclareDelimFormat{editortypedelim}{\addspace}
\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\DefineBibliographyStrings{german}{%
editor = {Hg\adddot}
andothers = {et\ al\adddot}, %et al. statt u.a.
editor = {{Hg\adddot}}, %Hg. statt Hrsg.
editors = {{Hgg\adddot}}, %Hgg. plural
byeditor = {{Hg\adddot}},
}
\begin{filecontents*}{\jobname.bib}
@book{CommissionontheHumanities.1980,
editor = {{Commission on the Humanities}},
year = {1980},
title = {The Humanities in American Life},
keywords = {Humanities},
publisher = {{University of California Press}},
isbn* = {0520041836},
subtitle = {Report of the Commission on the Humanities},
location = {Berkeley and London},
abstract = {},
organization = {{Commission on the Humanities}}
}
@incollection{Gotoda.1990,
author = {Got{\^o}da, Masaharu},
year = {1990},
title = {Shin no minshu shugi o mezashite},
titleaddon = {Eine wirkliche Demokratie anstreben},
publisher = {Seibund{\^o}},
maintitle = {Shishunki no seiji},
maintitleaddon = {Politik in der Pubert{\"a}t},
pagetotal = {34--59},
location = {T{\^o}ky{\^o}},
abstract = {},
editor = {Yasuoka, Okiharu},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
%----------------------------------------------------------------------------
% MAIN
%----------------------------------------------------------------------------
\begin{document}
\nocite{*}
\printbibliography[heading=bibintoc,title={Literaturverzeichnis}]
\end{document}
in:
redefinition can be found in tex.stackexchange.com/q/404201/35864 and seems to originate from tex.stackexchange.com/a/173653/35864. Audrey used a similar strategy before tex.stackexchange.com/q/122218/35864