LaTeX forum ⇒ Presentations and Postersinsert a graphic in a block

Beamer, Powerdot and KOMA-Script presentations, Conference posters (a0poster, baposter, tikzposter)
Posts: 113
Joined: Thu Nov 26, 2009 2:21 am

insert a graphic in a block

Postby NELLLY » Mon Jan 02, 2017 1:11 am

I need to insert a graphic in a block of my beamer presentation. I used the following code
\documentclass[xcolor={dvipsnames}, 10pt]{beamer}
  \usepackage{marvosym} %
 \usepackage{hyperref} %
 \usepackage{transparent} %
  \usepackage{ragged2e, siunitx, xcolor,caption}
  \usepackage{adjustbox, amsmath,booktabs,threeparttable}
 % \usepackage{enumitem}
% \apptocmd{\frame}{\justifying}{}{}
  \hyphenpenalty 10000
  \setbeamertemplate{footline}[frame number]
   \title{On Economic Design of Dynamic Control Charts for Attribute Data}
%%%%%Mes cdes%%%%
\newcommand{\makepart}[1]{ % For convenience
\part{Title of part #1} \frame{\partpage}
\chapter{Chapter}\begin{frame} Chapter \end{frame}

\begin{block}{Operation of the chart}
 \caption{Chart's partition}  

I get the output of the attachment.
I need to have the background of the figure in the same color of the block (grey instead of white), what should I do?
(36.78 KiB) Downloaded 296 times

Recommended reading 2021: •
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
Stefan Kottwitz
Site Admin
Posts: 9878
Joined: Mon Mar 10, 2008 9:44 pm

insert a graphic in a block

Postby Stefan Kottwitz » Tue Jan 03, 2017 6:32 pm

Hi Nellly!

That color is in the graphic, you need to change it or make that area transparent.

Even better: don't use \includegraphics,but create the figure within the beamer LaTeX document instead. You could use TikZ for that.

Stefan admin

Return to “Presentations and Posters”

Who is online

Users browsing this forum: No registered users and 2 guests