Compare commits

...

2 Commits

  1. 2
      src/formatitko/context.py
  2. 4
      src/formatitko/tex/formatitko.tex

2
src/formatitko/context.py

@ -169,7 +169,7 @@ class Context:
def unset_data(self, key: str):
if key == "":
self._doc = {}
self._data = {}
data = self._data
keys = key.split(".")
for k in keys[:-1]:

4
src/formatitko/tex/formatitko.tex

@ -78,11 +78,11 @@
\def\fnmark{\superscript{\the\fncount}}
\def\fn#1{\footnote\fnmark{#1}\advance\fncount by 1}
\def\section#1#2{
\vfil\eject{\parskip1em\settextsize{20}\bf #1\kern 1em #2}
{\settextsize{20}\parskip1em\baselineskip1.5em\relax\bf \vfil\eject{#1\kern 1em #2\vskip 12pt}}
\addtoc\tocsection{#1}{}{#2}
}
\def\subsection#1#2{
{\parskip1em\settextsize{18}\bf #1\kern 1em #2}
{\settextsize{18}\parskip0.5em\baselineskip1.5em\bf #1\kern 1em #2\vskip 7pt}
\addtoc\tocsubsection{#1}{}{#2}
}
\def\subsubsection#1#2{

Loading…
Cancel
Save