# Tag Info

11

The main idea is to combine text along path of library decorations.text with canvas is plane of library 3d. In my last answer, I have shown how to place node on specified plane by set x unit vector and y unit vector. Decoration text along path put every character in a \qboxsynced, which means before inserting the text, the current coordinate transformation ...

7

I have read the guide to the pag. 22, and after much efforts, here there is your drawing....with the dots... \documentclass[tikz]{standalone} \usepackage{tikz-feynman} \tikzfeynmanset{compat=1.1.0} \begin{document} \feynmandiagram [layered layout, horizontal=a to d] { a -- b [dot] -- [fermion,edge label'=$$p -q$$] c [dot] -- d [], b -- [photon, half left,...

6

As starting point: \documentclass[margin=3.1415692mm,varwidth]{standalone} \usepackage{tikz-cd} \begin{document} \[ \begin{tikzcd}[column sep=small] & A \ar[dr,"k_*"] & \\ \pi_1(U\cap V,p) \ar[ur,"i_*"] \ar[dr,"j_*" '] & & \pi_1(X,p). \\ & E \ar[ur,"...

5

The easiest way to draw the Young diagrams is probably using a pic (see chapter 18 of the tikz manual). The idea of the pic is that you loop over a comma separated list of the parts of the partition, and then loop over the columns in each row, to draw one node at a time: \tikzset{ pics/diagram/.style={ code = { \foreach \row [count=\r] in {#1} { ...

5

There are many ways to code it in Asymptote. here is one, file hexa.asy: // run // asy hexa.asy // to get hexa.pdf // settings.outformat="pdf"; size(4cm); int n=6; pair[] V= sequence(new pair(int i){return dir(360*i/n);}, n); V.cyclic=true; for(int i=0;i<n;++i){ draw(V[i]--V[i+1]--V[i-1]--cycle,darkblue+0.7bp); } dot(V,UnFill);

4

Here is a simple code with pst-feyn and pst-node: \documentclass[11pt, border=4pt]{standalone} \usepackage{pst-node,pst-feyn} \begin{document} \begin{pspicture}(-3.6,-0.4)( 3.6,2.8) \psset{linejoin=1, arrowinset=0.2, arrowsize=4pt, labelsep=2.5pt} \psArrowLine(-3.6,0)(3.6,0) \psPhotonArc[amplitude=4pt,windings=8.5, radius=1.8](0,0)(0,180) \psarcn{->}(0,...

4

The following could get you started. I have added the image first and arranged the boxes reltive to the image: \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \usetikzlibrary{arrows,matrix,positioning,shapes,arrows,fit,shapes.geometric,calc, intersections} \newcommand{\tikznode}[2]{\relax \ifmmode% \tikz[remember picture,baseline=(...

3

Your code is too messy... so I reformat them and make some change. The main idea is to use a/.style={ append after command={ (#1,0) coordinate (left-\the\pgfmatrixcurrentrow-\the\pgfmatrixcurrentcolumn) } }, to expand the cell border. The effect of block/.default is whenever no value is provided for block, then the default value is used ...

3

The problem is, that you are using square brackets [] inside the tikzpicture and they are getting consumed. If you want them to be displayed, you can use the proper \left[ and \right] notation, as in: \left[0,S_{f,e}l_{\Gamma}(e)\right] and they will appear:

3

Try this (a \qwbundle[alternate]{} is added after \gate{R}): \documentclass{article} \usepackage{tikz} \usetikzlibrary{quantikz} \begin{document} \begin{quantikz} \qwbundle[alternate]{} & \ctrlbundle{1} & \gate{R}\qwbundle[alternate]{} \\ \qw & \targ{} & \qw \end{quantikz} \end{document} I haven't read through the package ...

3

For compare purpose. Compile with Asymptote. settings.tex="pdflatex"; // This command is very important! size(5cm,4cm,false); defaultpen(fontsize(10pt)); label(graphic("brain.jpg" ,"width=3cm"),(0,0)); // in the same folder. layer(); label("BM",(-10,-10)); label("MC",(-10,10)); label("TM",(10,10)); ...

3

I am not going to draw the whole thing for you. I am giving you a good starting point, though. What I did here is beginners stuff, there are many more elegant (and shorter) ways to draw this. If you get stuck, there is an excellent manual: http://texdoc.net/texmf-dist/doc/generic/pgf/pgfmanual.pdf You should be able to draw this within a couple of hours: \...

2

Your box made with a tcolorbox could be something like this: \documentclass{article} \usepackage{attachfile} \usepackage{tikz} \usepackage[most]{tcolorbox} \newtcbtheorem[auto counter]{mydefinition}{Definition}{% enhanced, sharp corners=southwest, fonttitle=\bfseries, description font=\mdseries\scshape, attach boxed title to top left, ...

2

Major edit: tikz-cd I agree with the commenter, that tikz-cd is more capable a package than xymatrix. If one were to attempt the same thing using tikz-cd, this would be the code: \documentclass[a4paper,12pt]{article} \usepackage{newtxtext,newtxmath} \usepackage{tikz-cd} \usetikzlibrary{arrows,arrows.meta} \tikzcdset{ ,row sep=normal ,column sep=...

1

Ok, to give you a start, have a look at the tikz-feynman-package. The following code should get you started: \documentclass{standalone} \usepackage[compat=1.1.0]{tikz-feynman} \usetikzlibrary{patterns} \begin{document} \tikzfeynmanset{ every blob={ draw=black, pattern color=black }, } \feynmandiagram[horizontal=a to b] {a -- [...

1

@beardedIntern \documentclass[tikz, margin=5mm]{standalone} \usepackage{tikz,pgfplots} \pgfplotsset{compat=newest} \usepackage{eurosym} % écriture du € \usetikzlibrary{arrows.meta} %\usepackage{pgf-pie} \begin{document} % Define a few constants for easy configuration \def\radius{2cm} \def\onedegrad{1.8cm} \def\fivedegrad{1.75cm} \...

1

This handout by Evan Chen describes two possible workflows, one using GeoGebra and one using Asymptote. There is also a thorough worked example. I've tried out the GeoGebra workflow and it worked for me, but Asymptote is even better because it integrates with TeX; however, it seems slightly more time-consuming.

Only top voted, non community-wiki answers of a minimum length are eligible