• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

glallen01/army-memorandum-class: A LaTeX class for memos.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

glallen01/army-memorandum-class

开源软件地址(OpenSource Url):

https://github.com/glallen01/army-memorandum-class

开源编程语言(OpenSource Language):

TeX 98.5%

开源软件介绍(OpenSource Introduction):

Army Memorandum LaTeX Class

Provides a basic AR 25-50 memo in latex.

Setup

  • Requires LuaLaTeX or XeLaTeX for font handling.
  • Install Arial font ("preferred" by AR 25-50 1-17)

Debian:

sudo apt-get install ttf-mscorefonts-installer
sudo fc-cache
fc-match Arial

Fedora:

Usage

See example.tex and (TODO) template.tex.

A minimum set of declarations are required for the office-symbol, subject, signature block, etc. After these options, within \begin{document} ... \end{document}, the structure is based on an enumerate list. This is a major break from the previous version, but much better for writing, as a good LaTeX editor will facilitate editing the nested list. Also, I intend to tie this into my emacs org-mode configuration eventually to further ease writing.

The basic structure looks like:

\documentclass{armymemo}

\address{Organizational Name/Title}
\address{Standardized Street Address}
\address{CITY, STATE, 12345-1234}

\author{John W. Smith}\rank{CPT}\branch{CY}\title{S-3}            % optional
\officesymbol{ABC-DEF-GH}
\suspensedate{12 April 2019}                                      % optional
\signaturedate{10 April 2019}
\memoline{MEMORANDUM FOR RECORD}
\documentmark{UNCLASSIFIED//FOR OFFICIAL USE ONLY (EXAMPLE ONLY)} % optional
\subject[(U) ]{The creation of memos using \LaTeX}
\authority{BY ORDER OF THE COMMANDER}                             % optional

\begin{document}

\begin{enumerate}
\item This memo is a demo.
\item This item contains sub items.
  \begin{enumerate}
  \item Thing one.
  \item Thing two.
  \end{enumerate}
\item Point of contact is the undersigned.
\end{enumerate}

\end{document}

Compile

latexmk -pdf -pvc -lualatex example.tex

Thanks

Thanks to @jschaf for enumitem and a better document template, also @pconwell, @kjelderg, @nelsonrg, and others.


Copyright (c) 2011 George Allen, All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
googlecodelabs/android-kotlin-notifications-fcm发布时间:2022-07-07
下一篇:
taehwandev/Kotlin-Udemy-Sample发布时间:2022-07-07
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap