Tag Info

New answers tagged

4

With library trees of TikZ package this is very simple to obtain: \documentclass{article} \usepackage{tikz} \usetikzlibrary{trees} \usepackage[active,tightpage]{preview}% just for showing image \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt}% \begin{document} \begin{tikzpicture}[ thick, every node/.style = { text width = 5em, ...


4

Below I present two options using TikZ and one additional version using forest. First TikZ option Since to place T1 you used below left=of center, then you can locate T3 symmetrically using below right=of center. Also, to have even separation between the nodes you have to use below left=1em and 1em of center and below right=1em and 1em of center Second ...


4

There is none but you can cook up yourself. Here is my two-minute mock-up without much thinking because I'm watching something else with my other eye \documentclass[tikz]{standalone} \tikzset{ adjust height/.style={minimum height=#1*\pgfkeysvalueof{/pgf/minimum width}}, adjust width/.style={minimum width=#1*\pgfkeysvalueof{/pgf/minimum height}} } ...


2

As Mr. Kumar says, I would go with tikz-cd. The symbol declaration is a bit of an over-kill here, but you may use it in other graphs as well even for vertical and diagonal arrows. % arara: pdflatex \documentclass{article} \usepackage{tikz-cd} \tikzset{% symbol/.style={% draw=none, every to/.append style={% edge node={node ...


3

Here are two options showing how to produce the trees using two of the most popular packages for tree generation; the first one using the forest package and the second one using tikz-qtree: \documentclass{article} \usepackage{forest} \usepackage{tikz-qtree} \begin{document} \[ A \succeq B \Rightarrow \begin{forest} baseline, for tree={grow=0,parent ...


2

Use \coordinates instead of \nodes: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows, shadows,positioning} \begin{document} \begin{figure} \begin{center} \tikzstyle{greenrect} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text justified, draw=black, fill=green!60] ...


5

You can use visualization depends on={value \thisrow{anchor}\as\myanchor},, every node near coord/.append style={font=\small,anchor=\myanchor} and add a fourth column with anchors. \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ axis lines = middle, enlargelimits = true, xlabel = {Travel ...



Top 50 recent answers are included