リビジョン | d92cd556eb0951274a27622c60a901251ca236d9 (tree) |
---|---|
日時 | 2019-08-29 18:31:33 |
作者 | Lorenzo Isella <lorenzo.isella@gmai...> |
コミッター | Lorenzo Isella |
I added two files (tex and sty) to generate the mindmap at http://www.texample.net/tikz/examples/mindmap/ .
@@ -0,0 +1,68 @@ | ||
1 | +%% | |
2 | +%% This is file `dtklogos.sty', | |
3 | +%% | |
4 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
5 | +%% $Id: dtklogos.sty 138 2014-12-11 17:48:48Z herbert $ | |
6 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
7 | +%% Purpose: | |
8 | +%% LaTeX Class and Styles for ``Die TeXnische Komoedie''. | |
9 | +%% | |
10 | +%% Copyright (C) 1995-1996 Gerd Neugebauer | |
11 | +%% Copyright (C) 1997-2011 DANTE, Deutschsprachige | |
12 | +%% Anwendervereinigung TeX e.V. | |
13 | +%% (C) 2014- Herbert Voss | |
14 | +%% | |
15 | +%% This file may be distributed and/or modified under the | |
16 | +%% conditions of the LaTeX Project Public License, either version 1.3c | |
17 | +%% of this license or (at your option) any later version. | |
18 | +%% The latest version of this license is in | |
19 | +%% http://www.latex-project.org/lppl.txt | |
20 | +%% and version 1.3c or later is part of all distributions of LaTeX | |
21 | +%% version 2005/12/01 or later. | |
22 | +%% | |
23 | +%% This package is still under development and may be replaced with | |
24 | +%% a new version which provides enhanced functionality. | |
25 | +%% | |
26 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
27 | + | |
28 | +\NeedsTeXFormat{LaTeX2e} | |
29 | +\ProvidesPackage{dtklogos}[2014/11/15 v2.2 LaTeX wrapper for `hologo' (RN,HV)] | |
30 | + | |
31 | +\DeclareOption*{\PassOptionsToPackage\CurrentOption{color}} | |
32 | +\ProcessOptions\relax | |
33 | + | |
34 | +\RequirePackage{ifpdf} | |
35 | + | |
36 | +\providecommand*{\exTeX}{% | |
37 | + \textrm{% das Logo grunds^^e4tzlich serifenbehaftet | |
38 | + \ensuremath{\textstyle\varepsilon_{\kern-0.15em\mathcal{X}}}% | |
39 | + \kern-.15em\TeX | |
40 | + }% | |
41 | +} | |
42 | + | |
43 | +\providecommand\eV{e.V\kern-0.18em\@ifnextchar.{}{.}\kern0.18em} | |
44 | +\providecommand\dante{\mbox{DANTE~\eV}} | |
45 | +\providecommand\Dante{DANTE, | |
46 | + Deutschsprachige Anwendervereinigung \TeX~\eV} | |
47 | +\providecommand\DTK{Die \TeX\-ni\-sche Ko\-m{\"o}\-die} | |
48 | +\providecommand\LaTeXe{% | |
49 | + \LaTeX{}\kern.05em2$_{\textstyle\varepsilon}$} | |
50 | +\providecommand\PS{Post\-Script} | |
51 | +\providecommand\TUG{\TeX{} Users Group} | |
52 | +\providecommand\TUGboat{\textsl{TUGboat}} | |
53 | +\let\DANTE\dantelogo | |
54 | +\ifpdf | |
55 | + \providecommand\ThanhVN{H\`an Th\^e\protect\llap{\raise 0.5ex\hbox{\'{}}}} | |
56 | + \providecommand\Thanh{H\`an Th\^e\protect\llap{\raise 0.5ex\hbox{\'{\relax}}} Th\`anh} | |
57 | +\else | |
58 | + \def\ThanhVN{H\`an Th\textcircumacute{e}\protect\llap{\raise 0.5ex\hbox{\'{}}}} | |
59 | + \def\Thanh{H\`an~Th\textcircumacute{e}\llap{\raise 0.5ex\hbox{\'{}}}~Th\`anh} | |
60 | +\fi | |
61 | +\def\ThanhNN{Th\`anh} | |
62 | +\def\pgf/tikz{\textsf{pgf/Ti\textit{k}Z}} | |
63 | +\def\TeXLive{\TeX{}Live} | |
64 | + | |
65 | +\RequirePackage{hologo} | |
66 | + | |
67 | +\endinput | |
68 | +%% End of file `dtklogos.sty'. |
@@ -0,0 +1,59 @@ | ||
1 | +% Mindmap | |
2 | +% Author: Stefan Kottwitz | |
3 | +% https://www.packtpub.com/hardware-and-creative/latex-cookbook | |
4 | +\documentclass[border = 60pt]{standalone} | |
5 | +%%%< | |
6 | +\usepackage{verbatim} | |
7 | +%%%> | |
8 | +\begin{comment} | |
9 | +:Title: Mindmap | |
10 | +:Tags: Mindmaps;Cookbook | |
11 | +:Author: Stefan Kottwitz | |
12 | +:Slug: mindmap | |
13 | + | |
14 | +A mindmap of TeX concepts. | |
15 | +\end{comment} | |
16 | +\usepackage[landscape]{geometry} | |
17 | +\usepackage{tikz} | |
18 | +\usetikzlibrary{mindmap} | |
19 | +\usepackage{metalogo} | |
20 | +\usepackage{dtklogos} | |
21 | +\begin{document} | |
22 | +\begin{tikzpicture} | |
23 | + \path [ | |
24 | + mindmap, | |
25 | + text = white, | |
26 | + level 1 concept/.append style = | |
27 | + {font=\Large\bfseries, sibling angle=90}, | |
28 | + level 2 concept/.append style = | |
29 | + {font=\normalsize\bfseries}, | |
30 | + level 3 concept/.append style = | |
31 | + {font=\small\bfseries}, | |
32 | + tex/.style = {concept, ball color=blue, | |
33 | + font=\Huge\bfseries}, | |
34 | + engines/.style = {concept, ball color=green!50!black}, | |
35 | + formats/.style = {concept, ball color=blue!50!black}, | |
36 | + systems/.style = {concept, ball color=red!90!black}, | |
37 | + editors/.style = {concept, ball color=orange!90!black} | |
38 | + ] | |
39 | + node [tex] {\TeX} [clockwise from=0] | |
40 | + child[concept color=green!50!black, nodes={engines}] { | |
41 | + node {Engines} [clockwise from=90] | |
42 | + child { node {\TeX} } | |
43 | + child { node {pdf\TeX} } | |
44 | + child { node {\XeTeX} } | |
45 | + child { node {Lua\TeX} }} | |
46 | + child [concept color=blue, nodes={formats}] { | |
47 | + node {Formats} [clockwise from=300] | |
48 | + child { node {\LaTeX} } | |
49 | + child { node {Con\TeX t} }} | |
50 | + child [concept color=red, nodes={systems}] { | |
51 | + node {Systems} [clockwise from=210] | |
52 | + child { node {\TeX Live} [clockwise from=300] | |
53 | + child { node {Mac \TeX} }} | |
54 | + child { node {MiK\TeX} [clockwise from=60] | |
55 | + child { node {Pro \TeX t} }}} | |
56 | + child [concept color=orange, nodes={editors}] { | |
57 | + node {Editors} }; | |
58 | +\end{tikzpicture} | |
59 | +\end{document} | |
\ No newline at end of file |