I am working on image and text(description). I need to arrange image and text side by side but in beamer class. It is normal article with a4 size paper. How can i implement it?
[Tex/LaTex] How to arrange image and text side by side?
beamer
Related Solutions
Here is a simple example, based on Drawing arrows in beamer, that uses the columns
environment. The final output is:
The code:
\documentclass{beamer}
\usepackage{lmodern}
\usepackage{pgfplots}
\pgfplotsset{width=4.75cm,compat=newest} % to fix the width and pgfplots version
\tikzset{every mark/.append style={scale=0.4}} % to reduce mark size
\usetikzlibrary{shapes.arrows}
\tikzset{
myarrow/.style={
draw,
fill=orange,
single arrow,
minimum height=3.5ex,
single arrow head extend=0.8ex
}
}
\newcommand{\arrowup}{%
\tikz [baseline=-0.5ex]{\node [myarrow,rotate=90] {};}
}
\newcommand{\arrowdown}{%
\tikz [baseline=-1ex]{\node [myarrow,rotate=-90] {};}
}
\begin{document}
\begin{frame}{My graphs}
\begin{columns}
\begin{column}{0.2\textwidth}
% Text
\tiny
\begin{tabular}{rc}
Thermal Grashof number & \arrowup\\[1ex]
Velocity & \arrowup\arrowdown\\[1ex]
Temperature & \arrowdown\\[1ex]
Solutal boundary layer thickness & \arrowdown\\
\end{tabular}
\end{column}
\hspace{0.15\textwidth} % needed to compensate the arrows space
\begin{column}{0.8\textwidth}
% Graphs
\centering
\begin{tikzpicture}
\begin{axis}[xticklabel style={font=\tiny},
yticklabel style={font=\tiny}]
\addplot {sqrt(x)};
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[xticklabel style={font=\tiny},
yticklabel style={font=\tiny}]
\addplot {ln(x)};
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[xticklabel style={font=\tiny},
yticklabel style={font=\tiny}]
\addplot[blue,mark=none,
domain=-4:4,samples=501]
{sqrt(abs(x))};
\end{axis}
\end{tikzpicture}
\end{column}
\end{columns}
\end{frame}
\end{document}
Disclaimer
The approach is strongly dependent on the theme
chosen; theme
s with a sidebar, i.e. PaloAlto, reduces the available space so the dimensions of the graphs and/or of the column
environments should be reconsidered.
If you use the quote
environment with a \cite
you can insert \upshape
just before the citation, which switches to an upright font (rather than italic).
\documentclass{beamer}
\begin{document}
\begin{frame}
\begin{quote}
``quotation''\cite{author}
\end{quote}
\begin{quote}
``quotation''\upshape\cite{author}
\end{quote}
Citation outside quote: \cite{author}
\end{frame}
\begin{frame}
\begin{thebibliography}{9}
\bibitem{author}
Something written by someone.
\end{thebibliography}
\end{frame}
\end{document}
Best Answer
Check this:
in
article.cls
file also it will work: