First nobody can help you since you did not provide how \arrowL
and \arrowR
are defiend.
I also do not know what you do not understand with the code given here.
You can achieve this triangle by simple extend it by one more line using the corresponding tikz syntax \draw
.
EDIT: As mentioned by Rmano this first version is nesting tikz enviroments. So it is better to use the second version with decorations.
\documentclass[border=0.5cm]{standalone}
\usepackage{tikz}
\newcommand{\arrowL}{
\tikz \draw[latex-] (0,0) -- (0.1,0);
}
\newcommand{\arrowR}{
\tikz \draw[-latex] (0,0) -- (0.1,0);
}
\begin{document}
\begin{tikzpicture}
\draw (0,0)--(8,0) node[sloped,pos=0.5]{\arrowL};
\draw (4,4)--(8,0) node[sloped,pos=0.5]{\arrowL};
\draw (0,0)--(4,4) node[sloped,pos=0.5]{\arrowL};
\draw (4,4)--(4,0) node[sloped,pos=0.5]{};
\end{tikzpicture}
\end{document}
...and with labels:
\documentclass[border=0.5cm]{standalone}
\usepackage{tikz}
\newcommand{\arrowL}{
\tikz \draw[latex-] (0,0) -- (0.1,0);
}
\newcommand{\arrowR}{
\tikz \draw[-latex] (0,0) -- (0.1,0);
}
\begin{document}
\begin{tikzpicture}
\draw (0,0)--(8,0) node[sloped,pos=0.5]{\arrowL};
\draw (4,4)--(8,0) node[sloped,pos=0.5]{\arrowL};
\draw (0,0)--(4,4) node[sloped,pos=0.5]{\arrowL};
\draw (4,4)--(4,0) node[sloped,pos=0.5]{};
% nodes
\node[left] at (0,0) {$v$};
\node[right] at (8,0) {$v$};
\node[above] at (4,4) {$v$};
\node[below] at (4,0) {$b$};
\node[above] at (2,2) {$a$};
\node[above] at (6,2) {$a$};
\end{tikzpicture}
\end{document}
a version using decorations:
\documentclass[border=0.5cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{ decorations.markings}
\tikzset{
arrow/.style={postaction={decorate},
decoration={markings,mark=at position .5 with {\arrowreversed{latex}}}},
arrow2/.style={postaction={decorate},
decoration={markings,mark=at position .5 with {\arrow{latex}}}},
}
\begin{document}
\begin{tikzpicture}
]
\draw[arrow] (0,0)--(8,0);
\draw[arrow] (4,4)--(8,0);
\draw[arrow] (0,0)--(4,4);
\draw (4,4)--(4,0);
% nodes
\node[left] at (0,0) {$v$};
\node[right] at (8,0) {$v$};
\node[above] at (4,4) {$v$};
\node[below] at (4,0) {$b$};
\node[above] at (2,2) {$a$};
\node[above] at (6,2) {$a$};
\end{tikzpicture}
\end{document}