Compare commits

...

7 Commits

Author SHA1 Message Date
Ian Jauslin be9a0b6e47 Correction: missing factor 2 in numerical values of susceptibility 2016-01-10 19:42:12 +00:00
Ian Jauslin ffa924ccdd Update to v1.1
Wrong value for \lambda_0 in the caption of fig.6.4

Missing \omega in (7.1)

Typos and misformats

Update style files, add DOIs to the bibliography
2015-10-26 13:02:24 +00:00
Ian Jauslin 4461f4aa73 Correct typos 2015-10-02 21:15:04 +00:00
Ian Jauslin dabed55c16 Corrected several typos and inserted minor comments 2015-09-18 21:12:05 +00:00
Ian Jauslin bd5280f10c Fix typos 2015-07-04 16:23:58 +00:00
Ian Jauslin 16992e42e1 Fix typo in V_h 2015-06-30 10:52:28 +00:00
Ian Jauslin 121c2ba1a3 Update to version 0.1
More detailed comparison with [Wilson, 1975].
Proof of the uniqueness of the non-trivial fixed point.
Reformatting, relabeling.
2015-06-23 17:14:51 +00:00
11 changed files with 680 additions and 438 deletions

View File

@ -1,23 +1,17 @@
%%
%% bibliography related commands
%% BBlog bibliography related commands
%%
%% length used to display the bibliography
\newlength{\rw}
\setlength{\rw}{1.5cm}
\setlength{\rw}{1.75cm}
%% read header
\IfFileExists{header.BBlog.tex}{\input{header.BBlog}}{}
%% cite a reference
\def\cite#1{%
%% check whether the reference exists
\ifcsname cite#1\endcsname%
\csname cite#1\endcsname%
\else%
{\bf??}%
\fi%
%
\ref{cite#1}%
%% add entry to citelist after checking it has not already been added
\ifcsname if#1cited\endcsname%
\expandafter\if\csname if#1cited\endcsname%
@ -34,6 +28,14 @@
%% an empty definition for the aux file
\def\BBlogcite#1{}
%% an entry
\long\def\BBlogentry#1#2#3{
\hrefanchor
\outdef{label@cite#1}{#2}
\parbox[t]{\rw}{[\cite{#1}]}\parbox[t]{\colw}{#3}\par
\bigskip
}
%% display the bibliography
\long\def\BBlography{
\newlength{\colw}

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

2
README
View File

@ -13,7 +13,7 @@ In order to typeset the LaTeX document, run
bibliography.BBlog.tex :
list of references.
bibliography.sty :
BBlog.sty :
bibliography related commands.
Figs :

View File

@ -1,76 +1,20 @@
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\outdef{citekitSeS}{Kit76}
\hbox{\parbox[t]{\rw}{[\cite{kitSeS}]}\parbox[t]{\colw}{C.~Kittel - {\it Introduction to solid state physics}, Wiley\&Sons, 1976.}}\par
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\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
\bigskip
\BBlogentry{ABe71}{ABe71}{D.B. 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, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1002/sapm1971502121}{10.1002/sapm1971502121}}.}
\BBlogentry{An61}{An61}{P.W. Anderson - {\it Localized magnetic states in metals}, Physical Review, Vol.~124, n.~1, p.~41-53, 1961, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRev.124.41}{10.1103/PhysRev.124.41}}.}
\BBlogentry{AY69}{AY69}{P.W. 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, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRevLett.23.89}{10.1103/PhysRevLett.23.89}}.}
\BBlogentry{An70}{An70}{P.W. 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, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1088/0022-3719/3/12/008}{10.1088/0022-3719/3/12/008}}.}
\BBlogentry{AYH70}{AYH70}{P.W. Anderson, G. Yuval, D.R. 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, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRevB.1.4464}{10.1103/PhysRevB.1.4464}}.}
\BBlogentry{An80}{An80}{N. Andrei - {\it Diagonalization of the Kondo Hamiltonian}, Physical Review Letters, Vol.~45, n.~5, 1980, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRevLett.45.379}{10.1103/PhysRevLett.45.379}}.}
\BBlogentry{AFL83}{AFL83}{N. Andrei, K. Furuya, J.H. Lowenstein - {\it Solution of the Kondo problem}, Reviews of Modern Physics, Vol.~55, n.~2, p.~331-402, 1983, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/RevModPhys.55.331}{10.1103/RevModPhys.55.331}}.}
\BBlogentry{BG90}{BG90}{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.~3-4, p.~541-664, 1990, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1007/BF01025844}{10.1007/BF01025844}}.}
\BBlogentry{BGe94}{BGe94}{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, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1007/BF02099791}{10.1007/BF02099791}}.}
\BBlogentry{Do91}{Do91}{T.C. Dorlas - {\it Renormalization group analysis of a simple hierarchical fermion model}, Communications in Mathematical Physics, Vol.~136, p.~169-194, 1991, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1007/BF02096796}{10.1007/BF02096796}}.}
\BBlogentry{Dy69}{Dy69}{F.J. Dyson - {\it Existence of a phase-transition in a one-dimensional Ising ferromagnet}, Communications in Mathematical Physics, Vol.~12, p.~91-107, 1969, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1007/BF01645907}{10.1007/BF01645907}}.}
\BBlogentry{Ki76}{Ki76}{C. Kittel - {\it Introduction to solid state physics}, Wiley\&Sons, 1976.}
\BBlogentry{Ko64}{Ko64}{J. Kondo - {\it Resistance minimum in dilute magnetic alloys}, Progress of Theoretical Physics, Vol.~32, n.~1, 1964, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1143/PTP.32.37}{10.1143/PTP.32.37}}.}
\BBlogentry{Ko05}{Ko05}{J. Kondo - {\it Sticking to my bush}, Journal of the Physical Society of Japan, Vol.~74, n.~1, p.~1-3, 2005, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1143/JPSJ.74.1}{10.1143/JPSJ.74.1}}.}
\BBlogentry{No74}{No74}{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, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1007/BF00654541}{10.1007/BF00654541}}.}
\BBlogentry{Ru99b}{Ru99}{D. Ruelle - {\it Statistical mechanics: rigorous results}, Imperial College Press, World Scientific, first edition: Benjamin, 1969, 1999.}
\BBlogentry{Sh94}{Sh94}{R. Shankar - {\it Renormalization group approach to interacting fermions}, Reviews of Modern Physics, Vol.~66, n.~1, p.~129-192, 1994, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/RevModPhys.66.129}{10.1103/RevModPhys.66.129}}.}
\BBlogentry{Wi65}{Wi65}{K.G. Wilson - {\it Model Hamiltonians for Local Quantum Field Theory}, Physical Review, Vol.~140, n.~2B, p.~B445-B457, 1965, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRev.140.B445}{10.1103/PhysRev.140.B445}}.}
\BBlogentry{Wi70}{Wi70}{K.G. Wilson - {\it Model of coupling-constant renormalization}, Physical Review D, Vol.~2, n.~8, p.~1438-1472, 1970, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRevD.2.1438}{10.1103/PhysRevD.2.1438}}.}
\BBlogentry{Wi75}{Wi75}{K.G. Wilson - {\it The renormalization group: Critical phenomena and the Kondo problem}, Reviews of Modern Physics, Vol.~47, n.~4, 1975, doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/RevModPhys.47.773}{10.1103/RevModPhys.47.773}}.}

View File

@ -34,24 +34,66 @@
%% style for the equation number
\def\eqnumstyle{}
%% correct vertical alignment at the end of a document
\AtEndDocument{
\vfill
\eject
}
%% prevent page breaks
\newcount\prevpostdisplaypenalty
\def\nopagebreakaftereq{
\prevpostdisplaypenalty=\postdisplaypenalty
\postdisplaypenalty=10000
}
\def\restorepagebreakaftereq{
\postdisplaypenalty=\prevpostdisplaypenalty
}
%% hyperlinks
% hyperlinkcounter
\newcounter{lncount}
% hyperref anchor
\def\hrefanchor{%
\stepcounter{lncount}%
\hypertarget{ln.\thelncount}{}%
}
%% define a command and write it to aux file
\def\outdef#1#2{%
% 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
\immediate\write\@auxout{\noexpand\expandafter\noexpand\gdef\noexpand\csname #1\endcsname{\noexpand\hyperlink{page.\thepage}{#2}}}%
% define ref with no link
\expandafter\xdef\csname #1@nol\endcsname{#2}%
% write command to aux
\immediate\write\@auxout{\noexpand\expandafter\noexpand\gdef\noexpand\csname #1@nol\endcsname{#2}}%
\immediate\write\@auxout{\noexpand\expandafter\noexpand\gdef\noexpand\csname #1\endcsname{\csname #1\endcsname}}%
\immediate\write\@auxout{\noexpand\expandafter\noexpand\gdef\noexpand\csname #1@hl\endcsname{\thelncount}}%
}
%% define a label for the latest tag
%% label defines a command containing the string stored in \tag
\AtBeginDocument{
\def\label#1{\expandafter\outdef{#1}{\safe\tag}}
\def\ref#1{\expandafter\safe\csname #1\endcsname}
\def\label#1{\expandafter\outdef{label@#1}{\safe\tag}}
%% make a custom link at any given location in the document
\def\makelink#1#2{
\hrefanchor
\outdef{label@#1}{#2}
}
\def\ref#1{%
% check whether the label is defined (hyperlink runs into errors if this check is ommitted)
\ifcsname label@#1@hl\endcsname%
\hyperlink{ln.\csname label@#1@hl\endcsname}{{\color{blue}\safe\csname label@#1\endcsname}}%
\else%
\ifcsname label@#1\endcsname%
{\color{blue}\csname #1\endcsname}%
\else%
{\bf ??}%
\fi%
\fi%
}
}
%% counters
@ -71,7 +113,7 @@
\newlength\sectitlewidth
\def\section#1{%
% reset counters
\refstepcounter{sectioncount}%
\stepcounter{sectioncount}%
\setcounter{subsectioncount}{0}%
\setcounter{pointcount}{0}%
\setcounter{subpointcount}{0}%
@ -82,7 +124,12 @@
% space before section (if not first)
\ifnum\thesectioncount>1%
\seqskip%
\penalty-1000%
\fi%
% hyperref anchor
\hrefanchor%
% define tag (for \label)
\xdef\tag{\sectionprefix\thesectioncount}%
% get widths
\def\@secnum{{\bf\Large\sectionprefix\thesectioncount.\hskip10pt}}%
\settowidth\secnumwidth{\@secnum}%
@ -91,31 +138,34 @@
% print name
\parbox{\textwidth}{%
\@secnum%
\parbox[t]{\sectitlewidth}{\Large\bf #1}%
\par\penalty10000%
\bigskip}\par\penalty10000%
% define tag (for \label)
\xdef\tag{\sectionprefix\thesectioncount}%
\parbox[t]{\sectitlewidth}{\Large\bf #1}}%
% write to table of contents
\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}}%
\fi%
\par\penalty10000%
\bigskip\penalty10000%
}
%% subsection
\def\subsection#1{
% counters
\refstepcounter{subsectioncount}%
\stepcounter{subsectioncount}%
\setcounter{pointcount}{0}%
\setcounter{subpointcount}{0}%
\setcounter{subsubpointcount}{0}%
\ifsubseqcount%
\setcounter{seqcount}0%
\fi%
% space before subsection (if not first)
\ifnum\thesubsectioncount>1%
% space before subsection
\subseqskip%
\fi%
\penalty-500%
% hyperref anchor
\hrefanchor
% define tag (for \label)
\xdef\tag{\sectionprefix\thesectioncount.\thesubsectioncount}%
% get widths
\def\@secnum{{\bf\large\hskip.5cm\sectionprefix\thesectioncount.\thesubsectioncount.\hskip5pt}}%
\settowidth\secnumwidth{\@secnum}%
@ -124,38 +174,113 @@
% print name
\parbox{\textwidth}{%
\@secnum%
\parbox[t]{\sectitlewidth}{\large\bf #1}%
\par\penalty10000%
\medskip}\par\penalty10000%
% define tag (for \label)
\xdef\tag{\sectionprefix\thesectioncount.\thesubsectioncount}%
\parbox[t]{\sectitlewidth}{\large\bf #1}}%
% write to table of contents
\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%
\par\penalty10000%
\medskip\penalty10000%
}
%% itemize
\newlength\itemizeskip
% left margin for items
\setlength\itemizeskip{20pt}
% item symbol
\def\itemizept{\textbullet}
\newlength\itemizeseparator
% space between the item symbol and the text
\setlength\itemizeseparator{5pt}
% penalty preceding an itemize
\def\itemizepenalty{0}
\newlength\current@itemizeskip
\setlength\current@itemizeskip{0pt}
\def\itemize{
\par\penalty\itemizepenalty\medskip\penalty\itemizepenalty
\addtolength\current@itemizeskip{\itemizeskip}
\leftskip\current@itemizeskip
}
\def\enditemize{
\addtolength\current@itemizeskip{-\itemizeskip}
\par\leftskip\current@itemizeskip
\medskip
}
\newlength\itempt@total
\def\item{
\settowidth\itempt@total{\itemizept}
\addtolength\itempt@total{\itemizeseparator}
\par
\medskip
\hskip-\itempt@total\itemizept\hskip\itemizeseparator
}
%% enumerate
\newcounter{enumerate@count}
\def\enumerate{
\setcounter{enumerate@count}0
\let\olditem\item
\let\olditemizept\itemizept
\def\item{
% counter
\stepcounter{enumerate@count}
% set header
\def\itemizept{\theenumerate@count.}
% hyperref anchor
\hrefanchor
% define tag (for \label)
\xdef\tag{\theenumerate@count}
\olditem
}
\itemize
}
\def\endenumerate{
\enditemize
\let\item\olditem
\let\itemizept\olditemizept
}
%% points
\def\point{
\refstepcounter{pointcount}
\stepcounter{pointcount}
\setcounter{subpointcount}{0}
% hyperref anchor
\hrefanchor
\indent{\bf \thepointcount\ - }
% define tag (for \label)
\xdef\tag{\thepointcount}
}
\def\subpoint{
\refstepcounter{subpointcount}
\stepcounter{subpointcount}
\setcounter{subsubpointcount}0
% hyperref anchor
\hrefanchor
\indent\hskip.5cm{\bf \thepointcount-\thesubpointcount\ - }
% define tag (for \label)
\xdef\tag{\thepointcount-\thesubpointcount}
}
\def\subsubpoint{
\refstepcounter{subsubpointcount}
\stepcounter{subsubpointcount}
% hyperref anchor
\hrefanchor
\indent\hskip1cm{\bf \thepointcount-\thesubpointcount-\thesubsubpointcount\ - }
% define tag (for \label)
\xdef\tag{\thepointcount-\thesubpointcount-\thesubsubpointcount}
}
\def\pspoint{
\stepcounter{pointcount}
\stepcounter{subpointcount}
\setcounter{subsubpointcount}0
% hyperref anchor
\hrefanchor
\indent\hskip.5cm{\bf \thepointcount-\thesubpointcount\ - }
% define tag (for \label)
\xdef\tag{\thepointcount-\thesubpointcount}
}
% reset points
\def\resetpointcounter{
\setcounter{pointcount}{0}
@ -165,7 +290,7 @@
%% equation numbering
\def\seqcount{
\refstepcounter{seqcount}
\stepcounter{seqcount}
% the output
\edef\seqformat{\theseqcount}
% add subsection number
@ -184,7 +309,7 @@
\marginnote{\eqnumstyle\hfill(\seqformat)}
}
%% equation environment compatibility
\def\equation{$$\seqcount}
\def\equation{\hrefanchor$$\seqcount}
\def\endequation{$$\@ignoretrue}
%% figures
@ -192,8 +317,10 @@
\setlength\figwidth\textwidth
\addtolength\figwidth{-2.5cm}
\def\figcount#1{%
\refstepcounter{figcount}%
\def\caption#1{%
\stepcounter{figcount}%
% hyperref anchor
\hrefanchor%
% the number of the figure
\edef\figformat{\thefigcount}%
% add section number
@ -204,29 +331,87 @@
% define tag (for \label)
\xdef\tag{\figformat}%
% write
\hfil fig \figformat: \parbox[t]{\figwidth}{\small#1}%
\hfil fig \figformat: \parbox[t]{\figwidth}{\leavevmode\small#1}%
\par\bigskip%
}
%% short caption: centered
\def\captionshort#1{%
\stepcounter{figcount}%
% hyperref anchor
\hrefanchor%
% the number of the figure
\edef\figformat{\thefigcount}%
% add section number
\ifsections%
\let\tmp\figformat%
\edef\figformat{\sectionprefix\thesectioncount.\tmp}%
\fi%
% define tag (for \label)
\xdef\tag{\figformat}%
% write
\hfil fig \figformat: {\small#1}%
\par\bigskip%
}
%% environment
\def\figure{
\vfill\hbox{}
\par\penalty-500
}
\def\endfigure{
\vfill\hbox{}
\par\penalty-1000
}
\let\caption\figcount
%% delimiters
\def\delimtitle#1{\par \leavevmode\raise.3em\hbox to\hsize{\lower0.3em\hbox{\vrule height0.3em}\hrulefill\ \lower.3em\hbox{#1}\ \hrulefill\lower0.3em\hbox{\vrule height0.3em}}\par\penalty10000}
\def\delimtitle#1{\par%
\leavevmode%
\raise.3em\hbox to\hsize{%
\lower0.3em\hbox{\vrule height0.3em}%
\hrulefill%
\ \lower.3em\hbox{#1}\ %
\hrulefill%
\lower0.3em\hbox{\vrule height0.3em}%
}\par\penalty10000}
%% callable by ref
\def\delimtitleref#1{\par%
% hyperref anchor
\hrefanchor%
% define tag (for \label)
\xdef\tag{#1}%
\leavevmode%
\raise.3em\hbox to\hsize{%
\lower0.3em\hbox{\vrule height0.3em}%
\hrulefill%
\ \lower.3em\hbox{\bf #1}\ %
\hrulefill%
\lower0.3em\hbox{\vrule height0.3em}%
}\par\penalty10000}
%% no title
\def\delim{\par%
\leavevmode\raise.3em\hbox to\hsize{%
\lower0.3em\hbox{\vrule height0.3em}%
\hrulefill%
\lower0.3em\hbox{\vrule height0.3em}%
}\par\penalty10000}
%% end delim
\def\enddelim{\par\penalty10000%
\leavevmode%
\raise.3em\hbox to\hsize{%
\vrule height0.3em\hrulefill\vrule height0.3em%
}\par}
\def\delim{\par\leavevmode\raise.3em\hbox to\hsize{\vrule height0.3em\hrulefill\vrule height0.3em}\par\penalty10000}
\def\enddelim{\par\penalty10000\leavevmode\raise.3em\hbox to\hsize{\vrule height0.3em\hrulefill\vrule height0.3em}\par}
%% theorem headers
\def\theo#1{
\refstepcounter{Theocount}
\stepcounter{Theocount}
% reset points
\ifresetpointattheo\resetpointcounter\fi
% hyperref anchor
\hrefanchor
% the number
\def\formattheo{\theTheocount}
% add section number
@ -240,6 +425,10 @@
\delimtitle{\bf #1 \formattheo}
}
\let\endtheo\enddelim
%% theorem headers with name
\def\theoname#1#2{
\theo{#1}\hfil({\it #2})\par\penalty10000\medskip%
}
%% start appendices
\def\appendix{%
@ -253,7 +442,7 @@
{\bf \LARGE Appendices}\par\penalty10000\bigskip\penalty10000%
% add a mention in the table of contents
\iftoc%
\write\tocoutput{\noexpand\tocappendices}\penalty10000%
\immediate\write\tocoutput{\noexpand\tocappendices}\penalty10000%
\fi%
%% uncomment for new page for each appendix
%\def\seqskip{\vfill\pagebreak}
@ -261,11 +450,14 @@
%% start references
\def\references{%
\hrefanchor%
% write
{\bf \LARGE References}\par\penalty10000\bigskip\penalty10000%
% add a mention in the table of contents
\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%
}
@ -301,12 +493,12 @@
\stepcounter{tocsectioncount}
\setcounter{tocsubsectioncount}{0}
% 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 {\color{blue}#1}\leaderfill#2}\par
}
\def\tocsubsection #1#2{
\stepcounter{tocsubsectioncount}
% 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 {\color{blue}\small #1}\leaderfill#2}}\par
}
\def\tocappendices{
\medskip
@ -317,6 +509,6 @@
}
\def\tocreferences#1{
\medskip
{\hyperlink{page.#1}{{\bf References}\leaderfill#1}}\par
{\hyperlink{ln.\csname toc@references\endcsname}{{\color{blue}\bf References}\leaderfill#1}}\par
\smallskip
}

View File

@ -20,3 +20,23 @@
%% something is wrong with \thepage, redefine it
\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

View File

@ -12,10 +12,15 @@
}
%% add infinitely extendable glue before large blocks (e.g. figures)
%% larger skip
\newskip\hugeskipamount
\hugeskipamount=24pt plus8pt minus8pt
\def\hugeskip{\vskip\hugeskipamount}
%% penalty before large blocks
\def\preblock{
\vfil
\hbox{}
\penalty-500
}
%% listparpenalty prevents page breaks before lists
@ -29,8 +34,13 @@
\@beginparpenalty=\prevparpenalty
}
%% stack relations in subscript or superscript
\def\mAthop#1{\displaystyle\mathop{\scriptstyle #1}}
%% array spanning the entire line
\def\largearray{\begin{array}{@{}>{\displaystyle}l@{}}\hphantom{\hspace{\textwidth}}\\[-.5cm]}
\newlength\largearray@width
\setlength\largearray@width\textwidth
\addtolength\largearray@width{-10pt}
\def\largearray{\begin{array}{@{}>{\displaystyle}l@{}}\hphantom{\hspace{\largearray@width}}\\[-.5cm]}
\def\endlargearray{\end{array}}