Created
June 23, 2026 17:17
-
-
Save Lev135/107923fb0a453c1772ba37b92477e69d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \documentclass{beamer} | |
| \usepackage{lipsum} | |
| % Paragraph spacing | |
| \setlength{\parskip}{1ex} | |
| \makeatletter | |
| \def\@listi{\leftmargin\leftmargini | |
| \topsep 0pt % Space before/after list | |
| \parsep 0pt % Space between paragraphs within an item | |
| \itemsep 0pt} % Space between separate items | |
| \let\@listI\@listi | |
| \makeatother | |
| \begin{document} | |
| \begin{frame}{Vertical spaces between paragraphs} | |
| \lipsum[1][1-2] | |
| \begin{itemize} | |
| \item \lipsum[1][3] | |
| \item lipsum | |
| \item \lipsum[1][4-5] | |
| \end{itemize} | |
| \lipsum[2][1-3] | |
| \lipsum[2][4] | |
| \end{frame} | |
| \end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment