summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty')
-rw-r--r--Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty23
1 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty b/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty
index 2e11a2c0c1c..ecbdf3d5c31 100644
--- a/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty
+++ b/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty
@@ -1,4 +1,4 @@
-%% abntex2cite.sty, v 1.1 2013/01/05 laurocesar
+%% abntex2cite.sty, v-1.3 laurocesar
%% Copyright 2012-2013 by abnTeX2 group at http://code.google.com/p/abntex2/
%%
%% This work may be distributed and/or modified under the
@@ -21,6 +21,10 @@
%%
%% Revision history:
%%
+%% 2013/01/14 22h46 laurocesar
+%% Add \SingleSpacing before and \OnehalfSpacing after \bibliography command or
+%% \singlespacing and \onehalfspacing from setspace.sty if memoir is not loaded
+%%
%% 2012/12/13 22h31 laurocesar
%% Fork of the version v 1.26 2003/10/13 09:40:41 gweber created by gweber
%% Changed file name to from abntcite.sty to abntex2cite.sty
@@ -164,6 +168,7 @@
\RequirePackage{ifthen}
\RequirePackage{calc}
\RequirePackage{abntex2abrev}
+\RequirePackage{setspace} %*****
%%%%%% Options Declaration %%%%%%
@@ -402,7 +407,13 @@
% If NO
% no changes to \bibliography
-\def\bibliography#1{%
+\def\bibliography#1{% ****
+ \ifx \SingleSpacing\undefined
+ \singlespacing
+ \else
+ \SingleSpacing
+ \fi
+ %
\ifthenelse{\boolean{ABCIciteoptionwasused}
\and\boolean{ABCIauto-abntoptions}}
{
@@ -416,7 +427,13 @@
\immediate\write\@auxout{\string\bibdata{#1}}%
\fi
}
- \@input@{\jobname.bbl}}
+ \@input@{\jobname.bbl}
+ \ifx \OnehalfSpacing\undefined
+ \onehalfspacing
+ \else
+ \OnehalfSpacing
+ \fi
+ }
%