diff --git a/codebook/5_String/MainLorentz.cpp b/codebook/5_String/MainLorentz.cpp index 68aa77d2..52b9ea87 100644 --- a/codebook/5_String/MainLorentz.cpp +++ b/codebook/5_String/MainLorentz.cpp @@ -30,4 +30,4 @@ void main_lorentz(const string &s, int sft = 0) { if (k1 + k2 >= l) add_rep(cntr < nu, cntr, l, k1, k2); } -} +} // p \in [l, r] => s[p, p + i) = s[p + i, p + 2i) diff --git a/codebook/codebook.tex b/codebook/codebook.tex index 23dcadfd..f49a308a 100644 --- a/codebook/codebook.tex +++ b/codebook/codebook.tex @@ -37,9 +37,9 @@ \evensidemargin=0pt \hoffset=-42pt -\titlespacing\section{0pt}{-1pt plus 0pt minus 2pt}{-1pt plus 0pt minus 2pt} -\titlespacing\subsection{0pt}{-1pt plus 0pt minus 2pt}{-1pt plus 0pt minus 2pt} -\titlespacing\subsubsection{0pt}{-1pt plus 0pt minus 2pt}{-1pt plus 0pt minus 2pt} +\titlespacing\section{0pt}{-2pt plus 0pt minus 2pt}{-1pt plus 0pt minus 2pt} +\titlespacing\subsection{0pt}{-2pt plus 0pt minus 2pt}{-1pt plus 0pt minus 2pt} +\titlespacing\subsubsection{0pt}{-2pt plus 0pt minus 2pt}{-1pt plus 0pt minus 2pt} %\renewcommand\listfigurename{圖目錄}