There are some threads about GUI of TikZ. I have installed several GUI but I cannot find the functionality to do this simple drawing. Which GUI can help me do this?

I am using Lyx.

enter image description here

  • 1
    None of the GUIs can draw straight lines, arrows and/or rectangles? – Torbjørn T. Jul 16 '18 at 17:57

Welcome to TeX.SE! I don't think I would use any GUI for that.

 \node[draw,thick,minimum width=1cm,minimum height=0.4cm,outer sep=4pt] at (0,0) (A) {};
 \node[draw,thick,minimum width=1cm,minimum height=0.4cm,outer sep=4pt] at (6,0) (B) {};
 \draw[thick] (A.north) -- (A.south) node[below] {$t_\mathrm{initial}$};
 \draw[thick] (B.north) -- (B.south) node[below] {$t_\mathrm{final}$};
 \draw[thick,latex-latex] ([yshift=4pt]A.north west) -- ([yshift=4pt]A.north
 \draw[thick,latex-latex] ([yshift=4pt]B.north west) -- ([yshift=4pt]B.north
 \draw[thick] (A.center) -- (B.center);

enter image description here

| improve this answer | |

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.