The script below reads a text file (given in the first argument) containing a single frame with fractional overlays and outputs an equivalent valid beamer frame. It is very crude (for example doesnt work if an overlay specification is broken across two lines) but could serve as a good starting point. Overlay specifications indicate to certain command on which slides it should act. The basic syntax is in the following form commandoverlay specoptions overlay spec is a list of numbers, with comma-separated, or ranges, with dash-separated. For example, the range 3-6 means the same as the list 3,4,5,6. a short introduction to overlays when creating presentations using the latex beamer package. For more on latex typesetting and statistical analysis using r v. By working with your colleagues and students on overleaf, you know that youre not going to hit any version inconsistencies or package conflicts. Overlay specifications are either single numbers like1, sequences of numbers like 1,4, or ranges of numbers like 1-4 or 1-. The alert command highlights its content on the specified overlays with the alert color, which may be redefined by means of thedefinecolor command.