Pārlūkot izejas kodu

backup file removed from repo

master
Dirk Alders 3 gadus atpakaļ
vecāks
revīzija
96cb5a99e2
1 mainītis faili ar 0 papildinājumiem un 13 dzēšanām
  1. 0
    13
      templates/tex/macros.tex~

+ 0
- 13
templates/tex/macros.tex~ Parādīt failu

@@ -1,13 +0,0 @@
1
-{%- macro requirement_filter(text) -%}{{ text.replace('<', '$<$').replace('>', '$>$') }}
2
-{%- endmacro -%}
3
-{%- macro latex_filter(text) -%}{{ requirement_filter(text).replace('\\', '/').replace('/xc2/xb0', '$^\circ$').replace('"', '\'').replace('/', '/\\allowbreak ').replace('&', '\\allowbreak \\&').replace('_', '\\_').replace('->', '$\\rightarrow$').replace('<-', '$\\leftarrow$').replace('=>', '$\\Rightarrow$').replace('<=', '$\\leq$').replace('>=', '$\\geq$').replace('{', '\{').replace('}', '\}').replace('#', '\\#')}}
4
-{%- endmacro -%}
5
-
6
-{%- macro color_by_level(level) -%}{% if level <= 10 %}black{% else %}{% if level <= 20 %}green{% else %}{% if level <= 30 %}orange{% else %}red{% endif %}{% endif %}{% endif %}
7
-{%- endmacro -%}
8
-
9
-{%- macro bg_by_levelno(level) -%}{% if level <= 10 %}0.8 0.8 0.8{% else %}{% if level <= 20 %}0.8 0.95 0.8{% else %}{% if level <= 30 %}1 0.75 0.45{% else %}0.95 0.8 0.8{% endif %}{% endif %}{% endif %}
10
-{%- endmacro -%}
11
-
12
-{%- macro result(level) -%}{% if level <= 10 %}Info{% else %}{% if level <= 20 %}\textcolor{green}{Success}{% else %}{% if level <= 30 %}\textcolor{orange}{Warning}{% else %}\textcolor{red}{Failed}{% endif %}{% endif %}{% endif %}
13
-{%- endmacro -%}

Notiek ielāde…
Atcelt
Saglabāt