mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
Gezeichnetes Bild durch TikZ ersetzt
This commit is contained in:
parent
e11b789a18
commit
4bb6678a48
8 changed files with 61 additions and 1 deletions
Binary file not shown.
|
@ -409,7 +409,7 @@ Für einen Weg $\gamma$ sei $[\gamma]$ seine \textbf{Homotopieklasse}\xindex{Hom
|
|||
\item
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=0.2\linewidth, keepaspectratio]{figures/todo/topologischer-raum-x.png}
|
||||
\input{figures/topologischer-raum-x.tex}
|
||||
\caption{Topologischer Raum $X$}
|
||||
\label{fig:top-raum-kreise}
|
||||
\end{figure}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 25 KiB |
10
documents/GeoTopo/figures/topologischer-raum-x.tex
Normal file
10
documents/GeoTopo/figures/topologischer-raum-x.tex
Normal file
|
@ -0,0 +1,10 @@
|
|||
\begin{tikzpicture}[thick]
|
||||
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
|
||||
\node[blue] at (4.5, 1.7) {$a$};
|
||||
\node[purple] at (7.5, 1.7) {$b$};
|
||||
\begin{scope}[xshift=5cm, yshift=1cm]
|
||||
\draw[blue,->] ( 0,0)+(150:0.7cm) arc (150:510:0.7cm);
|
||||
\draw[purple,<-] (1.4,0)+( 40:0.7cm) arc (40:400:0.7cm);
|
||||
\node (z)[point,label={[label distance=0.2cm]-90:$x$}] at (0.7,0) {};
|
||||
\end{scope}
|
||||
\end{tikzpicture}
|
31
tikz/topologischer-raum-x/Makefile
Normal file
31
tikz/topologischer-raum-x/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
SOURCE = topologischer-raum-x
|
||||
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/topologischer-raum-x/Readme.md
Normal file
3
tikz/topologischer-raum-x/Readme.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Compiled example
|
||||
----------------
|
||||

|
BIN
tikz/topologischer-raum-x/topologischer-raum-x.png
Normal file
BIN
tikz/topologischer-raum-x/topologischer-raum-x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
16
tikz/topologischer-raum-x/topologischer-raum-x.tex
Normal file
16
tikz/topologischer-raum-x/topologischer-raum-x.tex
Normal file
|
@ -0,0 +1,16 @@
|
|||
\documentclass[varwidth=true, border=2pt]{standalone}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{patterns}
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}[thick]
|
||||
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
|
||||
\node[blue] at (4.5, 1.7) {$a$};
|
||||
\node[purple] at (7.5, 1.7) {$b$};
|
||||
\begin{scope}[xshift=5cm, yshift=1cm]
|
||||
\draw[blue,->] ( 0,0)+(150:0.7cm) arc (150:510:0.7cm);
|
||||
\draw[purple,<-] (1.4,0)+( 40:0.7cm) arc (40:400:0.7cm);
|
||||
\node (z)[point,label={[label distance=0.2cm]-90:$x$}] at (0.7,0) {};
|
||||
\end{scope}
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue