# Tag Info

3

Adapted from the tjt263s answer: \documentclass[tikz,border=3.14mm]{standalone} \usetikzlibrary{shapes.geometric, calc} \tikzset{, , cross line/.style={preaction={draw=white, -, shorten >=#1, shorten <=#1, line width=2.5pt}, line width=1.5} ,square/.style={regular polygon,regular polygon sides=4} ,sqnode/.style={square,fill=black, text=white,align=...

10

This connects the bullets according to the permutation. It just draws nodes labelled 01,02,... in the top row and then nodes labelled p(01),p(02),... in the bottom row, where p(x) is the permutation of x. In the second run it connects x on the top with p(x) on the bottom. All you need to do is to say \pic{perms={09,17,23,31,13,28,02,18,24,16,30,06,26,20,10,...

3

The sunflower code is extremely ingenious. It attaches the arrow to another node to the same spot of this node in a local coordinate system. So a node top right on the picture will connect to a top right position on the node. This is a beautiful idea! With regards to your question, if you do not want to connect all nodes with each other, then you do not ...

3

Like this ? \documentclass[border=9,tikz,rgb]{standalone} \usetikzlibrary{arrows.meta,calc}%,decorations.pathreplacing} \tikzset{/pgf/arrow keys/colorsize/.style={fill=#1,length=10pt,line width=0.4pt,scale=1}} \begin{document} %%% Set total number of vertices here %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\N{6} %%% Set vertex coordinates here %%%%%%%%%%%%%%%%%%...

2

0

3

You can simply add ymode=log and then define the base number with log basis y={<number>} in the axis options. \begin{axis}[ymode=log,log basis y={2},xmin = 0, ymin = 0, scale only axis, height=5cm, width=\textwidth, legend pos=north west, xlabel=$n$,ylabel=$k$, width=\textwidth, ] Output (example with other data): Code: \documentclass{...

3

Welcome to TeX-SE! With very basic tools you could do this: \documentclass{article} \usepackage{mathtools} \newcommand{\hoceli}[1]{\mathrel{\dfrac{\,#1\,}{\phantom{#1}}}} \begin{document} $P:v_0\hoceli{e_1}v_1\hoceli{e_2}v_2$ $u\xrightarrow{\displaystyle e} v$ \end{document}

2

Here is a proposal. I am definitely not saying that it is better than the other proposals. There is a part that works arguably very nicely: one can spare some regions around some paths from being drawn, or, more precisely one can clip them away. The paths of these regions can be used for intersections. The not so nice feature is that the intersections are ...

Top 50 recent answers are included