[XeTeX] Copyright page with \pagestyle{empty} clears all styles

Shakthi Kannan shakthimaan at gmail.com
Sun Feb 7 06:20:08 CET 2016


Hi,

--- On Sun, Feb 7, 2016 at 2:39 AM, Zdenek Wagner
<zdenek.wagner at gmail.com> wrote:
| \thispagestyle affect the current page only, it is not necessary to reset
| the page style.
\--

I tried the following code snippet from http://tex.stackexchange.com/a/147454:

=== foo.tex ===

\documentclass{book}

% just to have smaller pages:
\usepackage[papersize={10cm,14cm}]{geometry}

\begin{document}
% Titlepage
\title{My Book}
\author{I}
\maketitle

% copyright note
{% begin group
   \vspace*{65mm}
   \thispagestyle{empty}
   \footnotesize\itshape
   \setlength{\parskip}{\baselineskip}
   \setlength{\parindent}{0pt}
   \copyright\,2013, by me

   Don't steel my thoughts!
}% end group

% First chapter (or TOC ...)
\chapter*{Preface}
This book is about how to wirte copyright notes
right after a title page \dots

% etc.  ...
\end{document}

=== END ===

to build a PDF using xelatex, and the copyright page built fine. So,
this has go to do with the Makefile and the build process that I have?

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com


More information about the XeTeX mailing list