Переглянути джерело

* 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 роки тому
джерело
коміт
18ebe7a376
3 змінених файлів з 6 додано та 2 видалено
  1. BIN
      sample-book.pdf
  2. BIN
      sample-handout.pdf
  3. +6
    -2
      tufte-common.def

BIN
sample-book.pdf Переглянути файл


BIN
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]{%


Завантаження…
Відмінити
Зберегти