On 04/05/2017 04:20 PM, Joel Kulesza wrote:
Colleagues:

My goal is to have equations on a Beamer frame center-aligned relative to the frame and not the indent level of the current environment.

This issue is surprisingly hard to search for (e.g., most discussion addresses equation alignment with things such as \align). One approach I located is described at: http://tex.stackexchange.com/questions/11606/how-can-i-center-text-math-inside-a-list-environment

Is there built-in (or a suggested implementation of) functionality to produce the desired behavior?

Thank you,
Joel
I don't know if there's a module for this, but it's not hard to do. The first key is that you'll want the display mode math in a Standard, rather then Itemize (or Enumerate), environment to get it to center properly.

As to what comes next, if it's the last thing in the last item, just soldier on. If it's the last thing in what is not the last item, just start a new Itemize environment. Where it gets interesting is if the math is in the middle of an item. In that case, get out of the item and into a standard environment, do the math, and then to resume the item start a new Itemize environment, do Insert > Custom Item, and leave the Custom Item inset empty (which suppresses the unwanted bullet). I've attached a small example.

For math in the middle of an enumeration, the story is almost the same, the difference being that you will need to load the Beamer Resumable Enumerate module and use an Enumerate-Resume environment after itemize with the custom inset to resume enumerating with the next number.

If this is a frequent issue, you might consider writing either a module or a macro for it (unless, of course, one already exists).

Paul

Attachment: item_math.lyx
Description: application/lyx

Reply via email to