Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Chronos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Chronos
Commits
2fbffc27
Commit
2fbffc27
authored
5 years ago
by
Frank Poetzsch-Heffter
Browse files
Options
Downloads
Patches
Plain Diff
formatting tex code and colornames
parent
018330a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
biscuit/apps/chronos/templates/timetable/latex/substitutions.tex
+10
-21
10 additions, 21 deletions
.../apps/chronos/templates/timetable/latex/substitutions.tex
with
10 additions
and
21 deletions
biscuit/apps/chronos/templates/timetable/latex/substitutions.tex
+
10
−
21
View file @
2fbffc27
...
@@ -25,37 +25,26 @@
...
@@ -25,37 +25,26 @@
\textbf
{
Klassen
}
&
\textbf
{
Std.
}
&
\textbf
{
Lehrer
}
&
\textbf
{
Fach
}
&
\textbf
{
Raum
}
&
\textbf
{
Hinweis
}
\\\hline
\textbf
{
Klassen
}
&
\textbf
{
Std.
}
&
\textbf
{
Lehrer
}
&
\textbf
{
Fach
}
&
\textbf
{
Raum
}
&
\textbf
{
Hinweis
}
\\\hline
\endhead
\endhead
{
% for sub in subs %}
{
% for sub in subs %}
{
# ------------------------------ #
}
{
# Color groups of classes in grey/white #
}
{
# Color groups of classes in grey/white #
}
{
% if last_classes != sub.classes %}
{
% if last_classes != sub.classes %}
{
% if color_background %}
{
% if color_background %}{% set color_background = 0 %}
{
% set color_background = 0 %}
{
% else %}{% set color_background = 1 %}
{
% else %}
{
% set color_background = 1 %}
{
% endif %}
{
% endif %}
{
% endif %}
{
% endif %}
{
% set last_classes = sub.classes %}
{
% set last_classes = sub.classes %}
{
# Background color #
}
{
# Background color #
}
{
% if color_background %}
{
% if color_background %}\rowcolor{ grey }{% endif %}
\rowcolor
{
grey
}
{
% endif %}
{
# ------------------------------ #
}
{
% with c=sub.color %}
{
% with c=sub.color %}
{
# Display classes #
}
{
# Display classes #
}
\color
{
{{
c
}}}
\color
{
{{
c
}}
}
\textbf
{
{{
sub.classes
}}
}
&
\textbf
{
{{
sub.classes
}}
}
&
{
# Display lesson number #
}
{
# Display lesson number #
}
\color
{
{{
c
}}}
\color
{
{{
c
}}
}
{{
sub.lesson
}}
&
{{
sub.lesson
}}
&
\color
{
{{
c
}}
}
{
% include "timetable/latex/teacher.tex" %} &
\color
{
{{
c
}}}
{
% include "timetable/latex/teacher.tex" %} &
\color
{
{{
c
}}
}
{
% include "timetable/latex/subject.tex" %} &
\color
{
{{
c
}}}
{
% include "timetable/latex/subject.tex" %} &
\color
{
{{
c
}}
}
{
% include "timetable/latex/room.tex" %} &
\color
{
{{
c
}}}
{
% include "timetable/latex/room.tex" %} &
{
# Display badge (for cancellations) #
}
{
# Display notice and new line #
}
{
# Display badge (for cancellations) #
}
{
# Display notice and new line #
}
{
% if sub.badge %}
{
% if sub.badge %} \footnotesize\badge{ {{ sub.badge }} } {% endif %}
\footnotesize\badge
{
{{
sub.badge
}}
}
\color
{
{{
c
}}
}
\large\textit
{
{{
sub.text|default:""|safe|texify|safe
}}
}
\\
{
% endif %} \color{ {{c}}} \large\textit{ {{sub.text|default:""|safe|texify|safe}} } \\
{
% endwith %}
{
% endwith %}
{
% endfor %}
{
% endfor %}
\end{longtable}
\end{longtable}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment