Graphics, Figures & Tables ⇒ insert png picture in beamer
insert png picture in beamer
I cannot insert png picture in beamer (power point presentation)
it always give me error ,i am building latex in kile with latexpdf .the tex file and log file are attached
I am using kile 2.0.2(using KDE 3.5.10 release 21.11 opensuse)
thank in advance
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
insert png picture in beamer
Code: Select all
\documentclass[compress,slidestop,smaller]{beamer}
\usepackage{graphicx}
\usetheme{Antibes} % Beamer theme v 3.0
\usecolortheme{lily} % Beamer color theme
\title{Chapter 3}
\subtitle{yyy}
\author{yyyyyyyy}
\institute{yyyyyyyyy} % Optional, I think
\begin{document}
\begin{frame}
\includegraphics{lax}
\end{frame}
\end{document}
Code: Select all
\documentclass[english,smaller]{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{tikz}
\begin{document}
\begin{frame}
\begin{tikzpicture}[scale=3,font=\small,thick]
\draw[help lines](-0.25,0) grid (2.25,1.25);
\draw(0,1.5) node[left] {$t$} -- (0,0) -- (2.5,0) node[right] {$x$};
\foreach \y in {0,1}
\foreach \x in {0,1,2}
\filldraw[fill=white,very thin](\x,\y) circle (1pt);
\foreach \x in {0.5,1.5}
\fill(\x,0.5) circle (1pt);
\draw (0.5,0) -- (0.5,0.5) -- (1.5,0.5) -- (1.5,0);
\draw (-0.25,0) node[left] {$n$};
\draw (-0.25,0.5) node[left] {$n+\frac{1}{2}$};
\draw (-0.25,1) node[left] {$n+1$};
\draw (0,0) node[below=2pt] {$j-1$};
\draw (0.5,0) node[below] {$j-\frac{1}{2}$};
\draw (1,0) node[below=2pt] {$j$};
\draw (1.5,0) node[below] {$j+\frac{1}{2}$};
\draw (2,0) node[below=2pt] {$j+1$};
\end{tikzpicture}
\end{frame}
\end{document}
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: insert png picture in beamer
Thanks
Ahmed