summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kropat <mail@michael.kropat.name>2015-09-22 08:27:45 -0400
committerMichael Kropat <mail@michael.kropat.name>2015-09-22 08:27:45 -0400
commitb458b2982e9c1fed23592fcc5a9d9188b9bb2056 (patch)
tree09caa23cba6223a7127f89f8f3303af627ca662b
parent729e263f879aa9dd3378021af8582322d884a2f5 (diff)
parenta830858d6296d23e6bb56842745c7237cee7469c (diff)
Merge pull request #4 from paultcochrane/pr/def-to-newcommand
Replace \def with \newcommand
-rw-r--r--example.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/example.tex b/example.tex
index 682f303..09547d6 100644
--- a/example.tex
+++ b/example.tex
@@ -1,11 +1,11 @@
\documentclass[letterpaper]{dapper-invoice}
-\def\invoiceNo{101}
-\def\balance{137.50}
-\def\duein{15}% days
+\newcommand{\invoiceNo}{101}
+\newcommand{\balance}{137.50}
+\newcommand{\duein}{15}% days
-\def\me{Your~Name}
-\def\clientName{Sample~Client}
+\newcommand{\me}{Your~Name}
+\newcommand{\clientName}{Sample~Client}
\setmetadata{\me}{Your Biz}{\invoiceNo}{\clientName}