On 02/03/11 1:52 AM, Peter Fodrek wrote:
> Dear TeX experts,
>
> I would like to ask for you help
>
> I have and templete where
>
> %% insert table
> %% use as \tabin{size_in_mm}{label}{caption}{table_data}
> \newcounter{tabcounter}
> \def\tabin #1#2#3#4{
> \refstepcounter{tabcounter} \label{#2}
> \[ \makebox[#1mm][c]{#4} \]
If you would remove \[ ... \] and substitute with \begin{center} ...
\end{center}, your problem will be solved.
> %\vspace{0mm}
> \begin{center}
> \parbox{7cm}{{\bf TABLE \arabic{tabcounter}:}\quad {\it #3 } } \\
> \end{center}
> }
Please try the attached peter.tex and see the output made at this end.
Best regards
--
Radhakrishnan
peter.odt
Description: application/vnd.oasis.opendocument.text
peter.tex
Description: TeX document
TABLE 1: First set of experiments
