如何使用 envlab 制作尺寸定制标签?

如何使用 envlab 制作尺寸定制标签?

根据包装指南我应该能够像本例一样在文档的序言中声明标签大小:

\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}

相关内容