TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

According to the package guide I should be able to declare label sizes in the preamble of the document like in this example:

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

However when I do that I get:

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.12 }

and if I move the \SetLabel to after \begin{document} I get:

! Missing number, treated as zero.
<to be read again> 
                   \par 
l.13 \mlabel{}
              {%

What have I missed? What am I doing wrong?

share|improve this question
up vote 3 down vote accepted

The command \SetLabel has seven arguments, not a list argument:

\SetLabel{63mm}{46mm}{10mm}{8mm}{3mm}{3}{6}
share|improve this answer
    
Yea I just noticed... I guess I am having one of those days... :) But thanks! – jonalv Sep 8 '11 at 13:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.