"Fossies" - the Fresh Open Source Software Archive

Member "TeXmacs-2.1.2-src/TeXmacs/packages/beamer/decorations/alt-colors.ts" (5 May 2022, 6225 Bytes) of package /linux/misc/TeXmacs-2.1.2-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "alt-colors.ts": 2.1.1_vs_2.1.2.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 <TeXmacs|2.1.1>
    2 
    3 <style|source>
    4 
    5 <\body>
    6   <active*|<\src-title>
    7     <src-package|alt-colors|1.0>
    8 
    9     <\src-purpose>
   10       An example style package for fancy colors on slides.
   11     </src-purpose>
   12 
   13     <src-copyright|2007|Joris van der Hoeven>
   14 
   15     <\src-license>
   16       This software falls under the <hlink|GNU general public license,
   17       version 3 or later|$TEXMACS_PATH/LICENSE>. It comes WITHOUT ANY
   18       WARRANTY WHATSOEVER. You should have received a copy of the license
   19       which the software. If not, see <hlink|http://www.gnu.org/licenses/gpl-3.0.html|http://www.gnu.org/licenses/gpl-3.0.html>.
   20     </src-license>
   21   </src-title>>
   22 
   23   <\active*>
   24     <\src-comment>
   25       Titles in dark cyan
   26     </src-comment>
   27   </active*>
   28 
   29   <assign|heading-color|#006060>
   30 
   31   <provide|uncolored-doc-title-name|<value|doc-title-name>>
   32 
   33   <provide|uncolored-part-title|<value|part-title>>
   34 
   35   <provide|uncolored-chapter-title|<value|chapter-title>>
   36 
   37   <provide|uncolored-section-title|<value|section-title>>
   38 
   39   <provide|uncolored-subsection-title|<value|subsection-title>>
   40 
   41   <provide|uncolored-subsubsection-title|<value|subsubsection-title>>
   42 
   43   <provide|uncolored-paragraph-title|<value|paragraph-title>>
   44 
   45   <provide|uncolored-subparagraph-title|<value|subparagraph-title>>
   46 
   47   <assign|with-heading|<macro|x|<with|color|<value|heading-color>|math-color|<value|heading-color>|strong-color|<value|heading-color>|locus-color|<value|heading-color>|visited-color|<value|heading-color>|<arg|x>>>>
   48 
   49   <assign|doc-title-name|<macro|x|<with-heading|<uncolored-doc-title-name|<arg|x>>>>>
   50 
   51   <assign|part-title|<macro|x|<with-heading|<uncolored-part-title|<arg|x>>>>>
   52 
   53   <assign|chapter-title|<macro|x|<with-heading|<uncolored-chapter-title|<arg|x>>>>>
   54 
   55   <assign|section-title|<macro|x|<with-heading|<uncolored-section-title|<arg|x>>>>>
   56 
   57   <assign|subsection-title|<macro|x|<with-heading|<uncolored-subsection-title|<arg|x>>>>>
   58 
   59   <assign|subsubsection-title|<macro|x|<with-heading|<uncolored-subsubsection-title|<arg|x>>>>>
   60 
   61   <assign|paragraph-title|<macro|x|<with-heading|<uncolored-paragraph-title|<arg|x>>>>>
   62 
   63   <assign|subparagraph-title|<macro|x|<with-heading|<uncolored-subparagraph-title|<arg|x>>>>>
   64 
   65   <\active*>
   66     <\src-comment>
   67       Mathematics in dark red.
   68     </src-comment>
   69   </active*>
   70 
   71   <assign|math-color|dark red>
   72 
   73   <assign|math-colored|<macro|x|<with|color|<value|math-color>|font-family|rm|<arg|x>>>>
   74 
   75   <provide|uncolored-math|<value|math>>
   76 
   77   <provide|uncolored-equation*|<value|equation*>>
   78 
   79   <provide|uncolored-equations-base|<value|equations-base>>
   80 
   81   <assign|math|<macro|x|<math-colored|<uncolored-math|<arg|x>>>>>
   82 
   83   <assign|equation*|<\macro|x>
   84     <math-colored|<\uncolored-equation*>
   85       <arg|x>
   86     </uncolored-equation*>>
   87   </macro>>
   88 
   89   <assign|equations-base|<\macro|x>
   90     <math-colored|<\uncolored-equations-base>
   91       <arg|x>
   92     </uncolored-equations-base>>
   93   </macro>>
   94 
   95   <\active*>
   96     <\src-comment>
   97       Theorems, lists and strong text in dark blue.
   98     </src-comment>
   99   </active*>
  100 
  101   <assign|strong-color|dark blue>
  102 
  103   <provide|uncolored-enunciation-name|<value|enunciation-name>>
  104 
  105   <provide|uncolored-theorem-name|<value|theorem-name>>
  106 
  107   <provide|uncolored-remark-name|<value|remark-name>>
  108 
  109   <provide|uncolored-exercise-name|<value|exercise-name>>
  110 
  111   <provide|uncolored-strong|<value|strong>>
  112 
  113   <assign|enunciation-name|<macro|x|<with|color|<value|strong-color>|<uncolored-enunciation-name|<arg|x>>>>>
  114 
  115   <assign|theorem-name|<macro|x|<with|color|<value|strong-color>|<uncolored-theorem-name|<arg|x>>>>>
  116 
  117   <assign|remark-name|<macro|x|<with|color|<value|strong-color>|<uncolored-remark-name|<arg|x>>>>>
  118 
  119   <assign|exercise-name|<macro|x|<with|color|<value|strong-color>|<uncolored-exercise-name|<arg|x>>>>>
  120 
  121   <assign|strong|<macro|x|<with|color|<value|strong-color>|<uncolored-strong|<arg|x>>>>>
  122 
  123   <\active*>
  124     <\src-comment>
  125       Adapted list environments
  126     </src-comment>
  127   </active*>
  128 
  129   <provide|uncolored-render-list|<value|render-list>>
  130 
  131   <assign|render-list|<\macro|body>
  132     <\uncolored-render-list>
  133       <\with|uncolored-current-item|<or-value|uncolored-current-item|current-item>|current-item|<macro|name|<with|color|<value|strong-color>|<uncolored-current-item|<arg|name>>>>>
  134         <arg|body>
  135       </with>
  136     </uncolored-render-list>
  137   </macro>>
  138 
  139   <assign|list|<\macro|item-render|item-transform|body>
  140     <\with|uncolored-current-item|<arg|item-render>|current-item|<macro|name|<with|color|<value|strong-color>|<uncolored-current-item|<arg|name>>>>|transform-item|<arg|item-transform>|item-nr|0>
  141       <uncolored-render-list|<arg|body>>
  142     </with>
  143   </macro>>
  144 
  145   <assign|list*|<\macro|item-render|item-transform|body>
  146     <\with|uncolored-current-item|<arg|item-render>|current-item|<macro|name|<with|color|<value|strong-color>|<uncolored-current-item|<arg|name>>>>|transform-item|<quasiquote|<macro|name|<unquote|<value|last-item>>.<compound|<unquote|<arg|item-transform>>|<arg|name>>>>|item-nr|0|last-item-nr|0>
  147       <uncolored-render-list|<arg|body>>
  148     </with>
  149   </macro>>
  150 
  151   <assign|list-continued|<\macro|item-render|item-transform|body>
  152     <\with|uncolored-current-item|<arg|item-render>|current-item|<macro|name|<with|color|<value|strong-color>|<uncolored-current-item|<arg|name>>>>|transform-item|<arg|item-transform>|item-nr|<value|last-item-nr>>
  153       <uncolored-render-list|<arg|body>>
  154     </with>
  155   </macro>>
  156 
  157   <\active*>
  158     <\src-comment>
  159       Extra customizations in poster style
  160     </src-comment>
  161   </active*>
  162 
  163   <assign|framed-colored|<\macro|body>
  164     <\with|color|<value|framed-body-color>|math-color|<value|framed-body-math-color>|strong-color|<value|framed-body-strong-color>>
  165       <arg|body>
  166     </with>
  167   </macro>>
  168 
  169   <assign|alternate-colored|<\macro|body>
  170     <\with|color|<value|alternate-body-color>|math-color|<value|alternate-body-math-color>|strong-color|<value|alternate-body-strong-color>>
  171       <arg|body>
  172     </with>
  173   </macro>>
  174 
  175   <\active*>
  176     <\src-comment>
  177       Blinking
  178     </src-comment>
  179   </active*>
  180 
  181   <assign|blink|<macro|x|<anim-repeat|<anim-compose|<anim-constant|<arg|x>|1sec>|<anim-constant||0.5sec>>>>>
  182 
  183   \;
  184 </body>
  185 
  186 <\initial>
  187   <\collection>
  188     <associate|preamble|true>
  189   </collection>
  190 </initial>