aboutsummaryrefslogtreecommitdiffstats
path: root/tex/docmacros.sty
blob: 9fc032554a89afb536fe5345a65813ea74d2a4b0 (plain)
1
2
3
4
5
6
7
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{docmacros}[2021/05/22 v0.1 Document Macros]

\newcommand{\ph}[1]{\textrm{\textit{#1}}}
\newcommand{\reqph}[1]{\textrm{\textlangle\,\ph{#1}\,\textrangle}}
\newcommand{\optionalph}[1]{\textrm{[\,\ph{#1}\,]}}
\newcommand{\vhdl}[1]{\lstinline[language=vhdl]{#1}}