Pārlūkot izejas kodu

* 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 pirms 16 gadiem
vecāks
revīzija
18ebe7a376
3 mainītis faili ar 6 papildinājumiem un 2 dzēšanām
  1. Binārs
      sample-book.pdf
  2. Binārs
      sample-handout.pdf
  3. +6
    -2
      tufte-common.def

Binārs
sample-book.pdf Parādīt failu


Binārs
sample-handout.pdf Parādīt failu


+ 6
- 2
tufte-common.def Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt