Recent Changes

Updates since 2017-03-29 22:06 UTC up to 2017-04-28 22:06 UTC

1 | 3 | 7 | 30 | 90 days
List all changes Include rollbacks Include minor changes
List later changes RSS RSS with pages RSS with pages and diff

2017-04-24

  • 16:58 UTC (new) (history) 2017-04-24 Many variants of a Beamer presentation – part III . . . . Marcin Borkowski Some time ago I [[2016-09-05 Many variants of a Beamer presentation – part I|wrote]] [[2016-10-03 Many variants of a Beamer presentation – part II|about]] making both a presentation and lecture notes out of a single source in Beamer. I’m still using the setup shown there, but recently I encountered an unexpected problem. Consider this: {{{ \documentclass{article} \usepackage{beamerarticle} \begin{document} \begin{frame} \frametitle{A frame with a theorem} \begin{theorem} A~cool theorem. \end{theorem} \end{frame} \begin{frame}<presentation> \frametitle{A~presentation-only frame with a theorem} \begin{theorem} Another theorem, visible only on a~presentation. \end{theorem} \end{frame} \begin{frame} \frametitle{Another frame with a theorem} \begin{theorem} The final theorem. \end{theorem} \end{frame} \end{document} }}} If you compile this, you’ll spot the problem immediately: while the second theorem is not present in the pdf, its //number// is taken up, and we have Theorem 3 right after Theorem 1. (In case of the {{{beamer}}} document class, everything works just fine – try it if you want.) It does make sense. Imagine a Beamer theme which actually does typeset theorem numbers. You would like then your theorem labels in the presentation and in the lecture notes to match. Usually, this is not the case, though, and I don’t really care for theorem numbers in the slides. So, here’s my simple solution. (While at that, I also turn the frametitles off in the lecture notes. If you want to do that automatically for all slides, see [[https://tex.stackexchange.com/q/350020/5626|here]].) {{{ \documentclass{article} \usepackage{beamerarticle} \theoremstyle{plain} \newtheorem*{theorem*}{Theorem} \begin{document} \begin{frame} \frametitle<presentation>{A frame with a theorem} \begin{theorem} A~cool theorem. \end{theorem} \end{frame} \begin{frame}<presentation> \frametitle{A~presentation-only frame with a theorem} \begin{theorem*} Another theorem, visible only on a~presentation. \end{theorem*} \end{frame} \begin{frame} \frametitle<presentation>{Another frame with a theorem} \begin{theorem} The final theorem. \end{theorem} \end{frame} \end{document} }}} CategoryEnglish, CategoryBlog, CategoryTeX, CategoryLaTeX, CategoryBeamer

2017-04-16

  • 05:37 UTC (new) (history) 2017-04-16 Easter‼ . . . . Marcin Borkowski The Lord has risen from the grave today! While it sounds unbelievable, it’s actually believable; it is in fact the thing most worth believing. I wish to all my Catholic readers the joy coming from Our Lord’s Resurrection; the joy which will last much longer than our life on this earth. To all the rest I wish that you may find that joy. I hope to see all of you in Heaven one day! As usual, I am going to offer a decade of Rosary for all people reading this. Hallelujah!

2017-04-10

2017-04-09

  • 12:58 UTC (new) (history) 2017-04-09 Quickly loading and finding your elisp files . . . . Marcin Borkowski This is a rather obvious hint – at least with hindsight – but someone might find it useful. If you’re like me, you may have a bunch of short elisp files with various small utilities you have written yourself in the past few years. For some reason, you may not want to load them at startup (maybe you want your Emacs to start as fast as posibble, maybe you don’t want to pollute the namespace with things that are only occasionally useful…).

2017-04-01

  • 06:04 UTC (new) (history) 2017-04-01 compilation-in-progress . . . . Marcin Borkowski I use AUCTeX pretty heavily; in fact, it was one of the first things I ever used in Emacs, way before I learned any Elisp or did any serious (or less serious) programming. Some time ago I noticed that sometimes (and I’m not sure what triggers this, though I have some suspicions) the word Compiling will stay in the modeline forever. It bugged me a bit, so I asked about it on the mailing list, and Oleh Krehel (of Ivy and Lispy fame) shared this simple solution: (setq compilation-in-progress nil). It’s not really a clean solution, but it works.

More...

Filters