您好,欢迎来到叨叨游戏网。
搜索
您的当前位置:首页【工具使用系列】TeX宏包之绘图宏包pgf/tikz

【工具使用系列】TeX宏包之绘图宏包pgf/tikz

来源:叨叨游戏网

前言:美丽而富有表现力的文档通常需要美观且富有表现力的图形。 PGF及其前端TKZ在功耗,便携性和可用性之间划了一条细线,为图形提供了类似TeX的方法。

使用代码描述控制框图(block diagram)

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\begin{document}


\tikzstyle{block} = [draw, fill=blue!20, rectangle, 
    minimum height=3em, minimum width=6em]
\tikzstyle{sum} = [draw, fill=blue!20, circle, node distance=1cm]
\tikzstyle{input} = [coordinate]
\tikzstyle{output} = [coordinate]
\tikzstyle{pinstyle} = [pin edge={to-,thin,black}]

% The block diagram code is probably more verbose than necessary
\begin{tikzpicture}[auto, node distance=2cm,>=latex']
    % We start by placing the blocks
    \node [input, name=input] {};
    \node [sum, right of=input] (sum) {};
    \node [block, right of=sum] (controller) {Controller};
    \node [block, right of=controller, pin={[pin

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- gamedaodao.net 版权所有 湘ICP备2024080961号-6

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务