[cstex] �íta�e

Marek Stopka (M4r3k) marekstopka at gmail.com
Fri Feb 9 23:21:07 CET 2007


Je to v LaTeXu. Mám následující makro:

\newcounter{priklad}
\setcounter{priklad}{0}
\newcommand{\priklad}[2]{
\addtocounter{priklad}{1}
\begin{flushleft}
\textbf{Příklad \value{priklad}: \newline}
#1
\end{flushleft}
\begin{flushright}
[#2]
\end{flushright}
}

a následující soubor, kterým to testuji:

\documentclass[a4paper,12pt,twoside]{article}

\usepackage[czech]{babel}
\usepackage[cp1250]{inputenc}
\usepackage{color}
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{petulka}

\begin{document}
\priklad{text1}{text2}
\end{document}

Bohužel mi při pokusu o kompilaci toho testovacího souboru píše chybu:
! Missing number, treated as zero.
<to be read again>
:
l.11 \priklad{text1}{text2}


-- 
S pozdravem / Best regards
Marek Stopka
Kontakty / Contacts
Mobil/Mobile phone: 774 59 79 40
E-mail: marekstopka at gmail.com
WEB: www.m4r3k.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/20070209/b60c2374/attachment-0002.html>


More information about the csTeX mailing list