2

How can I make with tikz in latex, something like in the following plot? enter image description here

Do you have any reccomendation where to search anything like this in overleaf or maybe if someone could tell me what commands to work with?

6
  • 1
    Welcome to TeX.SX! What do you have so far? Where is the problem? You could just use nodes, relative positioning, and draw arrows with nodes between. If you don't know where to start, you can have a look at some examples on texample and start from there.
    – dexteritas
    Oct 2, 2021 at 13:07
  • 1
    @Nav89: here is a suggestion for you \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{tikzpicture} \path (0,0) node (i) {$i$} (0,1.5) node (G) {$G$} ; \draw[->] (i) to node[right]{$F^i$} (G); \end{tikzpicture} \end{document}
    – Black Mild
    Oct 2, 2021 at 14:25
  • @dexteritas Thank you
    – Nav89
    Oct 2, 2021 at 16:37
  • 1
    @Nav89 Do you mean that you can follow my code to finish the figure?
    – Black Mild
    Oct 2, 2021 at 16:45
  • 1
    @BlackMild actually no! It bever worked....and i have no idea how all this work right now
    – Nav89
    Oct 3, 2021 at 9:11

2 Answers 2

4

Here is solution for your first question on texSE. The package calrsfs is needed to get the symbols C and I.

enter image description here

\documentclass[tikz,border=5mm]{standalone}
\usepackage{calrsfs}
\begin{document} 
\begin{tikzpicture} 
\path 
(0,0) node (i) {$i$}         
(0,1.5) node (G) {$G$} 
(2.5,0) node (C) {$\mathcal{C}$} 
(-2.5,0) node (I) {$\mathcal{I}$} 
; 
\begin{scope}[>=stealth,nodes={scale=.6,magenta}]
\draw[->] (i) to node[right]{$F^i\left(x^i_{\mathcal{I}},y^i\right)$} (G); 
\draw[->] (i) to node[above]{$t^i$} (C); 
\draw[<-] (i) to node[above]{$x^i_{\mathcal{I}}$} (I); 
\draw[->] (C)--++(0,-1)-|(i) node[above,pos=.25]{$y^i$};
\end{scope}

\end{tikzpicture} 
\end{document}
3

Here is an attempt with tikz-cd:

\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}[row sep=large, column sep=large]
  & A\\
  B\ar[r,"x"] & C\ar[r,"y"]\ar[u,"z"']\ar[d, phantom, ""{coordinate, name=Z}]
  & D\ar[l,"w"{pos=0.75},to path={
      -- (\tikztostart.south)
      |- (Z) \tikztonodes
      -| (\tikztotarget.south)
      -- (\tikztotarget)
  }]\\
  & {}
\end{tikzcd}
\end{document}

enter image description here

2
  • Surely you use a MAC...it is very nice the resolution of your image.
    – Sebastiano
    Nov 27, 2021 at 20:52
  • A really good guess just by seeing an image. I’m afraid what else you can know :) Nov 27, 2021 at 23:48

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.