我想绘制框图,有什么问题吗?

我想绘制框图,有什么问题吗?

我想绘制下面的电路,但是代码不起作用。有人可以帮帮我吗?

在此处输入图片描述

\documentclass{article}

\usepackage{tikz}

\usetikzlibrary{circuits}
\usepackage{verbatim}


\begin{document}

\begin{tikzpicture}
    \sbEntree{E}
    \sbComp{a}{E}
    \sbBloc{b}{$H_1$}{a}
            \sbRelier[$E_1$]{E}{a}
    \sbBlocL{c}{$H_2$}{b}
            \sbRelier[$\epsilon$]{a}{b}
    \sbComph{d}{c}
            \sbRelier[u]{c}{d}
    \sbBlocL{e}{$H_3$}{d}
    \sbBlocL{f}{$H_4$}{e}
    \sbSortie[5]{S1}{f}
            \sbRelier{f}{S1}
            \sbNomLien[0.8]{S1}{$S_1$}
    \sbDecaleNoeudy[-4]{f}{u}
    \sbDecaleNoeudy{e}{v}
    \sbBlocr{r1}{$R_1$}{u}
    \sbBlocr{r2}{$R_2$}{v}
    \sbBlocrL{r3}{$R_3$}{r2}
    \sbRelieryx{f-S1}{r1}
    \sbRelierxy[n1]{r1}{d}
    \sbRelieryx{e-f}{r2}
    \sbRelierxy[n2]{r3}{a}
\end{tikzpicture}

\end{document}

答案1

您需要包含该schemabloc1

\documentclass{article}

\usepackage{schemabloc}

\usetikzlibrary{circuits}
\begin{document}

\begin{tikzpicture}
  ...

相关内容