# Code error with tkz-tab [closed]

Why is the following code:

\begin{tikzpicture}
\tkzTabInit[lgt=4,espcl=3]{$n$ /1, $2n^2-2n+4$ /1, $4n(n-1)$ /1, $\dfrac{2n^2-2n+4}{4n(n-1)}$ /2}{$0$,$1$,$+\infty$}
\tkzTabLine{t,+,t,+,}
\tkzTabLine{z,-,z,+,}
\tkzTabLine{d,-,d,+,}
\end{tikzpicture}


indicating the following error:

FULL MWE:

\documentclass[a4paper,12pt,fleqn]{article}
\usepackage{tkz-tab}
\usepackage{amsmath}
\usepackage{fancyhdr}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage{fixltx2e,booktabs}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{mathtools}
\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
\usepackage[francais]{babel}
\usepackage{tikz,pgfplots}
\mathchardef\period=\mathcode.
\DeclareMathSymbol{.}{\mathord}{letters}{"3B}
\usepackage{esvect}
\renewcommand{\d}{\text{d}}
\newcommand{\Ei}{\text{E}_\text{i}}
\usepackage{tkz-euclide}
\usetkzobj{all}
\allowdisplaybreaks
\usepackage{mathrsfs}
\usepackage{tabularx}
\usepackage{stmaryrd}
\usepackage{booktabs}
\usepackage{array}
\begin{document}
\begin{tikzpicture}
\tkzTabInit[lgt=4,espcl=3]{$n$ /1, $2n^2-2n+4$ /1, $4n(n-1)$ /1, $\dfrac{2n^2-2n+4}{4n(n-1)}$ /2}{$0$,$1$,$+\infty$}
\tkzTabLine{t,+,t,+,}
\tkzTabLine{z,-,z,+,}
\tkzTabLine{d,-,d,+,}
\end{tikzpicture}
\end{document}


## closed as unclear what you're asking by Torbjørn T., ebosi, Stefan Pinnow, Kurt, ZarkoJun 21 '17 at 19:39

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• ,@PMC1234 - Please add a MWE showing your problem, for me, this compiles just fine: \documentclass{standalone} \usepackage{tkz-tab} \usepackage{amsmath} \begin{document} \begin{tikzpicture} \tkzTabInit[lgt=4,espcl=3]{$n$ /1, $2n^2-2n+4$ /1, $4n(n-1)$ /1, $\dfrac{2n^2-2n+4}{4n(n-1)}$ /2}{$0$,$1$,$+\infty$} \tkzTabLine{t,+,t,+,} \tkzTabLine{z,-,z,+,} \tkzTabLine{d,-,d,+,} \end{tikzpicture} \end{document}. – AboAmmar Jan 30 '17 at 21:49
• Alright, there must be a problem with the packages... Thank you – PMC1234 Jan 30 '17 at 21:50
• Again, your MWE works fine, with the exception of some warnings about unnecessary packages, \pgfplotsset{compat=1.14}, and some duplicate packages loading. Perhaps, there can be a problem with your LaTeX installation or missing packages. We need more information about your setup. – AboAmmar Jan 30 '17 at 22:04
• please fix your example, remove every package that is not needed to show the problem, and edit the tikzpicture so that it generates an error. If you get an error from the above, delete all unused packages and add \listfiles` and post the resulting file version list – David Carlisle Jan 30 '17 at 22:17