Giter Site home page Giter Site logo

logcreative / presenter Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 262 KB

A LaTeX presentation framework with seamless migration

License: LaTeX Project Public License v1.3c

Lua 1.60% TeX 98.33% Perl 0.07%
latex presentation slide latex-presentation

presenter's Introduction

presenter

A LaTeX presentation framework with seamless migration

presenter is a package to create presentations from regular LaTeX documents without many modifications, which could be natively run by any latest TeX distributions.

presenter won't need any additional frame or slide environment to split different pages, but uses the original sectioning commands as the natural way to split different points.

Demo

-\documentclass{article}
+\documentclass{presenter}
\begin{document}
\section{Get Started}
Hello, world!
\end{document}
presenter
\documentclass{presenter}
\usepackage{xcolor}
\LoadPresenterBackground{block}
\EditPresenterBackground{headline}{fill-color=blue!70!green}
\EditPresenterForeground{headline}{style={\Large\color{white}}}
\begin{document}

\paragraph{Some text}

This is the content of this page.

\end{document}

bluepresenter

License

This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version.

This work has the LPPL maintenance status "maintained".

The Current Maintainer of this work is Log Creative.

presenter's People

Contributors

logcreative avatar

Stargazers

Alexara Wu avatar  avatar

Watchers

 avatar

Forkers

iuvenissapiens

presenter's Issues

Sectioning number decision algorithm

There are two ideas about the sectioning algorithm:

  1. Section numbering is decided in \@sect. This is implemented in 672b4e3 . This will automatically redirect the mark to print the regular sectioning content, but violets the original definition about marks. Since \@sect is defined outside the page style, which could not be regained the definition when switching the page style. But further customization will be harder. In this way, the predefined marks could get discarded and use templates instead.
  2. Section numbering decision is delayed until marking. This is implemented in b57bbd2 . This will not violate the original definition about marks. I don't know if it is necessary to maintain the definition of marks and how many packages use this definition. This could make use of the current marks.

These two ideas will result in different approaches to implement headlines.

  1. Section numbering is decided in \@sect. This will require the dual and cascade headline/sectioning template to get a parameter like priority sequence {part, section, subsection, subsubsection, paragraph, subparagraph} to determine the order of those sectioning commands.
  2. Section numbering decision is delayed until marking. This will define a global level in this document class. The template only needs to get a parameter indicating the top level to trace the sectioning. Of course, this will make the code less decoupled.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.