UCWTeX drobnosti
This commit is contained in:
parent
2a5fd812e3
commit
8bcb087979
4 changed files with 9 additions and 9 deletions
|
@ -131,7 +131,7 @@
|
|||
\parindent=0pt
|
||||
\leftskip=0pt plus 0.2\hsize
|
||||
\rightskip=0pt plus 0.2\hsize
|
||||
\parfillskip=0pt plus 0.2\hsize
|
||||
\parfillskip=0pt
|
||||
\spaceskip=0.3333em
|
||||
\settextsize{10}
|
||||
#1
|
||||
|
|
|
@ -55,9 +55,10 @@
|
|||
\def\unparskip{\vskip-\parskip}
|
||||
|
||||
\catcode`@=11
|
||||
\def\vecoverrightarrow#1{\vbox{\m@th\ialign{##\crcr
|
||||
\def\vecoverrightarrow#1{\mathpalette\vecoverrightarrowtmp{#1}}
|
||||
\def\vecoverrightarrowtmp#1#2{\vbox{\m@th\ialign{##\crcr
|
||||
\vecrightarrowfill\crcr\noalign{\kern-\p@\kern 0.09em\nointerlineskip}
|
||||
$\hfil\displaystyle{#1\,}\hfil$\crcr}}}
|
||||
$\hfil#1{#2\,}\hfil$\crcr}}}
|
||||
\def\vecrightarrowfill{$\settextsize{5}\m@th\smash-\mkern-7mu%
|
||||
\cleaders\hbox{$\mkern-2mu\smash-\mkern-2mu$}\hfill
|
||||
\settextsize{5}\mkern-7mu\mathord\rightarrow$}
|
||||
|
|
|
@ -7,17 +7,16 @@
|
|||
|
||||
\def\stdskip{\vskip 3pt}
|
||||
\def\tocsection#1#2#3#4{
|
||||
{\settextsize{14}\line{\bf\hbox to 2em{#2\hfil}#4~\hfil\pagelink{#1}}\stdskip}
|
||||
\line{\bf\hbox to 2em{#2\hfil}#4~\hfil\pagelink{#1}}
|
||||
}
|
||||
\def\tocsubsection#1#2#3#4{
|
||||
\line{\hskip 1.5cm \hbox to 3em{#2\hfil}#4~\hfil\pagelink{#1}}\stdskip
|
||||
\line{\hskip 1.5cm \hbox to 3em{#2\hfil}#4~\hfil\pagelink{#1}}
|
||||
}
|
||||
\def\tocsubsubsection#1#2#3#4{
|
||||
\line{\hskip 3cm \hbox to 4em{#2\hfil}#4~\hfil\pagelink{#1}}\stdskip
|
||||
\line{\hskip 3cm \hbox to 4em{#2\hfil}#4~\hfil\pagelink{#1}}
|
||||
}
|
||||
\def\tocpicture#1#2#3#4{}
|
||||
|
||||
\vskip 1cm
|
||||
\input toc.aux
|
||||
|
||||
}
|
||||
|
|
|
@ -254,7 +254,7 @@ class UCWTexGenerator(OutputGenerator):
|
|||
"AlignDefault": r"\quad#\quad\hfil"
|
||||
}
|
||||
self.writeln(r"\vskip1em")
|
||||
self.writeln(r"\halign{\strut"+"&".join([aligns[col[0]] for col in e.colspec])+r"\cr")
|
||||
self.writeln(r"\leavevmode\vbox{\halign{\strut"+"&".join([aligns[col[0]] for col in e.colspec])+r"\cr")
|
||||
self.indent_more()
|
||||
self.generate(e.head.content)
|
||||
self.writeln(r"\noalign{\vskip 0.3em\hrule\vskip 0.3em}")
|
||||
|
@ -262,7 +262,7 @@ class UCWTexGenerator(OutputGenerator):
|
|||
self.writeln(r"\noalign{\vskip 0.3em\hrule\vskip 0.3em}")
|
||||
self.generate(e.foot.content)
|
||||
self.indent_less()
|
||||
self.writeln("}")
|
||||
self.writeln("}}")
|
||||
self.writeln(r"\vskip1em")
|
||||
|
||||
def generate_TableRow(self, e: TableRow):
|
||||
|
|
Loading…
Reference in a new issue