Hey all,
is it possible to create a picture into the flow of a text as if it was a word?
I have got this problem:
I know how to get the red triangle but how can i put the picture into the text?
Graphics, Figures & Tables ⇒ picture in text
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
picture in text
With pgf/tikZ this is no problem.
Please upload attachments to the forum server.
Best regards
Thorsten
Code: Select all
\documentclass[11pt,a4paper,ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage{selinput}
\SelectInputMappings{%
adieresis={ä},
germandbls={ß},
Euro={€}
}
\usepackage{babel}
\usepackage{nicefrac}
\usepackage{tikz}
\usetikzlibrary{patterns}
\usepackage{lmodern}
\begin{document}
Dreieck \tikz\draw[red,pattern=north east lines,pattern color=red] (0,0)--(20pt,0)--(20pt,10pt)--cycle; mit Flächeninhalt $\nicefrac{1}{2}\cdot 1\cdot 1$.
\end{document}
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 90
- Joined: Fri Nov 06, 2009 7:29 am
Re: picture in text
Or if you have the picture already as a file, you can just use \includegraphics without starting a figure environment
Re: picture in text
thank you very much. i didn't know that it was that easy with the \includegraphics. 
