i found this article and gave me a huge boost in building my own custom bibliography. It looks pretty good so far, but it is not perfect for me. I need to make some changes. I read this answer and used the first code example for my bibliography. My bibliography should look like this:
Changes i need to make:
Change the order of the different bibtex items
Change format (no use of "", generate my own abbreviations, no use of italic style)
Remove the dot at the end of each entry
\documentclass[a4paper,12pt]{report} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc}\usepackage[backend=biber,,citestyle=authoryear,hyperref=true,autocite=inline,sortlocale=de_DE,maxnames=99]{biblatex} \addbibresource{\jobname.bib} \DeclareDelimFormat[bib,biblist]{nametitledelim}{\addcolon\space} \renewcommand{\newunitpunct}{\addcomma\space} \DeclareDelimFormat{multinamedelim}{\addsemicolon\space} \DeclareDelimAlias{finalnamedelim}{multinamedelim}
\DeclareNameAlias{sortname}{family-given}
\DeclareFieldFormat*{shorttitle}{\mkbibparens{#1}} \DeclareFieldFormat{url}{\url{#1}}
\renewbibmacro*{date}{% \iffieldundef{year} {\printtext{\bibstring{nodate}}} {\printdate}}
\makeatletter
\usepackage{biblatex-ext-tabular}
% sortname labels (a robust style should add provision for missing labelnames) \newbibmacro*{sortname}{% \ifnameundef{labelname} {\printtext{No name given.} \PackageWarning{biblatex}{No labelname for entry \thefield{entrykey},\MessageBreak we need to think of something else}} {\printnames[sortname]{labelname}% \iffieldequalstr{labelnamesource}{editor} {\setunit{\printdelim{editortypedelim}}% \usebibmacro{editor+othersstrg}} {\iffieldequalstr{labelnamesource}{translator} {\setunit{\printdelim{translatortypedelim}}% \usebibmacro{translator+othersstrg}} {}}}}
\usepackage{array} \newcolumntype{L}[1]{>{\raggedright\let\newline\\arraybackslash\hspace{0pt}}p{#1}} \newcolumntype{C}[1]{>{\centering\let\newline\\arraybackslash\hspace{0pt}}p{#1}} \newcolumntype{R}[1]{>{\raggedleft\let\newline\\arraybackslash\hspace{0pt}}p{#1}}
\usepackage{longtable} % demo new tabular bibliography format % I strongly prefer left-aligned with fixed width (L) % over justified (p) here % longtable for tables that break over pages \defbibtabular{bibtabular} {\def\arraystretch{2}% \begin{longtable}{@{}L{\dimexpr0.3\textwidth-\tabcolsep\relax}L{\dimexpr0.7\textwidth-\tabcolsep\relax}@{}}} {\end{longtable}} {\anchorlang{\usebibmacro{sortname}} & \driver{\usebibmacro{tabular:omitsortname}} \}
\renewbibmacro{begentry}{% \printfield{shorttitle}% \printunit{\addspace}} % End Custom Bibliography
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib} @online{testonline, title = {Titel}, subtitle = {Untertitel}, shorttitle = {Stichwort}, author = {{N}achname, {V}orname}, url = {protokoll://serveradresse/dokumentenpfad/dokument}, year = {Jahr}, urldate = {01.01.2021} note = "(Kommentar)" }
@ARTICLE{testarticle, title = {Titel}, subtitle = {Untertitel}, shorttitle = {Stichwort}, author = {{N}achname, {V}orname}, journal = {Name der Zeitschrift}, year = {Jahr}, volume = {Band}, pages = {erste Seite - letzte Seite}, number = {Nummer}, month = {March}, publisher = {Verlag} }
@BOOK{testbook, title = {Titel}, subtitle = {Untertitel}, shorttitle = {Stichwort}, author = {{N}achname, {V}orname}, year = {Erscheinungsjahr}, location = {Erscheinungsort}, volume = {Band}, edition = {Auflage}, year = {Jahr}, } \end{filecontents}
\begin{document}
\autocite{testonline} \ \textcite{testonline} \ \autocite{testarticle} \ \textcite{testarticle} \ \autocite{testbook} \ \textcite{testbook} \
\printbibtabular \end{document}
Could you please give me some recommandations?
Thank you in advance
Cypher


hyperref=true,the option is generally no better than the defaulthyperref=auto,. Both options produce links if and only ifhyperrefis loaded. The only difference is thathyperref=true,throws a warning ifhyperrefis not loaded.sortlocale=de_DE,should automatically be detected from your language settings, so need not be given explicitly.urldate = {01.01.2021}is invalid for two reasons: (1)...datefield must be filled in ISO8601 (YYYY-MM-DD) format regardless of the desired output format. ... – moewe May 17 '21 at 16:11urldate = {2021-01-01},would be correct. Normally, there is no reason to add curly braces around the first letter of the family or given name of a person as inauthor = {{N}achname, {V}orname},. I would not do that unless there is a good reason for that (presumably to work around some quirks of the name parsing). (Generally people tend to overuse protecting braces.) – moewe May 17 '21 at 16:13\renewcommand*{\finentrypunct}{}(see https://tex.stackexchange.com/q/187443/35864). What exactly do you mean in 1. – moewe May 17 '21 at 16:22It would be nice to change the order of the different bibtex items in my bibliography for the online link. It should be: (shorttitle) title, subtitle, urldate, url (comment/last visited on 2021-05-17) How can i change it?
– Cypher May 17 '21 at 20:22