?? base.tex
字號:
\begin{minipage}[t]{\linewidth}% \setlength{\parindent}{\Dboxparindent}% #1% \end{minipage}% }% }% \vspace{\Dsidebarvmargin}% \end{minipage}% }%}% Citations and footnotes.\providecommand{\Dformatfootnote}[1]{% % Format footnote. {% \footnotesize#1% % \par is necessary for LaTeX to adjust baselineskip to the % changed font size. \par% }%}\providecommand{\Dformatcitation}[1]{\Dformatfootnote{#1}}\Dprovidelength{\Doriginalbaselineskip}{0pt}\providecommand{\DNfootnotereference}[1]{% {% % \baselineskip is 0pt in \textsuperscript, so we save it here. \setlength{\Doriginalbaselineskip}{\baselineskip}% \textsuperscript{#1}% }%}\providecommand{\DNcitationreference}[1]{{[}#1{]}}\Dprovidelength{\Dfootnotesep}{3.5pt}\providecommand{\Dsetfootnotespacing}{% % Spacing commands executed at the beginning of footnotes. \setlength{\parindent}{0pt}% \hspace{1em}%}\providecommand{\DNfootnote}[1]{% % See ltfloat.dtx for details. {% \insert\footins{% \vspace{\Dfootnotesep}% \Dsetfootnotespacing% \Dformatfootnote{#1}% }% }%}\providecommand{\DNcitation}[1]{\DNfootnote{#1}}\providecommand{\Dformatfootnotelabel}[1]{% % Keep \footnotesize in footnote labels (\textsuperscript would % reduce the font size even more). \textsuperscript{\footnotesize#1{ }}%}\providecommand{\Dformatcitationlabel}[1]{{[}#1{]}{ }}\providecommand{\Dformatmultiplebackrefs}[1]{% % If in printing mode, do not write out multiple backrefs. \ifthenelse{\equal{\Dprinting}{true}}{}{\textsl{#1}}%}\providecommand{\Dthislabel}{}\providecommand{\DNlabel}[1]{% \renewcommand{\Dthislabel}{#1} \ifthenelse{\not\equal{\Dsinglebackref}{}}{% \let\Doriginallabel=\Dthislabel% \def\Dthislabel{% \Dsinglefootnotebacklink{\Dsinglebackref}{\Doriginallabel}% }% }{}% \ifthenelse{\equal{\Dparent}{footnote}}{% % Footnote label. \Dformatfootnotelabel{\Dthislabel}% }{% \ifthenelse{\equal{\Dparent}{citation}}{% % Citation label. \Dformatcitationlabel{\Dthislabel}% }{}% }% % If there are multiple backrefs, add them now. \Dformatmultiplebackrefs{\Dmultiplebackrefs}%}\providecommand{\Dsinglefootnotebacklink}[2]{% % Create normal backlink of a footnote label. Parameters: % 1. ID. % 2. Link text. % Treat like a footnote reference. \Dimplicitfootnotereference{\##1}{#2}%}\providecommand{\Dmultifootnotebacklink}[2]{% % Create generated backlink, as in (1, 2). Parameters: % 1. ID. % 2. Link text. % Treat like a footnote reference. \Dimplicitfootnotereference{\##1}{#2}%}\providecommand{\Dsinglecitationbacklink}[2]{\Dsinglefootnotebacklink{#1}{#2}}\providecommand{\Dmulticitationbacklink}[2]{\Dmultifootnotebacklink{#1}{#2}}\RequirePackage{longtable}\providecommand{\Dmaketable}[2]{% % Make table. Parameters: % 1. Table spec (like "|p|p|"). % 2. Table contents. {% \ifthenelse{\equal{\Dinsidetabular}{true}}{% % Inside longtable; we cannot have nested longtables. \begin{tabular}{#1}% \hline% #2% \end{tabular}% }{% \renewcommand{\Dinsidetabular}{true}% \begin{longtable}{#1}% \hline% #2% \end{longtable}% }% }%}\providecommand{\DNthead}[1]{% #1% \endhead%}\providecommand{\DNrow}[1]{% #1\tabularnewline% \hline%}\providecommand{\Dinsidemulticolumn}{false}\providecommand{\Dcompensatingmulticol}[3]{% \multicolumn{#1}{#2}{% {% \renewcommand{\Dinsidemulticolumn}{true}% % Compensate for weird missing vertical space at top of paragraph. \raisebox{-2.5pt}{#3}% }% }%}\providecommand{\Dcolspan}[2]{% % Take care of the morecols attribute (but incremented by 1). &% \Dcompensatingmulticol{#1}{l|}{#2}%}\providecommand{\Dcolspanleft}[2]{% % Like \Dmorecols, but called for the leftmost entries in a table % row. \Dcompensatingmulticol{#1}{|l|}{#2}%}\providecommand{\Dsubsequententry}[1]{% %}\providecommand{\DNentry}[1]{% % The following sequence adds minimal vertical space above the top % lines of the first cell paragraph, so that vertical space is % balanced at the top and bottom of table cells. \ifthenelse{\equal{\Dinsidemulticolumn}{false}}{% \vspace{-1em}\vspace{-\parskip}\par% }{}% #1% % No need to add an ampersand ("&"); that's done by \Dsubsequententry.}\providecommand{\DAtableheaderentry}[5]{\Dformattableheaderentry{#5}}\providecommand{\Dformattableheaderentry}[1]{{\bfseries#1}}\providecommand{\DNsystemmessage}[1]{% {% \ifthenelse{\equal{\Dprinting}{false}}{\color{red}}{}% \bfseries% #1% }%}\providecommand{\Dinsidehalign}{false}\newsavebox{\Dalignedimagebox}\Dprovidelength{\Dalignedimagewidth}{0pt}\providecommand{\Dhalign}[2]{% % Horizontally align the contents to the left or right so that the % text flows around it. % Parameters: % 1. l or r % 2. Contents. \renewcommand{\Dinsidehalign}{true}% % For some obscure reason \parpic consumes some vertical space. \vspace{-3pt}% % Now we do something *really* ugly, but this enables us to wrap the % image in a minipage while still allowing tight frames when % class=border (see \DNimageCborder). \sbox{\Dalignedimagebox}{#2}% \settowidth{\Dalignedimagewidth}{\usebox{\Dalignedimagebox}}% \parpic[#1]{% \begin{minipage}[b]{\Dalignedimagewidth}% % Compensate for previously added space, but not entirely. \vspace*{2.0pt}% \vspace*{\Dfloatimagetopmargin}% \usebox{\Dalignedimagebox}% \vspace*{1.5pt}% \vspace*{\Dfloatimagebottommargin}% \end{minipage}% }% \renewcommand{\Dinsidehalign}{false}%}\RequirePackage{graphicx}% Maximum width of an image.\providecommand{\Dimagemaxwidth}{\linewidth}\providecommand{\Dfloatimagemaxwidth}{0.5\linewidth}% Auxiliary variable.\Dprovidelength{\Dcurrentimagewidth}{0pt}\providecommand{\DNimageAalign}[5]{% \ifthenelse{\equal{#3}{left}}{% \Dhalign{l}{#5}% }{% \ifthenelse{\equal{#3}{right}}{% \Dhalign{r}{#5}% }{% \ifthenelse{\equal{#3}{center}}{% % Text floating around centered figures is a bad idea. Thus % we use a center environment. Note that no extra space is % added by the writer, so the space added by the center % environment is fine. \begin{center}#5\end{center}% }{% #5% }% }% }%}% Base path for images.\providecommand{\Dimagebase}{}% Auxiliary command. Current image path.\providecommand{\Dimagepath}{}\providecommand{\DNimageAuri}[5]{% % Insert image. We treat the URI like a path here. \renewcommand{\Dimagepath}{\Dimagebase#3}% \Difdefined{DcurrentNimageAwidth}{% \Dwidthimage{\DcurrentNimageAwidth}{\Dimagepath}% }{% \Dsimpleimage{\Dimagepath}% }%}\Dprovidelength{\Dfloatimagevmargin}{0pt}\providecommand{\Dfloatimagetopmargin}{\Dfloatimagevmargin}\providecommand{\Dfloatimagebottommargin}{\Dfloatimagevmargin}\providecommand{\Dwidthimage}[2]{% % Image with specified width. % Parameters: % 1. Image width. % 2. Image path. % Need to make bottom-alignment dependent on align attribute (add % functional test first). Need to observe height attribute. %\begin{minipage}[b]{#1}% \includegraphics[width=#1,height=\textheight,keepaspectratio]{#2}% %\end{minipage}%} \providecommand{\Dcurrentimagemaxwidth}{}\providecommand{\Dsimpleimage}[1]{% % Insert image, without much parametrization. \settowidth{\Dcurrentimagewidth}{\includegraphics{#1}}% \ifthenelse{\equal{\Dinsidehalign}{true}}{% \renewcommand{\Dcurrentimagemaxwidth}{\Dfloatimagemaxwidth}% }{% \renewcommand{\Dcurrentimagemaxwidth}{\Dimagemaxwidth}% }% \ifthenelse{\lengthtest{\Dcurrentimagewidth>\Dcurrentimagemaxwidth}}{% \Dwidthimage{\Dcurrentimagemaxwidth}{#1}% }{% \Dwidthimage{\Dcurrentimagewidth}{#1}% }%}\providecommand{\Dwidthimage}[2]{% % Image with specified width. % Parameters: % 1. Image width. % 2. Image path. \Dwidthimage{#1}{#2}%}% Figures.\providecommand{\DNfigureAalign}[5]{% % Hack to make it work Right Now. %\def\DcurrentNimageAwidth{\DcurrentNfigureAwidth}% % %\def\DcurrentNimageAwidth{\linewidth}% \DNimageAalign{#1}{#2}{#3}{#4}{% \begin{minipage}[b]{0.4\linewidth}#5\end{minipage}}% %\let\DcurrentNimageAwidth=\relax% % %\let\DcurrentNimageAwidth=\relax%}\providecommand{\DNcaption}[1]{\par\noindent{\slshape#1}}\providecommand{\DNlegend}[1]{\Dauxiliaryspace#1}\providecommand{\DCborder}[1]{\fbox{#1}}% No padding between image and border.\providecommand{\DNimageCborder}[1]{\frame{#1}}% Need to replace with language-specific stuff. Maybe look at% csquotes.sty and ask the author for permission to use parts of it.\providecommand{\Dtextleftdblquote}{``}\providecommand{\Dtextrightdblquote}{''}% Table of contents:\Dprovidelength{\Dtocininitialsectnumwidth}{2.4em}\Dprovidelength{\Dtocadditionalsectnumwidth}{0.7em}% Level inside a table of contents. While this is at -1, we are not% inside a TOC.\Dprovidecounter{Dtoclevel}%\setcounter{Dtoclevel}{-1}\providecommand{\Dlocaltoc}{false}%\providecommand{\DNtopicClocal}[1]{% \renewcommand{\Dlocaltoc}{true}% \addtolength{\Dtocsectnumwidth}{2\Dtocadditionalsectnumwidth}% \addtolength{\Dtocindent}{-2\Dtocadditionalsectnumwidth}% #1% \addtolength{\Dtocindent}{2\Dtocadditionalsectnumwidth}% \addtolength{\Dtocsectnumwidth}{-2\Dtocadditionalsectnumwidth}% \renewcommand{\Dlocaltoc}{false}%}\Dprovidelength{\Dtocindent}{0pt}%\Dprovidelength{\Dtocsectnumwidth}{\Dtocininitialsectnumwidth}% Compensate for one additional TOC indentation space so that the% top-level is unindented.\addtolength{\Dtocsectnumwidth}{-\Dtocadditionalsectnumwidth}\addtolength{\Dtocindent}{-\Dtocsectnumwidth}\providecommand{\Difinsidetoc}[2]{% \ifthenelse{\not\equal{\theDtoclevel}{-1}}{#1}{#2}%}\providecommand{\DNgeneratedCsectnum}[1]{% \Difinsidetoc{% % Section number inside TOC. \makebox[\Dtocsectnumwidth][l]{#1}% }{% % Section number inside section title. #1\quad% }%}\providecommand{\Dtocbulletlist}[1]{% \addtocounter{Dtoclevel}{1}% \addtolength{\Dtocindent}{\Dtocsectnumwidth}% \addtolength{\Dtocsectnumwidth}{\Dtocadditionalsectnumwidth}% #1% \addtolength{\Dtocsectnumwidth}{-\Dtocadditionalsectnumwidth}% \addtolength{\Dtocindent}{-\Dtocsectnumwidth}% \addtocounter{Dtoclevel}{-1}%}% For \Dpixelunit, the length value is pre-multiplied with 0.75, so by% specifying "pt" we get the same notion of "pixel" as graphicx.\providecommand{\Dpixelunit}{pt}% Normally lengths are relative to the current linewidth.\providecommand{\Drelativeunit}{\linewidth}%\RequirePackage{fixmath}%\RequirePackage{amsmath}\DSfontencoding\DSlanguage\DSlinks\DSsymbols\DSlate\makeatother
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -