%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Legrand Orange Book
% LaTeX Template
% Version 2.0 (9/2/15)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
% Important note:
% Chapter heading images should have a 2:1 width:height ratio,
% e.g. 920px width and 460px height.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[11pt,fleqn,twoside]{book}
\usepackage{ctex}
\usepackage{indentfirst}
\usepackage{zhlineskip}
% \setCJKmainfont[BoldFont={SimHei},ItalicFont={KaiTi}]{SimSun}
\usepackage{mathrsfs}
\usepackage{cancel}
\usepackage{mathrsfs}
% \usepackage{siunitx}
\usepackage{physics}
\usepackage{ulem}
%\usepackage[version=3]{mhchem}
% \usepackage{draftwatermark}
% \SetWatermarkText{\textsc{Draft Translation}}
% \SetWatermarkLightness{0.9}
% \SetWatermarkScale{0.4}
\usepackage{marginfix}
%\include{marginpar}
\input{structure}
\usepackage{xypic}

\makeatletter
\def\UrlBreaks{\do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J
\do\K\do\L\do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V
\do\W\do\X\do\Y\do\Z\do\[\do\\\do\]\do\^\do\_\do\`\do\a\do\b
\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m\do\n
\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z
\do\.\do\@\do\\\do\/\do\!\do\_\do\|\do\;\do\>\do\]\do\)\do\,
\do\?\do\'\do+\do\=\do\#}

\newcommand\figcaption{\def\@captype{figure}\caption} \newcommand\tabcaption{\def\@captype{table}\caption}
\makeatother

\newcounter{mparcnt}[chapter]
\renewcommand\themparcnt{\small{$^{\arabic{mparcnt}}$}}
\newcommand\mpar[1]{\refstepcounter{mparcnt}{$^{\arabic{mparcnt}}$}\marginpar{\themparcnt\scriptsize#1}}

\newcommand\picmpar[1]{\marginpar{%
    \captionsetup{type=figure}
    #1}%
}

\newenvironment{partquote}{\newpage\thispagestyle{empty}%
~\vspace{\stretch{1}}\begin{quote}}{\end{quote}~\vspace{\stretch{2}}\cleardoublepage}

%\makeatletter
%\def\mpar#1{%
%  {\refstepcounter{mparcnt}{$^{\arabic{mparcnt}}$}\marginpar{\themparcnt\tiny#1}}%
%}
%\def\mpar@macro#1[#2]{%
%  {\refstepcounter{mparcnt}{$^{\arabic{mparcnt}}$}\marginnote[#2]{\themparcnt\tiny#1}}
%}
%\makeatother

%%% 中文句号改为中文点号
%\catcode`\。=\active
%\let。=．

\begin{document}
\frontmatter
\allowdisplaybreaks

%----------------------------------------------------------------------------------------
%	TITLE PAGE
%----------------------------------------------------------------------------------------

\begingroup
\thispagestyle{empty}
\begin{tikzpicture}[remember picture,overlay]
\coordinate [below=12cm] (midpoint) at (current page.north);
\node at (current page.north west)
{\begin{tikzpicture}[remember picture,overlay]
\node[anchor=north west,inner sep=0pt] at (0,0) {\includegraphics[width=\paperwidth]{background}}; % Background image
\draw[anchor=north] (midpoint) node [fill=ocre!30!white,fill opacity=0.6,text opacity=1,inner sep=1cm]{\Huge\centering\bfseries\sffamily\parbox[c][][t]{\paperwidth}{\centering 基于对称性的现代物理学 \\[15pt] % Book title
{\Large 原著：Jakob Schwichtenberg \quad 翻译：超理汉化组}\\[20pt] % Subtitle
{\huge } % Author name
{\huge Translate Version: \today}
}};
\end{tikzpicture}};
\end{tikzpicture}
\vfill
\endgroup

%----------------------------------------------------------------------------------------
%	COPYRIGHT PAGE
%----------------------------------------------------------------------------------------

\newpage
~\vfill
\thispagestyle{empty}

\noindent 本文档由热心网友翻译制作，原著书名为：\emph{Physics from Symmetry}，属Springer公司Undergraduate Lecture Notes in Physics(ULNP)丛书，ISBN 978-3-319-19200-0，DOI 10.1007/978-3-319-19201-7。
\\ {\bfseries 仅限教学科研使用，使用与传播应严格遵守相关法律规定。}\\\\\\

\noindent《中华人民共和国著作权法》第四节第二十二条：\\
在下列情况下使用作品，可以不经著作权人许可，不向其支付报酬，但应当指明作者姓名、作品名称，并且不得侵犯著作权人依照本法享有的其他权利：\\
\dots \\
（六）为学校课堂教学或者科学研究，翻译或者少量复制已经发表的作品，供教学或者科研人员使用，但不得出版发行；\\
\dots \\\\



\noindent \copyright\ Springer International Publishing Switzerland 2015 \\

\noindent \copyright\ 2016 Chaoli-Translating-Group（超理汉化组） \\ % Copyright notice

\noindent \textsc{Not Published}\\ % Publisher

%\noindent \textsc{https://github.com/laserroger/Physics-from-Symmetry/}\\ % URL

%\noindent Licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License (the ``License''). You may not use this file except in compliance with the License. You may obtain a copy of the License at \url{http://creativecommons.org/licenses/by-nc/3.0}. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \textsc{``as is'' basis, without warranties or conditions of any kind}, either express or implied. See the License for the specific language governing permissions and limitations under the License.\\ % License information

%\noindent \textit{First printing, March 2013} % Printing/edition date

%----------------------------------------------------------------------------------------
%	TABLE OF CONTENTS
%----------------------------------------------------------------------------------------
\chapterimage{chapter_head_1.pdf} % Chapter heading image


\pagestyle{empty} % No headers


\cleardoublepage % Forces the first chapter to start on an odd page so it's on the right

\pagestyle{fancy} % Print headers again

%----------------------------------------------------------------------------------------
%	PART
%----------------------------------------------------------------------------------------

\input{Preface}
\input{Acknowledge}

\cleardoublepage
\pdfbookmark[chapter]{\contentsname}{toc}
\tableofcontents % Print the table of contents itself

\mainmatter

\input{./Parts/Part1}
\input{./Chaps/Chap1}
\input{./Chaps/Chap2}

\input{./Parts/Part2}
\input{./Chaps/Chap3}
\input{./Chaps/Chap4}

\input{./Parts/Part3}
\input{./Chaps/Chap5}
\input{./Chaps/Chap6}
\input{./Chaps/Chap7}

\input{./Parts/Part4}
\input{./Chaps/Chap8}
\input{./Chaps/Chap9}
\input{./Chaps/Chap10}
\input{./Chaps/Chap11}
\input{./Chaps/Chap12}
\input{./Chaps/Chap13}

\appendix

\input{appendix}

\backmatter

%----------------------------------------------------------------------------------------
%	BIBLIOGRAPHY
%----------------------------------------------------------------------------------------

%\cleardoublepage
%\bibliographystyle{apsrev4-1}
%\bibliography{bibliography}

%----------------------------------------------------------------------------------------
%	INDEX
%----------------------------------------------------------------------------------------

%\cleardoublepage
%\phantomsection
%\setlength{\columnsep}{0.75cm}
%\addcontentsline{toc}{chapter}{\textcolor{ocre}{Index}}
%\printindex



\end{document}
