[Tex/LaTex] How to build a variation table with tkz-tab
tikz-pgftkz-tab
TikZ: variable in calc syntaTikZ: variable in calc syntax 1
x 1
Best Answer
A quick tutorial to make a variation table with the tkz-tab package. If you want supplements say so.
Initialization of the table: \tkzTabInit
For example the first braces define the data in the left column of the table, the second braces define the data in the first row of the second column. (example from tkz-tab manual)
The first line is defined by $x$. The slash / separator separates the contents of the line from its height. Thus, here, both lines have a height of 0.8.
To obtain a three-line table, write:
\begin{tikzpicture}
\tkzTabInit{$x$ /1,
$f'(x)$ /1,
$f(x)$ /1}% end of the first left column
{$-\infty$,$-2$,$0,$,$+\infty$} % first line of right column
\end{tikzpicture}
Add content with the \tkzTabLine macro
To add the data from the second line, we'll use the \tkzTabLine
Best Answer
A quick tutorial to make a variation table with the
tkz-tab
package. If you want supplements say so.Initialization of the table:
\tkzTabInit
For example the first braces define the data in the left column of the table, the second braces define the data in the first row of the second column. (example from tkz-tab manual)
In these two columns:
$x$
. The slash/
separator separates the contents of the line from its height. Thus, here, both lines have a height of0.8
.To obtain a three-line table, write:
Add content with the
\tkzTabLine
macroTo add the data from the second line, we'll use the
\tkzTabLine
z
places a dotted line and a zero centeredt
places a dotted line centeredd
places a double centered barexample:
Output :
Add the variation line with
\tkztabVar
macro:the
\tkzTabIma
macro is used to position a value on a variation arrow\tkzTabIma[ 〈 local options 〉 ]{Beginning}{End}{Position}{Back}{Image}
Beginning
rank of arrow originEnd
rank of arrow endPosition
rank of the antecedent corresponding to the imageImage
image value if necessaryTranslated with www.DeepL.com/Translator