Graphics, Figures & Tables ⇒ picture in text
picture in text
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?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
picture in text
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
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
Re: picture in text
