0

I'm starting to use the package of schemablocks, but I can't accomplish the next graph

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{schemabloc}


\begin{document}

\begin{tikzpicture}
\sbEntree{X} 
%\sbComp*{C1}{X}     \sbRelier[X]{X}{C1}
\sbComp{C2}{X}     \sbRelier[X]{X}{C2}
\sbBlocL{F}{$\frac{K}{J\cdot s+a}$}{C2}
\sbRelier[Y]{Y}{}
\sbBlocL[6]{int}{$\frac{1}{s}$}{F}
\sbSortie[6]{Y}{int}
\sbRelier[Y]{}{}
      %\sbRelier[Y]{int}{F} %\sbRelier[Y]{int}{Y}

\sbDecaleNoeudy{F}{R}
\sbBlocr[-2]{R}{$K_f$}{R}   
\sbRelieryx{F-int}{R}
\sbRelierxy{R}{C2}
%\sbRenvoi[6]{int-Y}{C1}{text}
\end{tikzpicture}
\end{document}

Giving the next output enter image description here

But how can put the Y as caption, between the $\frac{K}{Js+a}$ ? I don't clearly understand how to reference the nodes.

4
  • 2
    I was not able to make your code compile. Did you get any output with it? And your question is not clear to me. Where do you want this Y exactly?
    – SebGlav
    Sep 18, 2021 at 8:34
  • 2
    It is not clear for me where you want the "Y". What do you mean by "between the $\frac{K}{Js+a}$ "? Sep 18, 2021 at 8:35
  • 1
    I want the "Y" appears where the feedback line starts.
    – avelardo
    Sep 18, 2021 at 16:29
  • 1
    I dont understand well how it works even reading the documentation and following the examples there.
    – avelardo
    Sep 18, 2021 at 16:30

1 Answer 1

3

Even if I don't really understand the purpose of this scheme, I recreated it from scratch to avoid some errors that made your code not compilable. Feel free to ask for improvements.

\documentclass{article}
\usepackage{tikz}
\usepackage{schemabloc}

\begin{document}
    \begin{tikzpicture}
        \sbEntree{E}
        \sbComp{comp}{E}
        \sbRelier[$X$]{E}{comp}
        \sbBloc{F}{$\frac{K}{J\cdot s+a}$}{comp}
        \sbRelier[$Y$]{comp}{F}
        \sbBloc[6]{int}{$\frac{1}{s}$}{F}
        \sbRelier{F}{int}
        \sbDecaleNoeudy[4]{F}{U}
        \sbBlocr[-2]{R}{$K_f$}{U}
        \sbRelieryx{F-int}{R}
        \sbRelierxy{R}{comp}
    \end{tikzpicture}
\end{document}

schemabloc

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .