mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
added images
This commit is contained in:
parent
0b5f7dd41d
commit
f2a0df1de7
12 changed files with 168 additions and 5 deletions
31
tikz/topology-parametric-surface-mapping/Makefile
Normal file
31
tikz/topology-parametric-surface-mapping/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
SOURCE = topology-parametric-surface-mapping
|
||||
DELAY = 80
|
||||
DENSITY = 300
|
||||
WIDTH = 512
|
||||
|
||||
make:
|
||||
pdflatex $(SOURCE).tex -output-format=pdf
|
||||
make clean
|
||||
|
||||
clean:
|
||||
rm -rf $(TARGET) *.class *.html *.log *.aux *.data *.gnuplot
|
||||
|
||||
gif:
|
||||
pdfcrop $(SOURCE).pdf
|
||||
convert -verbose -delay $(DELAY) -loop 0 -density $(DENSITY) $(SOURCE)-crop.pdf $(SOURCE).gif
|
||||
make clean
|
||||
|
||||
png:
|
||||
make
|
||||
make svg
|
||||
inkscape $(SOURCE).svg -w $(WIDTH) --export-png=$(SOURCE).png
|
||||
|
||||
transparentGif:
|
||||
convert $(SOURCE).pdf -transparent white result.gif
|
||||
make clean
|
||||
|
||||
svg:
|
||||
#inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg
|
||||
pdf2svg $(SOURCE).pdf $(SOURCE).svg
|
||||
# Necessary, as pdf2svg does not always create valid svgs:
|
||||
inkscape $(SOURCE).svg --export-plain-svg=$(SOURCE).svg
|
3
tikz/topology-parametric-surface-mapping/Readme.md
Normal file
3
tikz/topology-parametric-surface-mapping/Readme.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Compiled example
|
||||
----------------
|
||||

|
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
|
@ -0,0 +1,33 @@
|
|||
\documentclass[varwidth=true, border=2pt]{standalone}
|
||||
\usepackage{amsmath,amssymb}% math symbols / fonts
|
||||
\usepackage{tikz}
|
||||
\usepackage{tqft}
|
||||
\usetikzlibrary{patterns}
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}
|
||||
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=2pt,minimum height=2pt]
|
||||
\draw (0,0) ellipse (2cm and 1cm);
|
||||
\def\ringa{(-0.3,0) circle (0.5cm)}
|
||||
\def\ringb{(+0.3,0) circle (0.5cm)}
|
||||
|
||||
\draw \ringa;
|
||||
\draw[red] \ringb;
|
||||
|
||||
%\node at (-1,0.3) {$U_i$};
|
||||
%\node at (+1,0.3) {$U_j$};
|
||||
\node at (-1.9,-2) {$U_i$};
|
||||
\node[red] at (+1.9,-2) {$U_j$};
|
||||
\node at (+2.0,0.7) {$S$};
|
||||
\node[point,label={[label distance=-0.1cm]90:$s$}] at (0,0) {};
|
||||
|
||||
|
||||
\path[<-] (-0.35,0) edge [bend angle=10,bend right] node[label={[label distance=0.1cm]210:$F_i$}] {} (-1,-1.5);
|
||||
\path[<-,red] (+0.35,0) edge [bend angle=10,bend left] node[label={[label distance=0.1cm]-30:$F_j$}] {} (+1,-1.5);
|
||||
|
||||
\draw (-1,-2) circle (0.5cm);
|
||||
\draw[red] (+1,-2) circle (0.5cm);
|
||||
|
||||
\path[->, green, thick] (-0.3,-2) edge node[label=below:$\scriptstyle F_j^{-1} \circ F_i$] {} (0.3,-2);
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue