TransWikia.com

Sign Table with Bullets and Circles

TeX - LaTeX Asked by Matte on August 9, 2021

I’m creating a sign table,

xpatchcmd{tkzTabLine}{$0$}{$bullet$}{}{}
tikzset{t style/.style={style=dashed}}
begin{tikzpicture}
tkzTabInit[lgt=1,espcl=1,deltacl=0]
  { /.8, N /.8, D /.8,  /.8, /.8}
  {,$-1$,$0$,$1$,}
tkzTabLine {,+,z,-,t,-,z,+}
tkzTabLine {,+,t,+,z,-,t,+}
tkzTabLine {,-,t,+,t,-,t,+}
tkzTabLine {,cap,t,cup,t,cap,t,cup}
end{tikzpicture}

enter image description here

I would like to have circ, in the second row (the one with D), instead of the bullet.
I understood that the first row

xpatchcmd{tkzTabLine}{$0$}{$bullet$}{}{}

is used to add those bullets onto the column lines according to the syntax

xpatchcmd{command}{search}{replace}{success}{failure}

I’ve tried to add

xpatchcmd{tkzTabLine}{$1$}{$circ$}{}{}

but I don’t know what to write in the table instead of "z".

Is it possible to add another symbol? Thank you

PS. don’t mind the actual signs inside

One Answer

With tkz-tab package, you can customize almost everything with a bit of work. And you can also have access to every node. Just add help in your tkzTabInit declaration.

tkzTabInit[lgt=1,espcl=1,deltacl=0,help]

You get this: tkztabhelp

Now, you can draw wherever you want, whatever you want.
Say you want to add a red circle between nodes N22 and N23, you just have to write something like:

path (N22) -- (N23) node[red,midway,inner sep=2pt,draw,circle,fill=white]{};

which produces (after deleting the help option): tkztab2

Note that I already used your xpatch trick to replace the bullet by a circ, which worked nicely.

Correct answer by SebGlav on August 9, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP