summaryrefslogtreecommitdiff
path: root/data/templates/default.ms
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-24 21:36:04 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-24 22:15:46 +0100
commitaf57de0b277b26cc839a1c3862a2381f3a35986d (patch)
treeb371016adf31b95aed272550dffd91577dbb4885 /data/templates/default.ms
parent1e13e98ecfba2d78a88ba42bb54c8cdc15929e2d (diff)
default.ms: Add settings for document variables like width.
Diffstat (limited to 'data/templates/default.ms')
-rw-r--r--data/templates/default.ms31
1 files changed, 29 insertions, 2 deletions
diff --git a/data/templates/default.ms b/data/templates/default.ms
index f5cd73496..6001d81b0 100644
--- a/data/templates/default.ms
+++ b/data/templates/default.ms
@@ -1,5 +1,5 @@
+.\" **** Custom macro definitions *********************************
.mso www.tmac
-.\" **** Custom macro definitions ****
.\" * Super/subscript
.\" (https://lists.gnu.org/archive/html/groff/2012-07/msg00046.html)
.ds { \v'-0.3m'\\s[\\n[.s]*9u/12u]
@@ -12,7 +12,32 @@
.ce
\l'20'
..
-.\" **********************************
+.\" **** Settings *************************************************
+.\" text width
+.nr LL 5.5i
+.\" left margin
+.nr PO 1.25i
+.\" top margin
+.nr HM 1.25in
+.\" bottom margin
+.nr FM 1.25in
+.\" header/footer width
+.nr LT \n[LL]
+.\" point size (pt x 1000)
+.nr PS 10000
+.\" line height (pt x 1000)
+.nr VS 12000
+.\" font family: A, BM, H, HN, N, P, T, ZCM
+.fam T
+.\" paragraph indent
+.nr PI 0
+.\" interparagraph space
+.nr PD 0.33v
+.\" footnote width
+.nr FL \n[LL]
+.\" footnote point size
+.nr FPS (\n[PS] - 2000)
+.\" ***************************************************************
$if(adjusting)$
.ad $adjusting$
$endif$
@@ -48,6 +73,8 @@ $endfor$
$for(include-before)$
$include-before$
$endfor$
+.\" 1 column (use .2C for two column)
+.1C
$body$
$if(toc)$
$toc$