##// END OF EJS Templates
Add example of using annotations in interact...
Add example of using annotations in interact The reason for using annotations is to use the syntax - our decorator has no advantages over passing kwargs to interact[ive]. So this adds a proper demo, with a 'Python 3 only' subheading.

File last commit:

r13925:7a8be7be
r15187:695150ef
Show More
article.tplx
16 lines | 463 B | text/plain | TextLexer
Jonathan Frederic
Proof of concept
r12665
Jonathan Frederic
Standard templates default to notebook style.
r12728 % Default to the notebook output style
Jonathan Frederic
Latex book & article implementations
r12668 ((* if not cell_style is defined *))
Jonathan Frederic
Post review with Min, Fernando, and Brian. Simplification...
r12750 ((* set cell_style = 'style_ipython.tplx' *))
Jonathan Frederic
Latex book & article implementations
r12668 ((* endif *))
% Inherit from the specified cell style.
((* extends cell_style *))
%===============================================================================
% Latex Article
%===============================================================================
((* block docclass *))
\documentclass{article}
((* endblock docclass *))