![如何使用 envlab 制作尺寸定制标签?](https://linux22.com/image/240370/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%20envlab%20%E5%88%B6%E4%BD%9C%E5%B0%BA%E5%AF%B8%E5%AE%9A%E5%88%B6%E6%A0%87%E7%AD%BE%EF%BC%9F.png)
根据包装指南我应该能够像本例一样在文档的序言中声明标签大小:
\documentclass[12]{letter}
\usepackage{envlab}
\SetLabel{63mm, 46mm, 10mm, 8mm, 3mm, 3, 6}
\begin{document}
\startlabels
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\mlabel{}{%
givenname surname \\
Address line \\
postalcode \\
Country
}
\end{document}
然而当我这样做时我得到:
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.12 }
如果我得到\SetLabel
以下结果后将其移动到\begin{document}
:
! Missing number, treated as zero.
<to be read again>
\par
l.13 \mlabel{}
{%
我错过了什么?我做错了什么?
答案1
该命令\SetLabel
有七个参数,而不是列表参数:
\SetLabel{63mm}{46mm}{10mm}{8mm}{3mm}{3}{6}