eschulte / epresent

Presentations in Emacs -- based on Org-mode
183 stars 51 forks source link

epresent page number is too big #51

Open ydroneaud opened 8 years ago

ydroneaud commented 8 years ago

Hi,

I'm considering using epresent to run a presentation written in org-mode:

Unfortunately, I have small issues to report.

This is the second one.

The slide / page number is displayed way to big in footer.

It should be possible to choose how this page number will be rendered (location, size).

See attached screen shot

I'm using Fedora 24, GNOME 3.20, GNU Emacs 25.0.94.1, Org-mode version 8.2.10, epresent 32e486cbae2d

sellout commented 8 years ago

I submitted a PR that should make it easier to control the size of the page number. It’s already possible to control the location (to some extent).

The page number there is displayed in Emacs’ mode-line. There is a customizable variable epresent-mode-line that contains the formatting used in epresent. You can also set the mode line for a specific file by adding #+EPRESENT_MODE_LINE to the file. Here is an example from one of mine:

#+epresent_mode_line: (" @sellout" "         Fix-ing Your Types with Matryoshka           " (:eval (int-to-string epresent-page-number)))

and it ends up looking like

screenshot_8_7_16__09_29

You can learn how to customize the mode-line at https://www.emacswiki.org/emacs/?ModeLineConfiguration

And, now I’m inspired to add epresent-header-line, too, which is similar to the mode-line, but at the top of the window.