Przeglądaj źródła

* Now allows the use of the \bibsep length.

(I was redefining thebibliography environment, so natbib's was being overwritten.
  I've instead redefined the \bibsection command to remove the \@mkboth commands.
  This fixes the original problem of having nasty running heads and allows natbib 
  to work better.)


git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@142 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby 16 lat temu
rodzic
commit
be494f17c8
3 zmienionych plików z 8 dodań i 30 usunięć
  1. BIN
      sample-book.pdf
  2. BIN
      sample-handout.pdf
  3. +8
    -30
      tufte-common.def

BIN
sample-book.pdf Wyświetl plik


BIN
sample-handout.pdf Wyświetl plik


+ 8
- 30
tufte-common.def Wyświetl plik

@@ -1675,36 +1675,14 @@
\newcommand{\nohyphenation}{\language\langwohyphens}% can be used inside environments for longer text

%%
% The bibliography environment

\setlength\bibindent{1.5em}
\renewenvironment{thebibliography}[1]
{%
\ifthenelse{\equal{\@tufte@class}{book}}%
{\chapter{\bibname}}%
{\section*{\refname}}%
% \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m%
}
{%
\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist%
}
\renewcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}

% Redefine \bibsection to not mark the running heads.
% (Code modified from natbib.sty.)

\@ifundefined{chapter}%
{\renewcommand\bibsection{\section*{\refname}}}
{\@ifundefined{NAT@sectionbib}%
{\renewcommand\bibsection{\chapter*{\bibname}}}
{\renewcommand\bibsection{\section*{\bibname}}}}

%%
% An index environment to mimic Tufte's indexes


Ładowanie…
Anuluj
Zapisz