Skip to content
Chris Hofstaedtler edited this page Jun 22, 2025 · 4 revisions

KeyTex

Goal: provide a presentation framework for easy use of lessig presentation style using a Dual-Head setup on Linux based on LaTeX-Beamer.

LaTeX-commands

Flexible text placement

\ktText[Par1][Par2]{Par3}{Par4}

  • Par1: horizontal position; could be one of:

     - ''c''(enter) - default if not given at all
     - ''l''(eft)
     - ''r''(ight)
    
    • ''Par2'': vertical position; could be one of:
      • ''t''(op)
      • ''m''(iddle) - default if not given at all
      • ''b''(ottom)
    • Par3: Text/Paragraph/Content which is part of the slide
    • Par4: Text/Paragraph/Content which is part of the notes

FIXME: Alternatively: combine Par1 and Par2 to a two-character parameter like cm (center/middle), lt (left/top), and so forth. (only nine combinations possible)

Flexible background graphics

In general: every graphic content will be placed independent from the text at a "deeper" level. Therefore no text will be hidden behind any graphic.

FIXME: The graphics-commands of this section are related to the previous|following \ktText-statement

\ktWideGr[Par1][Par2]{width}{file}

\ktHighGr[Par1][Par2]{height}{file}

 * ''Par1'' and ''Par2'': same as above with ''\ktText''
 * ''width'' and ''height'' as described in the ''graphics''-package

\ktBackground[Par1]{file}

When using \ktBackground, the graphics will be expanded to fill the screen with following options:

 * ''Par1'': could be one of:
   - ''c''(ut): if the proportions of the graphics are not the same of the screen slide, the graphic gets resized until one dimension (height or width) is maximised. The rest will be filled with the current background color.
   - ''f''(ill|ull): the whole slide background will be filled with the graphic and everything that exceeds the slide, get cut.

Handout notes

\handout{}

Things that are written in those tags appear only on handout documents that are compiled in a separate (pdf)latex-run (FIXME: how?).

Scripts

Wishlist / Todo

  • Extend mikas LaTeX/-beamer templates to provide nice templates for slides
  • Cleanup and generalisation of scripts
  • Fix 'x/y' numbers in notes.pdf
  • Improve/provide different font styles

=> put all of the above in a framework and publish it as KeyTex :)

Clone this wiki locally