-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bulleted list spacing tweaks? #29
Comments
You are touching an issue that is nagging on me for quite some time now. In regular LaTeX one could use the Your case is simpler however and you may define a new environment to add that spacing, i.e. something like this \newenvironment{Itemize}{\vspace{1em}\begin{itemize}}{\end{itemize}} |
@bgat After looking into beamer's source code, I discovered that its redefined itemize/enumerate enviroments helpfully provide hooks for customization, so you don't have to create any custom environments after all. \setbeamertemplate{itemize/enumerate body end}{\vspace{1em}} will automatically add some extra space after the end of each itemize and enumerate environment without breaking anything else. (Note: Hope this helps! |
Another related problem which is bugging me, is the But simply increasing the Any thoughts on this one? |
Is the problem actually due to the bullet's sidebearing? Is it actually On Fri, Jun 19, 2015, 1:50 AM Benjamin Weiss notifications@github.com
Bill Gatliff |
Yes. Because the length
So if the label of each item is wider than the bullet it doesn't fit. And it gets even worse if you have 2 digit numbers. |
Untested but worth trying: let
whichever of these actually works. |
As @bgat says, this ultimately comes down to the size of the bullet: since it is considerably narrower than a numeral, it is not possible to get all the alignments perfect. The current behaviour aligns @benjamin-weiss's proposed behaviour would align both \setbeamertemplate{itemize item}{\makebox[\labelwidth][l]{\textbullet}}
\setbeamertemplate{enumerate item}{\makebox[\labelwidth][l]{\insertenumlabel.}} but necessarily comes at the cost of misaligned periods and bullets on the right-hand side. I generally prefer the first behaviour, so I'll vote to close this issue, but I'm open to other suggestions if you have them. |
Looking at your screenshots I actually also prefer the first one. It is the way \setlength{\leftmargini}{1em}
\setlength{\leftmarginii}{1em}
\setlength{\leftmarginiii}{1em} |
I'd be fine with removing the adjustments. |
I also tested it with the default settings and I agree. Removing the adjustments is imho the best solution. |
Does that mean both |
We originally investigated the possibility of having \setlength{\leftmargini}{1em}
\setlength{\leftmarginii}{1em}
\setlength{\leftmarginiii}{1em} to return the item left margin to its default value. This fixes the issue that @benjamin-weiss raised about enumerate labels extending too far to the left relative to the surrounding text. |
Ah alright, then I misunderstood your intentions. With that I am fine. |
Mtheme is an absolutely BEAUTIFUL, intelligent, well-designed theme. Thank. You!!
My slides often have two sections of itemized (bulleted) lists, i.e.:
Lorem
Ipsum
I'd like to automatically add some additional vspace between "* b" and "Ipsum", but my attempts so far have also pushed Lorem downwards. Can you offer a suggestion that won't break the overall template?
Thanks!
The text was updated successfully, but these errors were encountered: