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?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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
