Update to version 0.1
More detailed comparison with [Wilson, 1975]. Proof of the uniqueness of the non-trivial fixed point. Reformatting, relabeling.
This commit is contained in:
parent
276335e730
commit
121c2ba1a3
File diff suppressed because it is too large
Load Diff
@ -1,75 +1,99 @@
|
|||||||
|
\hrefanchor
|
||||||
\outdef{citeabeSeO}{ABe71}
|
\outdef{citeabeSeO}{ABe71}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{abeSeO}]}\parbox[t]{\colw}{D.~Abraham, E.~Barouch, G.~Gallavotti, A.~Martin-L\"of - {\it Dynamics of a local perturbation in the XY model - I.~Approach to equilibrium}, Studies in Applied Mathematics, Vol.~50, p.~121-131, 1971.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{abeSeO}]}\parbox[t]{\colw}{D.~Abraham, E.~Barouch, G.~Gallavotti, A.~Martin-L\"of - {\it Dynamics of a local perturbation in the XY model - I.~Approach to equilibrium}, Studies in Applied Mathematics, Vol.~50, p.~121-131, 1971.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citeandSeZ}{And70}
|
\outdef{citeandSeZ}{And70}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{andSeZ}]}\parbox[t]{\colw}{P.~Anderson - {\it A poor man's derivation of scaling laws for the Kondo problem}, Journal of Physics C: Solid State Physics, Vol.~3, p.~2436, 1970.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{andSeZ}]}\parbox[t]{\colw}{P.~Anderson - {\it A poor man's derivation of scaling laws for the Kondo problem}, Journal of Physics C: Solid State Physics, Vol.~3, p.~2436, 1970.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citeandSO}{And61}
|
\outdef{citeandSO}{And61}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{andSO}]}\parbox[t]{\colw}{P.~Anderson - {\it Localized magnetic states in metals}, Physical Review, Vol.~124, n.~1, p.~41-53, 1961.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{andSO}]}\parbox[t]{\colw}{P.~Anderson - {\it Localized magnetic states in metals}, Physical Review, Vol.~124, n.~1, p.~41-53, 1961.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citeayhSeZ}{AYH70}
|
\outdef{citeayhSeZ}{AYH70}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{ayhSeZ}]}\parbox[t]{\colw}{P.~Anderson, G.~Yuval, D.~Hamann - {\it Exact results in the Kondo problem - II. Scaling theory, qualitatively correct solution, and some new results on one-dimensional classical statistical mechanics}, Physical Review B, Vol.~1, n.~11, p.~4464-4473, 1970.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{ayhSeZ}]}\parbox[t]{\colw}{P.~Anderson, G.~Yuval, D.~Hamann - {\it Exact results in the Kondo problem - II. Scaling theory, qualitatively correct solution, and some new results on one-dimensional classical statistical mechanics}, Physical Review B, Vol.~1, n.~11, p.~4464-4473, 1970.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citeaySN}{AY69}
|
\outdef{citeaySN}{AY69}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{aySN}]}\parbox[t]{\colw}{P.~Anderson, G.~Yuval - {\it Exact results in the Kondo problem: equivalence to a classical one-dimensional Coulomb gas}, Physical Review Letters, Vol.~23, n.~2, p.~89-92, 1969.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{aySN}]}\parbox[t]{\colw}{P.~Anderson, G.~Yuval - {\it Exact results in the Kondo problem: equivalence to a classical one-dimensional Coulomb gas}, Physical Review Letters, Vol.~23, n.~2, p.~89-92, 1969.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citeandEZ}{And80}
|
\outdef{citeandEZ}{And80}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{andEZ}]}\parbox[t]{\colw}{N.~Andrei - {\it Diagonalization of the Kondo Hamiltonian}, Physical Review Letters, Vol.~45, n.~5, 1980.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{andEZ}]}\parbox[t]{\colw}{N.~Andrei - {\it Diagonalization of the Kondo Hamiltonian}, Physical Review Letters, Vol.~45, n.~5, 1980.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
|
\outdef{citeaflETh}{AFL83}
|
||||||
|
\hbox{\parbox[t]{\rw}{[\cite{aflETh}]}\parbox[t]{\colw}{N.~Andrei, K.~Furuya, J.~Lowenstein - {\it Solution of the Kondo problem}, Reviews of Modern Physics, Vol.~55, n.~2, p.~331-402, 1983.}}\par
|
||||||
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citebgNZ}{BG90}
|
\outdef{citebgNZ}{BG90}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{bgNZ}]}\parbox[t]{\colw}{G.~Benfatto, G.~Gallavotti - {\it Perturbation theory of the Fermi surface in a quantum Liquid - a general quasiparticle formalism and one-dimensional systems}, Journal of Statistical Physics, Vol.~59, n.~2-3, p.~541-664, 1990.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{bgNZ}]}\parbox[t]{\colw}{G.~Benfatto, G.~Gallavotti - {\it Perturbation theory of the Fermi surface in a quantum Liquid - a general quasiparticle formalism and one-dimensional systems}, Journal of Statistical Physics, Vol.~59, n.~2-3, p.~541-664, 1990.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citebgeNF}{BGe90}
|
\outdef{citebgeNF}{BGe90}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{bgeNF}]}\parbox[t]{\colw}{G.~Benfatto, G.~Gallavotti, A.~Procacci, B.~Scoppola - {\it Beta function and Schwinger functions for a many Fermions system in one dimension - Anomaly of the Fermi surface}, Communications in Mathematical Physics, Vol.~160, p.~93-171, 1994.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{bgeNF}]}\parbox[t]{\colw}{G.~Benfatto, G.~Gallavotti, A.~Procacci, B.~Scoppola - {\it Beta function and Schwinger functions for a many Fermions system in one dimension - Anomaly of the Fermi surface}, Communications in Mathematical Physics, Vol.~160, p.~93-171, 1994.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citedorNO}{Dor91}
|
\outdef{citedorNO}{Dor91}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{dorNO}]}\parbox[t]{\colw}{T.~Dorlas - {\it Renormalization group analysis of a simple hierarchical fermion model}, Communications in Mathematical Physics, Vol.~136, p.~169-194, 1991.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{dorNO}]}\parbox[t]{\colw}{T.~Dorlas - {\it Renormalization group analysis of a simple hierarchical fermion model}, Communications in Mathematical Physics, Vol.~136, p.~169-194, 1991.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citedysSN}{Dys69}
|
\outdef{citedysSN}{Dys69}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{dysSN}]}\parbox[t]{\colw}{F.~Dyson - {\it Existence of a phase-transition in a one-dimensional Ising ferromagnet}, Communications in Mathematical Physics, Vol.~12, p.~91-107, 1969.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{dysSN}]}\parbox[t]{\colw}{F.~Dyson - {\it Existence of a phase-transition in a one-dimensional Ising ferromagnet}, Communications in Mathematical Physics, Vol.~12, p.~91-107, 1969.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citekitSeS}{Kit76}
|
\outdef{citekitSeS}{Kit76}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{kitSeS}]}\parbox[t]{\colw}{C.~Kittel - {\it Introduction to solid state physics}, Wiley\&Sons, 1976.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{kitSeS}]}\parbox[t]{\colw}{C.~Kittel - {\it Introduction to solid state physics}, Wiley\&Sons, 1976.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citekonSF}{Kon64}
|
\outdef{citekonSF}{Kon64}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{konSF}]}\parbox[t]{\colw}{J.~Kondo - {\it Resistance minimum in dilute magnetic alloys}, Progress of Theoretical Physics, Vol.~32, n.~1, 1964.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{konSF}]}\parbox[t]{\colw}{J.~Kondo - {\it Resistance minimum in dilute magnetic alloys}, Progress of Theoretical Physics, Vol.~32, n.~1, 1964.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citekonZFi}{Kon05}
|
\outdef{citekonZFi}{Kon05}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{konZFi}]}\parbox[t]{\colw}{J.~Kondo - {\it Sticking to my bush}, Journal of the Physical Society of Japan, Vol.~74, n.~1, p.~1-3, 2005.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{konZFi}]}\parbox[t]{\colw}{J.~Kondo - {\it Sticking to my bush}, Journal of the Physical Society of Japan, Vol.~74, n.~1, p.~1-3, 2005.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citenozSeF}{Noz74}
|
\outdef{citenozSeF}{Noz74}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{nozSeF}]}\parbox[t]{\colw}{P.~Nozi\`eres - {\it A ``Fermi-liquid'' description of the Kondo problem at low temperatures}, Journal of Low Temperature Physics, Vol.~17, n.~1-2, p.~31-42, 1974.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{nozSeF}]}\parbox[t]{\colw}{P.~Nozi\`eres - {\it A ``Fermi-liquid'' description of the Kondo problem at low temperatures}, Journal of Low Temperature Physics, Vol.~17, n.~1-2, p.~31-42, 1974.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citerueSN}{Rue69}
|
\outdef{citerueSN}{Rue69}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{rueSN}]}\parbox[t]{\colw}{D.~Ruelle - {\it Statistical mechanics: rigorous results}, Imperial College Press, World Scientific, first edition: Benjamin, 1969, 1999.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{rueSN}]}\parbox[t]{\colw}{D.~Ruelle - {\it Statistical mechanics: rigorous results}, Imperial College Press, World Scientific, first edition: Benjamin, 1969, 1999.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citeshaNF}{Sha94}
|
\outdef{citeshaNF}{Sha94}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{shaNF}]}\parbox[t]{\colw}{R.~Shankar - {\it Renormalization group approach to interacting fermions}, Reviews of Modern Physics, Vol.~66, n.~1, p.~129-192, 1994.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{shaNF}]}\parbox[t]{\colw}{R.~Shankar - {\it Renormalization group approach to interacting fermions}, Reviews of Modern Physics, Vol.~66, n.~1, p.~129-192, 1994.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citewilSeFi}{Wil75}
|
\outdef{citewilSeFi}{Wil75}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{wilSeFi}]}\parbox[t]{\colw}{K.~Wilson - {\it The renormalization group: Critical phenomena and the Kondo problem}, Reviews of Modern Physics, Vol.~47, n.~4, 1975.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{wilSeFi}]}\parbox[t]{\colw}{K.~Wilson - {\it The renormalization group: Critical phenomena and the Kondo problem}, Reviews of Modern Physics, Vol.~47, n.~4, 1975.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citewilSFi}{Wil65}
|
\outdef{citewilSFi}{Wil65}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{wilSFi}]}\parbox[t]{\colw}{K.~Wilson - {\it Model Hamiltonians for local quantum field theory}, Physical Review, Vol.~140, n.~2B, p.~445-457, 1965.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{wilSFi}]}\parbox[t]{\colw}{K.~Wilson - {\it Model Hamiltonians for local quantum field theory}, Physical Review, Vol.~140, n.~2B, p.~445-457, 1965.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
|
||||||
|
\hrefanchor
|
||||||
\outdef{citewilSeZ}{Wil70}
|
\outdef{citewilSeZ}{Wil70}
|
||||||
\hbox{\parbox[t]{\rw}{[\cite{wilSeZ}]}\parbox[t]{\colw}{K.~Wilson - {\it Model of coupling-constant renormalization}, Physical Review D, Vol.~2, n.~8, p.~1438-1472, 1970.}}\par
|
\hbox{\parbox[t]{\rw}{[\cite{wilSeZ}]}\parbox[t]{\colw}{K.~Wilson - {\it Model of coupling-constant renormalization}, Physical Review D, Vol.~2, n.~8, p.~1438-1472, 1970.}}\par
|
||||||
\bigskip
|
\bigskip
|
||||||
|
@ -12,11 +12,7 @@
|
|||||||
%% cite a reference
|
%% cite a reference
|
||||||
\def\cite#1{%
|
\def\cite#1{%
|
||||||
%% check whether the reference exists
|
%% check whether the reference exists
|
||||||
\ifcsname cite#1\endcsname%
|
\ref{cite#1}%
|
||||||
\csname cite#1\endcsname%
|
|
||||||
\else%
|
|
||||||
{\bf??}%
|
|
||||||
\fi%
|
|
||||||
%
|
%
|
||||||
%% add entry to citelist after checking it has not already been added
|
%% add entry to citelist after checking it has not already been added
|
||||||
\ifcsname if#1cited\endcsname%
|
\ifcsname if#1cited\endcsname%
|
||||||
|
109
iansecs.sty
109
iansecs.sty
@ -34,24 +34,40 @@
|
|||||||
%% style for the equation number
|
%% style for the equation number
|
||||||
\def\eqnumstyle{}
|
\def\eqnumstyle{}
|
||||||
|
|
||||||
|
%% hyperlinks
|
||||||
|
% hyperlinkcounter
|
||||||
|
\newcounter{lncount}
|
||||||
|
% hyperref anchor
|
||||||
|
\def\hrefanchor{%
|
||||||
|
\stepcounter{lncount}%
|
||||||
|
\hypertarget{ln.\thelncount}{}%
|
||||||
|
}
|
||||||
|
|
||||||
%% define a command and write it to aux file
|
%% define a command and write it to aux file
|
||||||
\def\outdef#1#2{%
|
\def\outdef#1#2{%
|
||||||
% define command
|
% define command
|
||||||
\expandafter\xdef\csname #1\endcsname{\noexpand\hyperlink{page.\the\count0}{#2}}%
|
\expandafter\xdef\csname #1\endcsname{#2}%
|
||||||
|
% hyperlink number
|
||||||
|
\expandafter\xdef\csname #1@hl\endcsname{\thelncount}%
|
||||||
% write command to aux
|
% write command to aux
|
||||||
\immediate\write\@auxout{\noexpand\expandafter\noexpand\gdef\noexpand\csname #1\endcsname{\noexpand\hyperlink{page.\thepage}{#2}}}%
|
\immediate\write\@auxout{\noexpand\expandafter\noexpand\gdef\noexpand\csname #1\endcsname{\csname #1\endcsname}}%
|
||||||
% define ref with no link
|
\immediate\write\@auxout{\noexpand\expandafter\noexpand\gdef\noexpand\csname #1@hl\endcsname{\thelncount}}%
|
||||||
\expandafter\xdef\csname #1@nol\endcsname{#2}%
|
|
||||||
% write command to aux
|
|
||||||
\immediate\write\@auxout{\noexpand\expandafter\noexpand\gdef\noexpand\csname #1@nol\endcsname{#2}}%
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
%% define a label for the latest tag
|
%% define a label for the latest tag
|
||||||
%% label defines a command containing the string stored in \tag
|
%% label defines a command containing the string stored in \tag
|
||||||
\AtBeginDocument{
|
\AtBeginDocument{
|
||||||
\def\label#1{\expandafter\outdef{#1}{\safe\tag}}
|
\def\label#1{\expandafter\outdef{#1}{\safe\tag}}
|
||||||
\def\ref#1{\expandafter\safe\csname #1\endcsname}
|
|
||||||
|
\def\ref#1{%
|
||||||
|
% check whether the label is defined (hyperlink runs into errors if this check is ommitted)
|
||||||
|
\ifcsname #1@hl\endcsname%
|
||||||
|
\hyperlink{ln.\csname #1@hl\endcsname}{\safe\csname #1\endcsname}%
|
||||||
|
\else%
|
||||||
|
\safe\csname #1\endcsname%
|
||||||
|
\fi%
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
%% counters
|
%% counters
|
||||||
@ -71,7 +87,7 @@
|
|||||||
\newlength\sectitlewidth
|
\newlength\sectitlewidth
|
||||||
\def\section#1{%
|
\def\section#1{%
|
||||||
% reset counters
|
% reset counters
|
||||||
\refstepcounter{sectioncount}%
|
\stepcounter{sectioncount}%
|
||||||
\setcounter{subsectioncount}{0}%
|
\setcounter{subsectioncount}{0}%
|
||||||
\setcounter{pointcount}{0}%
|
\setcounter{pointcount}{0}%
|
||||||
\setcounter{subpointcount}{0}%
|
\setcounter{subpointcount}{0}%
|
||||||
@ -82,7 +98,12 @@
|
|||||||
% space before section (if not first)
|
% space before section (if not first)
|
||||||
\ifnum\thesectioncount>1%
|
\ifnum\thesectioncount>1%
|
||||||
\seqskip%
|
\seqskip%
|
||||||
|
\penalty-1000%
|
||||||
\fi%
|
\fi%
|
||||||
|
% hyperref anchor
|
||||||
|
\hrefanchor%
|
||||||
|
% define tag (for \label)
|
||||||
|
\xdef\tag{\sectionprefix\thesectioncount}%
|
||||||
% get widths
|
% get widths
|
||||||
\def\@secnum{{\bf\Large\sectionprefix\thesectioncount.\hskip10pt}}%
|
\def\@secnum{{\bf\Large\sectionprefix\thesectioncount.\hskip10pt}}%
|
||||||
\settowidth\secnumwidth{\@secnum}%
|
\settowidth\secnumwidth{\@secnum}%
|
||||||
@ -91,21 +112,21 @@
|
|||||||
% print name
|
% print name
|
||||||
\parbox{\textwidth}{%
|
\parbox{\textwidth}{%
|
||||||
\@secnum%
|
\@secnum%
|
||||||
\parbox[t]{\sectitlewidth}{\Large\bf #1}%
|
\parbox[t]{\sectitlewidth}{\Large\bf #1}}%
|
||||||
\par\penalty10000%
|
|
||||||
\bigskip}\par\penalty10000%
|
|
||||||
% define tag (for \label)
|
|
||||||
\xdef\tag{\sectionprefix\thesectioncount}%
|
|
||||||
% write to table of contents
|
% write to table of contents
|
||||||
\iftoc%
|
\iftoc%
|
||||||
|
% save lncount in aux variable which is written to toc
|
||||||
|
\immediate\write\tocoutput{\noexpand\expandafter\noexpand\edef\noexpand\csname toc@sec.\thesectioncount\endcsname{\thelncount}}%
|
||||||
\write\tocoutput{\noexpand\tocsection{#1}{\thepage}}%
|
\write\tocoutput{\noexpand\tocsection{#1}{\thepage}}%
|
||||||
\fi%
|
\fi%
|
||||||
|
\par\penalty10000%
|
||||||
|
\bigskip\penalty10000%
|
||||||
}
|
}
|
||||||
|
|
||||||
%% subsection
|
%% subsection
|
||||||
\def\subsection#1{
|
\def\subsection#1{
|
||||||
% counters
|
% counters
|
||||||
\refstepcounter{subsectioncount}%
|
\stepcounter{subsectioncount}%
|
||||||
\setcounter{pointcount}{0}%
|
\setcounter{pointcount}{0}%
|
||||||
\setcounter{subpointcount}{0}%
|
\setcounter{subpointcount}{0}%
|
||||||
\setcounter{subsubpointcount}{0}%
|
\setcounter{subsubpointcount}{0}%
|
||||||
@ -115,7 +136,12 @@
|
|||||||
% space before subsection (if not first)
|
% space before subsection (if not first)
|
||||||
\ifnum\thesubsectioncount>1%
|
\ifnum\thesubsectioncount>1%
|
||||||
\subseqskip%
|
\subseqskip%
|
||||||
|
\penalty-500%
|
||||||
\fi%
|
\fi%
|
||||||
|
% hyperref anchor
|
||||||
|
\hrefanchor
|
||||||
|
% define tag (for \label)
|
||||||
|
\xdef\tag{\sectionprefix\thesectioncount.\thesubsectioncount}%
|
||||||
% get widths
|
% get widths
|
||||||
\def\@secnum{{\bf\large\hskip.5cm\sectionprefix\thesectioncount.\thesubsectioncount.\hskip5pt}}%
|
\def\@secnum{{\bf\large\hskip.5cm\sectionprefix\thesectioncount.\thesubsectioncount.\hskip5pt}}%
|
||||||
\settowidth\secnumwidth{\@secnum}%
|
\settowidth\secnumwidth{\@secnum}%
|
||||||
@ -124,34 +150,40 @@
|
|||||||
% print name
|
% print name
|
||||||
\parbox{\textwidth}{%
|
\parbox{\textwidth}{%
|
||||||
\@secnum%
|
\@secnum%
|
||||||
\parbox[t]{\sectitlewidth}{\large\bf #1}%
|
\parbox[t]{\sectitlewidth}{\large\bf #1}}%
|
||||||
\par\penalty10000%
|
|
||||||
\medskip}\par\penalty10000%
|
|
||||||
% define tag (for \label)
|
|
||||||
\xdef\tag{\sectionprefix\thesectioncount.\thesubsectioncount}%
|
|
||||||
% write to table of contents
|
% write to table of contents
|
||||||
\iftoc%
|
\iftoc%
|
||||||
\write\tocoutput{\noexpand\tocsubsection{#1}{\the\count0}}%
|
% save lncount in aux variable which is written to toc
|
||||||
|
\immediate\write\tocoutput{\noexpand\expandafter\noexpand\edef\noexpand\csname toc@subsec.\thesectioncount.\thesubsectioncount\endcsname{\thelncount}}%
|
||||||
|
\write\tocoutput{\noexpand\tocsubsection{#1}{\thepage}}%
|
||||||
\fi%
|
\fi%
|
||||||
|
\par\penalty10000%
|
||||||
|
\medskip\penalty10000%
|
||||||
}
|
}
|
||||||
|
|
||||||
%% points
|
%% points
|
||||||
\def\point{
|
\def\point{
|
||||||
\refstepcounter{pointcount}
|
\stepcounter{pointcount}
|
||||||
\setcounter{subpointcount}{0}
|
\setcounter{subpointcount}{0}
|
||||||
|
% hyperref anchor
|
||||||
|
\hrefanchor
|
||||||
\indent{\bf \thepointcount\ - }
|
\indent{\bf \thepointcount\ - }
|
||||||
% define tag (for \label)
|
% define tag (for \label)
|
||||||
\xdef\tag{\thepointcount}
|
\xdef\tag{\thepointcount}
|
||||||
}
|
}
|
||||||
\def\subpoint{
|
\def\subpoint{
|
||||||
\refstepcounter{subpointcount}
|
\stepcounter{subpointcount}
|
||||||
\setcounter{subsubpointcount}0
|
\setcounter{subsubpointcount}0
|
||||||
|
% hyperref anchor
|
||||||
|
\hrefanchor
|
||||||
\indent\hskip.5cm{\bf \thepointcount-\thesubpointcount\ - }
|
\indent\hskip.5cm{\bf \thepointcount-\thesubpointcount\ - }
|
||||||
% define tag (for \label)
|
% define tag (for \label)
|
||||||
\xdef\tag{\thepointcount-\thesubpointcount}
|
\xdef\tag{\thepointcount-\thesubpointcount}
|
||||||
}
|
}
|
||||||
\def\subsubpoint{
|
\def\subsubpoint{
|
||||||
\refstepcounter{subsubpointcount}
|
\stepcounter{subsubpointcount}
|
||||||
|
% hyperref anchor
|
||||||
|
\hrefanchor
|
||||||
\indent\hskip1cm{\bf \thepointcount-\thesubpointcount-\thesubsubpointcount\ - }
|
\indent\hskip1cm{\bf \thepointcount-\thesubpointcount-\thesubsubpointcount\ - }
|
||||||
% define tag (for \label)
|
% define tag (for \label)
|
||||||
\xdef\tag{\thepointcount-\thesubpointcount-\thesubsubpointcount}
|
\xdef\tag{\thepointcount-\thesubpointcount-\thesubsubpointcount}
|
||||||
@ -165,7 +197,7 @@
|
|||||||
|
|
||||||
%% equation numbering
|
%% equation numbering
|
||||||
\def\seqcount{
|
\def\seqcount{
|
||||||
\refstepcounter{seqcount}
|
\stepcounter{seqcount}
|
||||||
% the output
|
% the output
|
||||||
\edef\seqformat{\theseqcount}
|
\edef\seqformat{\theseqcount}
|
||||||
% add subsection number
|
% add subsection number
|
||||||
@ -184,7 +216,7 @@
|
|||||||
\marginnote{\eqnumstyle\hfill(\seqformat)}
|
\marginnote{\eqnumstyle\hfill(\seqformat)}
|
||||||
}
|
}
|
||||||
%% equation environment compatibility
|
%% equation environment compatibility
|
||||||
\def\equation{$$\seqcount}
|
\def\equation{\hrefanchor$$\seqcount}
|
||||||
\def\endequation{$$\@ignoretrue}
|
\def\endequation{$$\@ignoretrue}
|
||||||
|
|
||||||
%% figures
|
%% figures
|
||||||
@ -193,7 +225,9 @@
|
|||||||
\addtolength\figwidth{-2.5cm}
|
\addtolength\figwidth{-2.5cm}
|
||||||
|
|
||||||
\def\figcount#1{%
|
\def\figcount#1{%
|
||||||
\refstepcounter{figcount}%
|
\stepcounter{figcount}%
|
||||||
|
% hyperref anchor
|
||||||
|
\hrefanchor%
|
||||||
% the number of the figure
|
% the number of the figure
|
||||||
\edef\figformat{\thefigcount}%
|
\edef\figformat{\thefigcount}%
|
||||||
% add section number
|
% add section number
|
||||||
@ -210,10 +244,10 @@
|
|||||||
|
|
||||||
%% environment
|
%% environment
|
||||||
\def\figure{
|
\def\figure{
|
||||||
\vfill\hbox{}
|
\par\penalty-500
|
||||||
}
|
}
|
||||||
\def\endfigure{
|
\def\endfigure{
|
||||||
\vfill\hbox{}
|
\par\penalty-1000
|
||||||
}
|
}
|
||||||
\let\caption\figcount
|
\let\caption\figcount
|
||||||
|
|
||||||
@ -224,9 +258,11 @@
|
|||||||
|
|
||||||
%% theorem headers
|
%% theorem headers
|
||||||
\def\theo#1{
|
\def\theo#1{
|
||||||
\refstepcounter{Theocount}
|
\stepcounter{Theocount}
|
||||||
% reset points
|
% reset points
|
||||||
\ifresetpointattheo\resetpointcounter\fi
|
\ifresetpointattheo\resetpointcounter\fi
|
||||||
|
% hyperref anchor
|
||||||
|
\hrefanchor
|
||||||
% the number
|
% the number
|
||||||
\def\formattheo{\theTheocount}
|
\def\formattheo{\theTheocount}
|
||||||
% add section number
|
% add section number
|
||||||
@ -253,7 +289,7 @@
|
|||||||
{\bf \LARGE Appendices}\par\penalty10000\bigskip\penalty10000%
|
{\bf \LARGE Appendices}\par\penalty10000\bigskip\penalty10000%
|
||||||
% add a mention in the table of contents
|
% add a mention in the table of contents
|
||||||
\iftoc%
|
\iftoc%
|
||||||
\write\tocoutput{\noexpand\tocappendices}\penalty10000%
|
\immediate\write\tocoutput{\noexpand\tocappendices}\penalty10000%
|
||||||
\fi%
|
\fi%
|
||||||
%% uncomment for new page for each appendix
|
%% uncomment for new page for each appendix
|
||||||
%\def\seqskip{\vfill\pagebreak}
|
%\def\seqskip{\vfill\pagebreak}
|
||||||
@ -261,11 +297,14 @@
|
|||||||
|
|
||||||
%% start references
|
%% start references
|
||||||
\def\references{%
|
\def\references{%
|
||||||
|
\hrefanchor%
|
||||||
% write
|
% write
|
||||||
{\bf \LARGE References}\par\penalty10000\bigskip\penalty10000%
|
{\bf \LARGE References}\par\penalty10000\bigskip\penalty10000%
|
||||||
% add a mention in the table of contents
|
% add a mention in the table of contents
|
||||||
\iftoc%
|
\iftoc%
|
||||||
\write\tocoutput{\noexpand\tocreferences{\the\count0}}\penalty10000%
|
% save lncount in aux variable which is written to toc
|
||||||
|
\immediate\write\tocoutput{\noexpand\expandafter\noexpand\edef\noexpand\csname toc@references\endcsname{\thelncount}}%
|
||||||
|
\write\tocoutput{\noexpand\tocreferences{\thepage}}\penalty10000%
|
||||||
\fi%
|
\fi%
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -301,12 +340,12 @@
|
|||||||
\stepcounter{tocsectioncount}
|
\stepcounter{tocsectioncount}
|
||||||
\setcounter{tocsubsectioncount}{0}
|
\setcounter{tocsubsectioncount}{0}
|
||||||
% write
|
% write
|
||||||
\smallskip\hyperlink{page.#2}{{\bf \tocsectionprefix\thetocsectioncount}.\hskip5pt #1\leaderfill#2}\par
|
\smallskip\hyperlink{ln.\csname toc@sec.\thetocsectioncount\endcsname}{{\bf \tocsectionprefix\thetocsectioncount}.\hskip5pt #1\leaderfill#2}\par
|
||||||
}
|
}
|
||||||
\def\tocsubsection #1#2{
|
\def\tocsubsection #1#2#3{
|
||||||
\stepcounter{tocsubsectioncount}
|
\stepcounter{tocsubsectioncount}
|
||||||
% write
|
% write
|
||||||
{\hskip10pt\hyperlink{page.#2}{{\bf \thetocsubsectioncount}.\hskip5pt {\small #1}\leaderfill#2}}\par
|
{\hskip10pt\hyperlink{ln.\csname toc@subsec.\thetocsectioncount.\thetocsubsectioncount\endcsname}{{\bf \thetocsubsectioncount}.\hskip5pt {\small #1}\leaderfill#3}}\par
|
||||||
}
|
}
|
||||||
\def\tocappendices{
|
\def\tocappendices{
|
||||||
\medskip
|
\medskip
|
||||||
@ -317,6 +356,6 @@
|
|||||||
}
|
}
|
||||||
\def\tocreferences#1{
|
\def\tocreferences#1{
|
||||||
\medskip
|
\medskip
|
||||||
{\hyperlink{page.#1}{{\bf References}\leaderfill#1}}\par
|
{\hyperlink{ln.\csname toc@references\endcsname}{{\bf References}\leaderfill#1}}\par
|
||||||
\smallskip
|
\smallskip
|
||||||
}
|
}
|
||||||
|
20
kiss.cls
20
kiss.cls
@ -20,3 +20,23 @@
|
|||||||
|
|
||||||
%% something is wrong with \thepage, redefine it
|
%% something is wrong with \thepage, redefine it
|
||||||
\gdef\thepage{\the\c@page}
|
\gdef\thepage{\the\c@page}
|
||||||
|
|
||||||
|
%% default offsets: 1in, correct with \hoffset and \voffset
|
||||||
|
\hoffset=-50pt
|
||||||
|
\voffset=-72pt
|
||||||
|
%% horizontal margins
|
||||||
|
%\oddsidemargin=31pt
|
||||||
|
%\evensidemargin=31pt
|
||||||
|
%% vertical margin
|
||||||
|
%\topmargin=20pt
|
||||||
|
%% body size
|
||||||
|
\textwidth=460pt
|
||||||
|
\textheight=704pt
|
||||||
|
%% header size and margin
|
||||||
|
%\headheight=12pt
|
||||||
|
%\headsep=25pt
|
||||||
|
%% footer size
|
||||||
|
%\footskip=30pt
|
||||||
|
%% margin size and margin
|
||||||
|
\marginparwidth=35pt
|
||||||
|
%\marginparsep=10pt
|
||||||
|
@ -12,10 +12,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
%% add infinitely extendable glue before large blocks (e.g. figures)
|
%% penalty before large blocks
|
||||||
\def\preblock{
|
\def\preblock{
|
||||||
\vfil
|
\penalty-500
|
||||||
\hbox{}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
%% listparpenalty prevents page breaks before lists
|
%% listparpenalty prevents page breaks before lists
|
||||||
|
Loading…
Reference in New Issue
Block a user