Преглед изворни кода

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


Loading…
Откажи
Сачувај