LaTeX forum ⇒ Page LayoutSpace Adjustment for itemized List in Presentation Topic is solved

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

Space Adjustment for itemized List in Presentation

Postby upani1982 » Wed Jul 10, 2013 1:33 pm

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:
  1. \documentclass[fleqn]{beamer}
  2. \usetheme{CambridgeUS}
  3. \setbeamertemplate{caption}[numbered]
  4. \usepackage[none]{hyphenat}
  5.  
  6. \section{The Theory of the Firm and Business Decisions}
  7. \begin{frame}
  8. \frametitle{The Theory of the Firm}
  9. \begin{itemize} %Before itemize i am getting lot of whitspace, which i need to be reduced.
  10. \item Combines and organizes resources for the purpose of producing goods and/or services for sale.
  11. \pause
  12. \item Internalizes transactions, reducing transactions costs.
  13. \pause
  14. \item Economic theory assumes that the primary goal of managers is to maximize the value of the firm.
  15. \begin{block}{Value of the Firm}
  16. \begin{eqnarray}% if i am going for both the equation it is not aligning properly and the equation number is missing.
  17. \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}} \\
  18. \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}}
  19. \end{eqnarray}
  20. \end{block}
  21. \end{itemize}
  22. \end{frame}
  23. \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.

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Wed Jul 10, 2013 4:50 pm

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

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby upani1982 » Thu Jul 11, 2013 8:31 am

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

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
Johannes_B
Site Moderator
Posts: 3178
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Jul 11, 2013 8:52 am

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

  1. \documentclass[fleqn]{beamer}
  2. \usetheme{CambridgeUS}
  3. \setbeamertemplate{caption}[numbered]
  4. \usepackage[none]{hyphenat}
  5. \begin{document}
  6. \section{The Theory of the Firm and Business Decisions}
  7. \begin{frame}
  8. \frametitle{The Theory of the Firm}
  9. \vspace{-1em}%you can adjust that to your needs
  10. \begin{itemize}
  11. \item Combines and organizes resources for the purpose of producing goods and/or services for sale.
  12. \pause
  13. \item Internalizes transactions, reducing transactions costs.
  14. \pause
  15. \item Economic theory assumes that the primary goal of managers is to maximize the value of the firm.
  16. %\end{itemize}
  17. \begin{block}{Value of the Firm}\scriptsize
  18. \begin{align}
  19. 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}} \\
  20. \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}}
  21. \end{align}
  22. \end{block}
  23. \end{itemize}
  24. \end{frame}
  25. \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.

Link:
BBcode: Topic is solved[/url]" title="Click to select post's link in BBcode format" onclick="this.focus();this.select();" />
HTML: Topic is solved</a>" title="Click to select post's link in HTML format" onclick="this.focus();this.select();" />
Hide post links
Show post links

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

Postby upani1982 » Thu Jul 11, 2013 11:39 am

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

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Thu Jul 11, 2013 6:11 pm

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.
  1. \begin{frame}[t]{frame title}
  2. % frame content
  3. \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

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
Johannes_B
Site Moderator
Posts: 3178
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Jul 11, 2013 6:22 pm

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.

Link:
BBcode:
HTML:
Hide post links
Show post links

kathrynbottrell
Posts: 3
Joined: Mon Nov 09, 2015 8:30 am
Location: Delta, BC
Contact:

Postby kathrynbottrell » Mon Nov 09, 2015 8:38 am

Many thanks for sharing this coding to adjust Space in presentations. I am also a presenter in a local Delta, BC business firm.

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “Page Layout”

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests