I have an issue I was not able to solve by now.
When I use the \textcite command in combination with a page number, the year is enclosed in square brackets.
How can I delete them?
\documentclass[
a4paper,
bibliography=totoc,
toc=listof,
chapterentrydots=on,
captions=tableheading,
headings=small,
]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{lmodern}
\usepackage[headsepline]{scrlayer-scrpage}
\usepackage{microtype}
\usepackage{ragged2e}
\usepackage[
format=hang,
skip=2.5pt,
justification=RaggedRight,
singlelinecheck=false,
labelfont=bf,
]{caption}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{fp}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{etoolbox}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[babel]{csquotes}
\usepackage[
backend=biber,
citetracker=true,
autolang=other,
style=authoryear,
maxcitenames=2,
maxbibnames=99,
uniquename=false,
uniquelist=true,
isbn=false,
doi=false
]{biblatex}
\AtEveryCitekey{\ifciteseen{}{\defcounter{maxnames}{99}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% --- Backslash Authors --- % \newcommand*{\citerevsdnamedelim}{}
\newcommand*{\citemultinamedelim}{\slash}
\newcommand*{\citefinalnamedelim}{\slash}
\AtBeginDocument{%
\let\revsdnamedelim\citerevsdnamedelim
\let\multinamedelim\citemultinamedelim%
\let\finalnamedelim\citefinalnamedelim%
}
% --- Semikolon --- %
\renewcommand*{\multilistdelim}{\addsemicolon\space}
\renewcommand*{\finallistdelim}{\addsemicolon\space}
% --- () footnotes % --- () year footnotes
\DeclareFieldFormat{bibhyperrefparens}{\bibhyperref{\mkbibparens{#1}}}
% --- () year text \renewbibmacro*{cite:labelyear+extrayear}{% \iffieldundef{labelyear} {}% {\printtext[bibhyperrefparens]{%
\printfield[]{labelyear}% \printfield[]{extrayear}% }% }% }
% --- authors footnotes / small caps text --- %
\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
\AtBeginBibliography{%
\renewcommand*{\mkbibnamefamily}[1]{\textrm{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bibliography{Master}
\usepackage{filecontents}
\begin{filecontents*}{Master.bib}
@article{Beasley.2008,
author = {Beasley, Mark and Pagach, Don and Warr, Richard},
year = {2008},
title = {Information conveyed in hiring announcements of senior
executives overseeing enterprise-wide risk management processes},
pages = {311--332},
pagination = {page},
volume = {23},
journaltitle = {Journal of Accounting, Auditing {\&} Finance},
abstract = {},
note = {}
}
\end{filecontents*}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\noindent Here I use the \textit{cite} command:
\cite[][311]{Beasley.2008} \\ Here the \textit{footcite} command: See
footnote\footcite[][311]{Beasley.2008} \\ And finally the
\textit{textcite} command:
\textcolor{red}{\textcite[][311]{Beasley.2008}} \\ \noindent But it
should look like that: \textcolor{green}{\textsc{Beasley} et al.
(2008, p. 311)}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\renewbibmacro*{cite:labelyear+extrayear}...definition. – Ulrike Fischer Aug 18 '16 at 11:36\DeclareFieldFormat{bibhyperrefparens}{\ifcsstring{blx@delimcontext}{textcite} {\bibhyperref{#1}} {\bibhyperref{\mkbibparens{#1}}}}– Ulrike Fischer Aug 18 '16 at 13:08% --- () year text \renewbibmacro*{cite:labelyear+extrayear}{% \iffieldundef{labelyear} {}% {\printtext[bibhyperrefparens]{% \printfield[]{labelyear}% \printfield[]{extrayear}% }% }% }
– TRJW Aug 18 '16 at 14:38\textcite-like output from\citeand\footciteas well? Would you expect there to be a difference between\citeand\textcite? – moewe Aug 18 '16 at 14:56