(1)  假设texmf目录在D:盘根目录下,删除pgf相关的所有目录,执行如下DOS命令

rd /s  D:\texmf\tex\plain\pgf

rd /s  D:\texmf\tex\latex\pgf

rd /s  D:\texmf\tex\generic\pgf

rd /s  D:\texmf\tex\doc\generic\pgf

rd /s  D:\texmf\tex\context\pgf

(2)重建TeX文件名数据库,执行DOS命令:

texhash

(3)上网下载最新宏包压缩包

(4)解压压缩包,把该包下的tex子目录拷贝至D:\texmf\ 下,全部覆盖即可。

在Windows XP 和 ChinaTeX20060918测试通过,如下例

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Author : Andrei Sobolevski (April 2009)

% License : Creative Commons attribution license

% Title : Map of scientific interactions of researchers

% affiliated in 2008 to the J.-V. Poncelet laboratory

% (UMI 2615 CNRS, http://www.poncelet.ru)

% Notes : Produced for the 2008 annual report of the lab;

% layout of subnodes is a result of manual optimization

% Tags : mindmap, layers

% Submitted to TeXample.net on 16 January 2010

\documentclass{article}

%%%<

\usepackage{verbatim}

%%%>

\begin{comment}

:Title: Scientific interactions

Map of scientific interactions of researchers

affiliated in 2008 to the J.-V. Poncelet laboratory

(UMI 2615 CNRS, ``_)

\end{comment}

\usepackage{tikz,times}

\usepackage[paperwidth=25cm,paperheight=22cm,left=1cm,top=1cm]{geometry}

\usetikzlibrary{mindmap,backgrounds}

\pagestyle{empty}

\begin{document}

\centering\begin{tikzpicture}[mindmap,

level 1 concept/.append style={level distance=130,sibling angle=30},

extra concept/.append style={color=blue!50,text=black}]

% Applied area: computer science and its subfields

\begin{scope}[mindmap, concept color=orange, text=white]

\node [concept] {Informatique}[clockwise from=-5]

child {node [concept] (log) {M{\'e}thodes cat{\'e}goriques}}

child {node [concept] (alg) {Algorithmique}}

child {node [concept] (cod) {Compression \& transmission}}

child {node [concept] (img) {Tra{\^i}tement des images}}

child {node [concept] (opt) {Optimisation}}

child {node [concept] (res) {R{\'e}seaux}};

\end{scope}

% Applied area: theoretical physics and its subfields

\begin{scope}[mindmap, concept color=red,text=white]

\node [concept] at (-5,-15) {Physique}

child [grow=-10, level distance=160]

{node [concept] (qin) {Calcul quantique}}

child [grow=20]

{node [concept] (csm) {Astronomie \& cosmologie}}

child [grow=110]

{node [concept] (mat) {Mati{\`e}re condens{\'e}e}};

\end{scope}

% Applied area: biology and its subfields

\begin{scope}[mindmap, concept color=green!50!black,text=white]

\node [concept] at (6.5,-15) {Biologie}

child [grow=165, level distance=120]

{node [concept] (med) {M{\'e}decine}}

child [grow=60]

{node [concept] (gen) {G{\'e}nomique}};

\end{scope}

% Applied area: economics (one subfield)

\begin{scope}[mindmap, concept color=violet, text=white]

\node [concept] at (11,-14) {{\'E}conomie}

child [grow=70, level distance=120]

{node [concept] (dec) {Choix \& prise de d{\'e}cision}};

\end{scope}

% Researchers listed by their main specialization in mathematics

\begin{scope}[mindmap, concept color=blue]

% Combinatorics and discrete mathematics

\node [concept, text=white] at (5.2,-10.8)

{Combinatoire \& math{\'e}matiques discr{\`e}tes}

[clockwise from=150]

child [concept color=blue!50] {node [concept] (ver) {Vereschagin}}

child [concept color=blue!50, level distance=125]

{node [concept] (kab) {Kabatyanski, Tsfasman, Rybakov, Zykin}}

child [concept color=blue!50]

{node [concept] (kch) {Kucherov, Roytberg}}

child [concept color=blue!50] {node [concept] (raf) {Raffinot}}

child [concept color=blue!50, level distance=135]

{node [concept] (ksh) {Koshevoy}};

% Partial differential equations

\node [concept, text=white] at (-3,-11)

{Equations aux d{\'e}riv{\'e}es partielles

\& m{\'e}thodes num{\'e}riques}

child [concept color=blue!50, grow=0, level distance=140]

{node [concept] (lhc) {Loh{\'e}ac}}

child [concept color=blue!50, grow=60, level distance=115]

{node [concept] (otr) {OTARIE (Sobolevski)}}

child [concept color=blue!50, grow=95] {node [concept] (ndr)

{Nadirashvili}};

% Probability

\node [concept, text=white] at (-7.2,-3.2) {Probabilit{\'e}s}

child [concept color=blue!50, grow=-70, level distance=120]

{node [concept] (rbk) {Rybko}};

% Logic

\node [concept, text=white] at (11.5,-5) {Logique}

child [concept color=blue!50, grow=165, level distance=120]

{node [concept] (sht) {Shehtman}};

\end{scope}

% Connections of researchers to applied subfields

\begin{pgfonlayer}{background}

\draw [circle connection bar]

(kab) edge (cod)

(kch) edge (alg) edge (gen)

(lhc) edge (med)

(ksh) edge (dec)

(ndr) edge (mat)

(otr) edge (opt) edge (csm) edge (img)

(raf) edge (alg) edge (gen)

(rbk) edge (res) edge (mat)

(sht) edge (log) edge (dec)

(ver) edge (qin) edge (cod);

\end{pgfonlayer}

\end{tikzpicture}

\end{document}

编译结果如下:

再附一例

\documentclass{article}

\usepackage[usenames,dvipsnames,pdftex]{xcolor}

\usepackage{tikz,ifthen}

\begin{document}

\newcounter{density}

\setcounter{density}{20}

\begin{tikzpicture}

\def\couleur{MidnightBlue}

\path[coordinate] (0,0) coordinate(A)

++( 60:12cm) coordinate(B)

++(-60:12cm) coordinate(C);

\draw[fill=\couleur!\thedensity] (A) -- (B) -- (C) -- cycle;

\foreach \x in {1,...,15}{%

\pgfmathsetcounter{density}{\thedensity+10}

\setcounter{density}{\thedensity}

\path[coordinate] coordinate(X) at (A){};

\path[coordinate] (A) -- (B) coordinate[pos=.15](A)

-- (C) coordinate[pos=.15](B)

-- (X) coordinate[pos=.15](C);

\draw[fill=\couleur!\thedensity] (A)--(B)--(C)--cycle;

}

\end{tikzpicture}

\end{document}

编译结果如下:

tikz包 安装_TeX系列: tikz pgf 宏包安装步骤相关推荐

  1. linux arcgis10.4安装教程,ArcGIS 10.1 for Server安装教程系列—— Linux下的单机安装

    因为Linux具有稳定,功能强大等特性,因此常常被用来做为企业内部的服务器,我们的很多用户也是将ArcGIS Server安装在Linux上,但是对于初次接触Linux的用户,他们都觉得无从下手,Li ...

  2. ArcGIS 10.1 for Server安装教程系列—— Linux下的单机安装

    因为Linux具有稳定,功能强大等特性,因此常常被用来做为企业内部的服务器,我们的很多用户也是将ArcGIS Server安装在Linux上,但是对于初次接触Linux的用户,他们都觉得无从下手,Li ...

  3. 【LaTex】利用ins文件和dtx文件生成cls或sty文件,latex宏包的生成与创建方法;配置宏包文件的方法,latex宏包文件放置目录

    一.宏包文件无法找到 在编译tex文件时,如果宏包文件并不在配置目录中,就会发出类似[LaTeX Error: File `pageno.sty' not found.]的错误. 二.解决方法就是自己 ...

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

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

  5. LaTex学习(三)LaTex文档类与宏包

    文章目录 认识LaTex 保留字符 LaTex环境 导言区 文档类 宏包 常用宏包 文字.公式和符号 排版元素 图表和浮动体 修改版式 参考资料 尾言 认识LaTex LaTeX 处理一个包含文本的文 ...

  6. 在ArchLinux操作系统安装ctex宏包

      使用paru命令安装texlive-langchinese包即可: paru -S texlive-langchinese   宏包相应的文件夹会被安装在/usr/share/texmf-dist ...

  7. latex中的各种数学字体宏包

    0 数学公式必备 amsmath数学公式核心宏包,amsfonts和amssymb提供丰富的数学符号 1 Times 风格的字体宏包 newtxtext,newtxmath宏包 \usepackage ...

  8. Latex常用宏包\usepackage

    1. xspace \usepackage{xspace} 命令\xspace可以自动生成一个空格, 除非其后是标点.LaTeX pifont 宏包 符号列表如下: 2. pifont \usepac ...

  9. 转:Latex数学宏包集锦

    <div style="width: 656px; margin: 0; padding: 0; height: 0;"></div><center& ...

最新文章

  1. 35 利用构造函数和原型对象实现继承
  2. 计算机应用基础测试成绩截图,计算机应用基础测试题图文稿.docx
  3. 什么是AES算法?(整合版)
  4. 【翻译】在Ext JS中创建特定主题的重写
  5. PyFlink + 区块链?揭秘行业领头企业 BTC.com 如何实现实时计算
  6. 【Day15】介绍下 promise 的特性、优缺点,内部是如何实现的,动手实现 Promise
  7. php自动发邮件系统,一个简单的自动发送邮件系统(二)_php基础
  8. mysql排序规则英文 数字_如何在MySQL中为日语设置模式排序规则
  9. Java编程思想 经典评注分享
  10. oracle数据库表空间扩容方法
  11. ios8以后Label自适应大小
  12. 使用负载均衡技术建设高负载的网络站点(经典文章)
  13. dhl软件_DHL的完整形式是什么?
  14. adb按键精灵_自动点击器adb版最新版下载|自动点击器adb版安卓版下载 v1.0.5 - 跑跑车安卓网...
  15. 教你使用华为ENSP模拟器配置静态NAT(一)
  16. nstalling jupyter_contrib_nbextensions 安装nb扩展吧
  17. NXP(恩智浦)iMX8M Plus 处理器介绍
  18. App 启动流程全解析
  19. 《MongoDB入门教程》第07篇 CRUD之查找文档
  20. laravel小札之Gate与Policy

热门文章

  1. 记一个vue router相关的 Uncaught (in promise) undefined 问题
  2. 2018.11.15 《黄金时代》王小波
  3. win2008 磁盘碎片整理
  4. BFS算法之地铁路线问题
  5. C4D移动工具无法移动对象?轴动但是对象不动?
  6. 文明重启怎么找回之前的服务器,文明重启房子消失怎么找回 详尽攻略助你一臂之力...
  7. php制作日历带节日实验目的,PHP 制作的日历一份
  8. 怪物AI之发现玩家(视觉范围发现系列)
  9. 《MySQL必知必会》读书笔记
  10. @EnableConfigurationProperties注解