2

In this code how can I enlarge the zeros? The documentation is in German and I don't know the German language.

\documentclass{article}
\usepackage{tkz-tab}

\begin{document}
\begin{tikzpicture}
\tkzTabInit[espcl=1.5]
{$x$ / 1 ,$f(x)$ /1 }%
{$v_1$ , $v_2$ , $v_3$ }%
\tkzTabLine{ z, , z , ,z }
\end{tikzpicture}
\end{document}
  • You really think that the documentation is in German? ;-) It's French, actually! – user31729 Jul 10 '16 at 5:58
  • @ChristianHupfer: Ha Ha Ha:-) Thanks for your clarification. – Sisabe Jul 10 '16 at 6:04
  • What do you mean by "enlarge the zeros" ? – Salim Bou Jul 10 '16 at 15:16
  • @salimbou: I want the zeros to be a little bigger. – Sisabe Jul 10 '16 at 15:29
2

You can for example patch the command \tkzTabLine using xpatch package, and change the line of code

\node at (Z\thetkz@cnt@impair\thetkz@cnt@lg){$0$};

With

\node[font=\Large] at (Z\thetkz@cnt@impair\thetkz@cnt@lg){$0$}; 

To change the size of font inside node containing zeros

Code

\documentclass{article}
\usepackage{xpatch}
\usepackage{tkz-tab}

\makeatletter
\xpatchcmd{\tkzTabLine}
{\node at (Z\thetkz@cnt@impair\thetkz@cnt@lg){$0$};} % search
{\node[font=\Large] at (Z\thetkz@cnt@impair\thetkz@cnt@lg){$0$};} % replace
{}{}
\makeatother

\begin{document}
\begin{tikzpicture}
\tkzTabInit[espcl=1.5]
{$x$ / 1 ,$f(x)$ /1 }%
{$v_1$ , $v_2$ , $v_3$ }%
\tkzTabLine{z , , z , ,z }

\end{tikzpicture}
\end{document}

Result

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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