Page LayoutSpace Adjustment for itemized List in Presentation

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
upani1982
Posts: 43
Joined: Wed May 12, 2010 11:42 am

Space Adjustment for itemized List in Presentation

Post by upani1982 »

Hi all,

I'm facing two problems while making a presentation. The problems are follows:
  1. Getting extra space before {itemize} environment.
  2. When I'm writing second equation in side a box, there is a problem of alignment for the two equations (some part of the equations are not adjusting properly).
The code of my presentation follows:

Code: Select all

\documentclass[fleqn]{beamer}
\usetheme{CambridgeUS}
\setbeamertemplate{caption}[numbered]
\usepackage[none]{hyphenat}

\section{The Theory of the Firm and Business Decisions}
\begin{frame}
\frametitle{The Theory of the Firm}
\begin{itemize} %Before itemize i am getting lot of whitspace, which i need to be reduced.
\item Combines and organizes resources for the purpose of producing goods and/or services for sale.
\pause
\item Internalizes transactions, reducing transactions costs.
\pause
\item Economic theory assumes that the primary goal of managers is to maximize the value of the firm.
\begin{block}{Value of the Firm}
\begin{eqnarray}% if i am going for both the equation it is not aligning properly and the equation number is missing.
\textit{PV}& = &\frac{\pi_{1}}{{\left(1+r\right)}^{1}}+ \frac{\pi_{2}}{{\left(1+r\right)}^{1}}+\dotsb+ \frac{\pi_{n}}{{\left(1+r\right)}^{1}} = \sum_{t=1}^{n}\frac{\pi_{1}}{{\left(1+r\right)}^{1}}  \\
\textit{Value of the firm}& = &\sum_{t=1}^{n}\frac{\pi_{1}}{{\left(1+r\right)}^{1}}= &\sum_{t=1}^{n}\frac{TR_{n}-TC_{n}}{{\left(1+r\right)}^{1}} 
\end{eqnarray}
\end{block}
\end{itemize}
\end{frame}
\end{document}

I'm learning LaTeX. Please excuse me if I have committed some mistakes. Looking forward for your suggestions.


With sincere regards,
Upananda
Last edited by upani1982 on Thu Jul 11, 2013 8:27 am, edited 3 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Space Adjustment for itemized List in Presentation

Post by localghost »

upani1982 wrote:[…] I'm learning LaTeX. Please excuse me if I have committed some mistakes. Looking forward for your suggestions.[…]
Giving an adequate problem description by providing a self-contained and minimal example that is compilable out of the box would be a good starting point. It would make the problem comprehensible instantly for others. And yes, even somebody on the beginner level can manage that.


Remarks:
  • Avoid eqnarray! It is considered obsolete for a long time. Use the align environment from amsmath instead. Perhaps some problems will vanish then.
  • Actually the second problem covers a different topic and thus does not belong here. But we will keep it.

Thorsten
upani1982
Posts: 43
Joined: Wed May 12, 2010 11:42 am

Re: Space Adjustment for itemized List in Presentation

Post by upani1982 »

Hi Localghost,
I am grateful to you for your suggestions. I will post accordingly. It would be great if you can tell me after editing whether now it satisfies all the requirement or not. So that i will also know the correct procedure to post.

Thanks and Regards,
Upananda
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Space Adjustment for itemized List in Presentation

Post by Johannes_B »

Your example is not compilable, therefore it is not a real minimal example. Nevertheless, consider the following:

Code: Select all

\documentclass[fleqn]{beamer}
\usetheme{CambridgeUS}
\setbeamertemplate{caption}[numbered]
\usepackage[none]{hyphenat}
\begin{document}
\section{The Theory of the Firm and Business Decisions}
\begin{frame}
\frametitle{The Theory of the Firm}
\vspace{-1em}%you can adjust that to your needs
\begin{itemize}
\item Combines and organizes resources for the purpose of producing goods and/or services for sale.
\pause
\item Internalizes transactions, reducing transactions costs.
\pause
\item Economic theory assumes that the primary goal of managers is to maximize the value of the firm.
%\end{itemize}
\begin{block}{Value of the Firm}\scriptsize
\begin{align}
PV &= \frac{\pi_{1}}{{\left(1+r\right)}^{1}}+ \frac{\pi_{2}}{{\left(1+r\right)}^{1}}+\dotsb+ \frac{\pi_{n}}{{\left(1+r\right)}^{1}} = \sum_{t=1}^{n}\frac{\pi_{1}}{{\left(1+r\right)}^{1}}  \\
\textit{Value of the firm} &= \sum_{t=1}^{n}\frac{\pi_{1}}{{\left(1+r\right)}^{1}}  = \sum_{t=1}^{n}\frac{TR_{n}-TC_{n}}{{\left(1+r\right)}^{1}} 
\end{align}
\end{block}
\end{itemize}
\end{frame}
\end{document}
Some remarks: Why are you using a block inside the itemize environment?
Why do you set the text to italic in you equation?

You can add vertical space with \vpsace{<length>}. For your example i just added a negative space.

As Thorsten already mentioned, do not use eqnerray anymore. Use align instead.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
upani1982
Posts: 43
Joined: Wed May 12, 2010 11:42 am

Re: Space Adjustment for itemized List in Presentation

Post by upani1982 »

Hi Johannes,

Thanks a lot for your reply. I have not used BLOCK AND ITALIC for any specific reason but to have some visual effects ( block ). I appreciate your help and grateful to you for your help.

Please send me some link how to post with MWE. Because an example of MWE will be better to understand than going through the lengthy article explaining MWE. I will learn it.

Thanks and sincere regards,
Upananda
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Space Adjustment for itemized List in Presentation

Post by localghost »

upani1982 wrote:[…] It would be great if you can tell me after editing whether now it satisfies all the requirement or not. […]
Unfortunately not. And if you would have tested your code you would have noticed this. Please get used to always checking your example for functionality and completeness before you post them here. You were lucky that Johannes was so kind and took the time to complete your code.
Johannes_B wrote:[…] You can add vertical space with \vpsace{<length>}. For your example I just added a negative space. […]
This vertical space is not necessary if you add the [t] option to the frame environment.

Code: Select all

\begin{frame}[t]{frame title}
% frame content
\end{frame}
The frame content then will not be vertically centered but aligned to the top of the frame.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Space Adjustment for itemized List in Presentation

Post by Johannes_B »

localghost wrote:... the [t] option [of] the frame environment.
Thanks, i wasn't aware of that.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply