Просмотр исходного кода

* Fixed a bug which prevented the use of \title and \author in the document proper.

(Thanks to Uwe Stöhr and Joachim Osnabryg for reporting this bug!)


git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@139 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby 16 лет назад
Родитель
Сommit
18ebe7a376
3 измененных файлов: 6 добавлений и 2 удалений
  1. Двоичные данные
      sample-book.pdf
  2. Двоичные данные
      sample-handout.pdf
  3. +6
    -2
      tufte-common.def

Двоичные данные
sample-book.pdf Просмотреть файл


Двоичные данные
sample-handout.pdf Просмотреть файл


+ 6
- 2
tufte-common.def Просмотреть файл

@@ -556,7 +556,9 @@
\ifthenelse{\isempty{#1}}%
{\renewcommand{\plaintitle}{\thanklesstitle}}% use thankless title
{\renewcommand{\plaintitle}{#1}}% use provided plain-text title
\@ifpackageloaded{hyperref}{\hypersetup{pdftitle={\plaintitle}}}{}% set the PDF metadata title
\ifthenelse{\isundefined{\hypersetup}}
{}% hyperref isn't loaded; do nothing
{\hypersetup{pdftitle={\plaintitle}}}% set the PDF metadata title
}

\def\@author{}% default author is empty (suppresses LaTeX's ``no author'' warning)
@@ -570,7 +572,9 @@
\ifthenelse{\isempty{#1}}
{\renewcommand{\plainauthor}{\thanklessauthor}}% use thankless author
{\renewcommand{\plainauthor}{#1}}% use provided plain-text author
\@ifpackageloaded{hyperref}{\hypersetup{pdfauthor={\plainauthor}}}{}% set the PDF metadata author
\ifthenelse{\isundefined{\hypersetup}}
{}% hyperref isn't loaded; do nothing
{\hypersetup{pdfauthor={\plainauthor}}}% set the PDF metadata author
}

\renewcommand*{\date}[1]{%


Загрузка…
Отмена
Сохранить