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}
4
  • You really think that the documentation is in German? ;-) It's French, actually!
    – user31729
    Commented Jul 10, 2016 at 5:58
  • @ChristianHupfer: Ha Ha Ha:-) Thanks for your clarification.
    – Sisabe
    Commented Jul 10, 2016 at 6:04
  • What do you mean by "enlarge the zeros" ?
    – Salim Bou
    Commented Jul 10, 2016 at 15:16
  • @salimbou: I want the zeros to be a little bigger.
    – Sisabe
    Commented Jul 10, 2016 at 15:29

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .