日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

tikz包 安装_TeX系列: tikz pgf 宏包安装步骤

發布時間:2023/12/20 编程问答 37 豆豆
生活随笔 收集整理的這篇文章主要介紹了 tikz包 安装_TeX系列: tikz pgf 宏包安装步骤 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

(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 宏包安装步骤的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。