diff options
author | Galin Simeonov <gts@volconst.com> | 2021-06-08 20:08:01 +0300 |
---|---|---|
committer | Galin Simeonov <gts@volconst.com> | 2021-06-08 20:08:01 +0300 |
commit | a57153bac89d7630960f468c8e5c4becc31c5282 (patch) | |
tree | 785c7e37f37f68845a080a7dd9c1a6b26027ae15 /g.tmac | |
parent | e2e1653faad297341e1196998b27ebc48c09490b (diff) | |
download | mg-a57153bac89d7630960f468c8e5c4becc31c5282.tar.gz |
various tweaks
Diffstat (limited to 'g.tmac')
-rw-r--r-- | g.tmac | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -150,22 +150,16 @@ .nr heading_current_number_2 +1 .nr heading_current_number_3 0 .nr heading_current_number_4 0 -\\n[heading_current_number_1]. -\\n[heading_current_number_2]. +\\n[heading_current_number_1].\\n[heading_current_number_2]. \} .if '\\$2'3' \{\ .nr heading_current_number_3 +1 .nr heading_current_number_4 0 -\\n[heading_current_number_1]. -\\n[heading_current_number_2]. -\\n[heading_current_number_3]. +\\n[heading_current_number_1].\\n[heading_current_number_2].\\n[heading_current_number_3]. \} .if '\\$2'4' \{\ .nr heading_current_number_4 +1 -\\n[heading_current_number_1]. -\\n[heading_current_number_2]. -\\n[heading_current_number_3]. -\\n[heading_current_number_4]. +\\n[heading_current_number_1].\\n[heading_current_number_2].\\n[heading_current_number_3].\\n[heading_current_number_4]. \} \\$1 \f[] \} @@ -223,7 +217,7 @@ \######################################################################### .de footnote .ie '\\$1'end' \{\ -.br + .boxa .ev .ie !d there_is_a_footnote \{\ @@ -232,7 +226,7 @@ .wh -(\\n[current_footnote_height]u+\\n[dn]u) paste_footnote .nr current_footnote_height +\\n[dn]u \} -.el \{ +.el \{\ .wh -\\n[current_footnote_height]u .wh -(\\n[current_footnote_height]u+\\n[dn]u) paste_footnote .nr current_footnote_height +\\n[dn]u @@ -442,7 +436,7 @@ .. \######################################################################### .de superscript -\s-\\n[superscript_size_decrease]\v'-0.5v'\h'-0.2v'\\$1\v'+0.5v'\s+\\n[superscript_size_decrease] +\s-\\n[superscript_size_decrease]\v'-0.3v'\h'-0.3v'\\$1\v'+0.3v'\s+\\n[superscript_size_decrease] .. \######################################################################### .de references |