Featured Book

LaTeX Beginners Guide

Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 6 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

Space Adjustment for itemized List in Presentation Topic is solved

beamerlistspresentationsAdd tags Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).

Space Adjustment for itemized List in Presentation

Postby upani1982 on Wed Jul 10th, 2013

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  •  Open in writeLaTeX
\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 11th, 2013, edited 3 times in total.
upani1982
 
Posts: 43
Joined: Wed May 12th, 2010

Re: Space Adjustment for itemized List in Presentation

Postby localghost on Wed Jul 10th, 2013

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
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: Space Adjustment for itemized List in Presentation

Postby upani1982 on Thu Jul 11th, 2013

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
upani1982
 
Posts: 43
Joined: Wed May 12th, 2010

Re: Space Adjustment for itemized List in Presentation  Topic is solved

Postby Johannes_B on Thu Jul 11th, 2013

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

Code: Select all  •  Open in writeLaTeX
\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.

TeX Live 2013, Ubuntu 12.04
Johannes_B
Site Moderator
 
Posts: 1039
Joined: Thu Nov 1st, 2012

Re: Space Adjustment for itemized List in Presentation

Postby upani1982 on Thu Jul 11th, 2013

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
upani1982
 
Posts: 43
Joined: Wed May 12th, 2010

Re: Space Adjustment for itemized List in Presentation

Postby localghost on Thu Jul 11th, 2013

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  •  Open in writeLaTeX
\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.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: Space Adjustment for itemized List in Presentation

Postby Johannes_B on Thu Jul 11th, 2013

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.

TeX Live 2013, Ubuntu 12.04
Johannes_B
Site Moderator
 
Posts: 1039
Joined: Thu Nov 1st, 2012


Topic Tags

beamerlistspresentations

Return to Page Layout

Who is online

Users browsing this forum: No registered users and 6 guests