summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/windycity/windycity.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/windycity/windycity.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/windycity/windycity.cbx28
1 files changed, 19 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/windycity/windycity.cbx b/Master/texmf-dist/tex/latex/windycity/windycity.cbx
index 0d054166396..8a43318cf55 100644
--- a/Master/texmf-dist/tex/latex/windycity/windycity.cbx
+++ b/Master/texmf-dist/tex/latex/windycity/windycity.cbx
@@ -1,4 +1,4 @@
-% Last modified: Tue 02 Apr 2019 11:43:21 AM CDT
+% Last modified: Wed 17 Jul 2019 09:44:59 AM CDT
% Copyright (c) 2019 Brian Michael Chase.
%
@@ -13,7 +13,7 @@
% implied warranties of merchantability and fitness for a particular
% purpose.
-\ProvidesFile{windycity.cbx}[2019/04/02 Windy City citation style for
+\ProvidesFile{windycity.cbx}[2019/07/17 Windy City citation style for
biblatex]
\@ifpackagelater{biblatex}{2017/11/04}
{}
@@ -43,13 +43,6 @@
\AtEveryItem}%
\AtEveryMultiCite{\toggletrue{multicite}}%
-% To facilitate uniform output, citations in notes always end with
-% '\addperiod' (see cite:postnote). This makes '\footcite{something}'
-% and '\footnote{\cite{something}}' functionally equivalent. To
-% prevent an extra period from printing in very rare cases, as when
-% '\footcite{something}' ends with a capital letter, remove
-% '\addperiod' from the commands below:
-
\renewcommand{\bibfootnotewrapper}[1]{%
\bibsentence#1}%
\renewcommand{\bibendnotewrapper}[1]{%
@@ -131,6 +124,23 @@
\DeclareMultiCiteCommand{\smartcites}[\iffootnote{}\mkbibfootnote]
{\smartcite}{\multicitedelim}
+\DeclareCiteCommand{\textcite}
+ {\usebibmacro{prenote}}%
+ {\usebibmacro{citeindex}%
+ \usebibmacro{test:multicite}%
+ \usebibmacro{cite}}%
+ {\multicitedelim}%
+ {\usebibmacro{postnote}}%
+
+\DeclareCiteCommand*{\textcite}
+ {\usebibmacro{prenote}}%
+ {\usebibmacro{citeindex}%
+ \toggletrue{noauth}%
+ \usebibmacro{test:multicite}%
+ \usebibmacro{cite}}%
+ {\multicitedelim}%
+ {\usebibmacro{postnote}}%
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Parenthetical Citations %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%