I have question concerning the use of the \citet
command when loading biblatex
with the option natbib=true
. I'm a LaTeX beginner and this may be an easy question, but i still couldn't solve it.
I'm writing my thesis in LaTeX
and i would like to create in-text
citation call-outs with the command \citet
. The problem is that in the output the letters of the author all get capitalized. I just want to capitalize the first letter
of every author.
Is there an option to solve this problem?
\RequirePackage{hyphsubst}
\HyphSubstLet{ngerman}{ngerman-x-latest}
\documentclass[final, english, ngerman, a4paper, 12pt, numbers=noenddot,
cd=true,
cdfont=false,cdfont=nohead,cdfont=nodin,
cdmath=false,
cdhead=false,
cdfoot=true,
cdcover=monochrome,
cdgeometry=asymmetric,
declaration=heading,
declaration=notoc,
abstract=heading,
]{tudscrreprt}
\usepackage[utf8]{inputenc}
\usepackage{settings/tudbwlimPackages}
\usepackage{settings/tudbwlimStyle}
\usepackage{caption}
\usepackage{scrhack}
\usepackage{algpseudocode}
\usepackage{amsmath}
\usepackage{float}
\usepackage[T1]{fontenc}
\usepackage{longtable}
\usepackage{pbox}
\usepackage{tabularx}
\usepackage{textcomp}
\usepackage{pdflscape}
\usepackage{enumitem}
\usepackage{etoolbox}
\usepackage{multirow}
\usepackage[table,xcdraw]{xcolor}
\usepackage{float}
\floatstyle{plaintop}
\restylefloat{table}
\usepackage{color}
\usepackage{mathrsfs}
\usepackage{svg}
\usepackage{settings/BiblatexSetup}
\AfterPackage*{biblatex}%
{
\RequirePackage[breaklinks=true, colorlinks=false, linktoc=section, linkcolor=blue, citecolor=black, hidelinks]{hyperref}
% Da hyperref allerhand Veränderungen an vielen Standardbefehlen vornimmt, sollte dieses als letztes in der Präambel eingebunden werden. Nur Pakete, bei denen in der Dokumentation explizit darauf hingewiesen wird, dass diese nach hyperref zu laden sind, sollten auch danach folgen.
\hypersetup{pdfprintscaling=None} % gleiches Verhalten, auch ohne hyperref, liefert: \pdfcatalog{/ViewerPreferences<</PrintScaling/None>>}
\usepackage{footnote} % https://tex.stackexchange.com/questions/207192/footcite-in-float-caption
\makesavenoteenv{figure}
\makesavenoteenv{table}
\makesavenoteenv{algorithm}
}
\AfterPackage*{hyperref}
{
\RequirePackage[automake,acronym,symbols,nomain,translate=babel,]{glossaries}
\usepackage{settings/GlossariesSetup}
}
\begin{document}
\end{document}
This is the contents of the .sty file
\ExecuteBibliographyOptions{ibidtracker=constrict,dashed=false,bibwarn=true,sortlocale=auto,arxiv=false,isbn=true,url=false,doi=false,eprint=false,%
maxcitenames=2,maxbibnames=100,uniquename=false,uniquelist=false,giveninits=true,date=year,ibidtracker=false,%
% authortitle-dw options
%namefont=smallcaps,firstnamefont=smallcaps,nopublisher=false,idembib=false,edbyidem=false,addyear=true,journalnumber=afteryear,series=afteryear,safeinputenc=true
}
\setlength{\bibitemsep}{\baselineskip}
\AtEveryBibitem{\clearfield{issn}}
%\DeclareDelimFormat{footcitenametitledelim}{\addcolon\space}
\renewcommand*{\labelnamepunct}{\addcolon\space} %\DeclareDelimFormat{nametitledelim}{\addcolon\space}
\renewcommand*{\multinamedelim}{\thinspace\&\thinspace}
\renewcommand*{\finalnamedelim}{\thinspace\&\thinspace}
\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
%\renewcommand*{\mkbibnamegiven}[1]{\textsc{#1}}
\renewcommand{\nameyeardelim}{\addspace}
% authortitle-dw options
%\renewcommand*{\bibmultinamedelim}{\space\slash\space}
%\renewcommand*{\bibfinalnamedelim}{\space\slash\space}
%\renewcommand*{\bibrevsdnamedelim}{}
%\renewcommand*{\jourvolstring}{\space Vol.\space}
\setcounter{biburllcpenalty}{9000}
\setcounter{biburlucpenalty}{9000}
\DeclareFieldFormat*{title}{#1\isdot} %[article,book,inbook,incollection,inproceedings,misc,patent,report,thesis,unpublished]
\DeclareFieldFormat*{citetitle}{\mkbibemph{#1}} % [article,book,inbook,incollection,inproceedings,misc,patent,techreport,thesis,unpublished]
\DeclareFieldFormat[article]{journaltitle}{\mkbibemph{#1},}
\DeclareFieldFormat[article]{volume}{\bibstring{jourvol}\addnbspace #1}
\DeclareFieldFormat[article]{number}{\bibstring{number}\addnbspace #1}
% authortitle-dw options
%%%\DeclareFieldFormat[article]{journaltitle}{\mkbibemph{#1},}
%%%\DeclareFieldFormat[inbook,incollection,inproceedings]{booktitle}{\mkbibemph{#1}}
%%%\DeclareFieldFormat[masterthesis,misc,article,inproceedings,techreport,phdthesis,mastersthesis,thesis,report,inbook,incollection]{title}{#1.}
%%%\AtEveryBibitem{\clearlist{language}}
\DeclareNameAlias{sortname}{last-first}
%%\DeclareDelimFormat[cbx@textcite]{nameyeardelim}{\addspace}
%%\DeclareDelimFormat[cbx@textcite]{nonameyeardelim}{\addspace}
\newbibmacro*{customfootcite}
{\global\boolfalse{cbx:loccit}%
\iffieldundef{shorthand}%
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
{\usebibmacro{cite:ibid}}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
{\usebibmacro{cite:label}%
\setunit{\addspace}}
{\printnames{labelname}%
\setunit{\nameyeardelim}}%
\iffieldundef{labelyear}
{}
{\iffieldundef{shorttitle}%
{\printtext[parens]{\usebibmacro{cite:labeldate+extradate}}\addcolon\addspace\printtext{\printfield[emph]{title}}}%
{\printtext[parens]{\usebibmacro{cite:labeldate+extradate}}\addcolon\addspace\printtext{\printfield[emph]{shorttitle}}}%
}}}%
{\usebibmacro{cite:shorthand}}%
}
\DeclareCiteCommand{\footcite}[\mkbibfootnote]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{customfootcite}
}
{\multicitedelim}
{\usebibmacro{postnote}}
% https://tex.stackexchange.com/questions/97376/missing-vol-and-no-in-biblatex-biber
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\setunit{\addcomma\space}%<---- was \setunit*{\adddot}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addcomma\space}% was: \setunit*{\addspace}
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addcomma\space}}% was: \setunit{\addspace}
\usebibmacro{volume+number+eid}%
\setunit{\addspace}%
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\newunit}
\DefineBibliographyStrings{english}{
andothers = {{et\,al\adddot}}, bibliography = {Bibliography}, mathesis = {master's thesis}, phdthesis = {doctoral thesis}, techreport = {technical report}, resreport = {research report}, edition = {edition}, volume = {volume}
}
\DefineBibliographyStrings{ngerman}{
andothers = {{et\,al\adddot}}, bibliography = {Literaturverzeichnis}, mathesis = {Diplomarbeit}, phdthesis = {Dissertation}, techreport = {Technischer Bericht}, resreport = {Forschungsbericht}, edition = {Auflage}, volume = {Band}, jourvol = {Vol.},
}
\DefineBibliographyStrings{german}{
andothers = {{et\,al\adddot}}, bibliography = {Literaturverzeichnis}, mathesis = {Diplomarbeit}, phdthesis = {Dissertation}, techreport = {Technischer Bericht}, resreport = {Forschungsbericht}, edition = {Auflage}, volume = {Band}, jourvol = {Vol.},
}
The bib entry
@Article{Behnamian2015,
author = {J. Behnamian},
title = {Graph colouring-based algorithm to parallel jobs scheduling on parallel factories},
journal = {International Journal of Computer Integrated Manufacturing},
year = {2015},
volume = {29},
number = {6},
pages = {622--635},
month = {oct},
doi = {10.1080/0951192x.2015.1099074},
publisher = {Informa {UK} Limited},
}
I hope this one is better. Thank you in advance.
biblatex
styles won't do this. Can you edit your question to show a small document that shows what you are doing? The document should just have\documentclass{...}\usepackage[....]{biblatex}\begin{document}\citet{...}\printbibliography\end{document}
along with an example.bib
file entry that shows the problem..bib
entry for your "Behnamian" citation.BiblatexSetup.sty
.