📄 notes
字号:
######################################################################Implementation notes. (Or how to make your own national mm)Different commands:COVER [arg]MT [arg [addressee]]The arg is part of a filename in mm/*.MT or mm/*.cov.This file is read when the macro is executed. Therefore it must beput before any text output.In each file there are definitions of all extra macros needed for thecover sheet. MT files is only for compatibility reasons, and has severallimits due to that it don't know when the cover starts, and cannotchange sizes. Use COVER for new coversheet macros.But with MT it is possible to write all of the AT&T covers.An example can be found in mm/0.MT.When writing a new cover using COVER, have in mind that the covershould print the page with the COVEND macro. This macroshould be defined by the new macrofile.Here is a part of ms.cov:> .\"-----------------> .de COVEND> .sp |4.2c> .cov@print-title> .cov@print-authors> .cov@print-firm> .cov@print-abstract> .cov@print-dateThis is important, since COVER disables the page header.> .pg@enable-top-trapShould begin with page one (normally).> .bp 1And enable the trap at the page footer.> .pg@enable-trap> ..#########################Variables for covers:I = integerS = stringD = diversionM = macroName Type Desc.cov*au I The number of authors.cov*title M Title collected with .TL.cov*au!x!y S Author(s) given to .AUcov*at!x!y S Author(s) title given to .AT x is the author-index [1-cov*au], y is the argument-index [1-9]. Look at the table with indexes.cov*firm I Author(s) firm.cov*abs-arg I Argument to abstract.cov*abs-ind I Indent for abstract.cov*abs-name S The string 'ABSTRACT', changed with .ASTcov*abstract M The abstract.cov*new-date S The date (todays date if ND is not used)cov*mt-type S MT typecov*mt-addresse S MT addressee##########################Argument-index for cov*au:Index Desc.1 name2 initials3 location4 department5 extension6 room7 arg 78 arg 89 arg 9The location is set to the contents of string cov*location-xxxxif location is equal to xxxx and cov*location-xxxx is definedin the file locale.Argument-index for cov*at:Index Desc.1 title 1. .. .9 title 9
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -