Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
82d69e4b
Commit
82d69e4b
authored
Mar 23, 2017
by
Robin Sonnabend
Browse files
Set internal sections with light gray background
/close
#82
parent
1b88d4a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
parser.py
View file @
82d69e4b
...
...
@@ -356,10 +356,10 @@ class Fork(Element):
elif
self
.
test_private
(
self
.
name
):
if
show_private
:
# font: \fontfamily{lmr}\selectfont
return
(
r
"\
textit
{Interner Abschnitt:"
+
"
\n
"
return
(
r
"\
colorbox{itemizebackground}{\parbox[t]{\linegoal}
{Interner Abschnitt:"
+
"
\n
"
+
r
"\begin{itemize}"
+
"
\n
"
+
content_lines
+
"
\n
"
+
r
"\end{itemize}}"
)
+
r
"\end{itemize}}
}
"
)
else
:
# todo: bessere Formulierung finden
return
r
"\textit{[An dieser Stelle wurde intern protokolliert.]}"
...
...
templates/protokoll2.cls
View file @
82d69e4b
...
...
@@ -23,6 +23,9 @@
\RequirePackage
[babel]
{
csquotes
}
\RequirePackage
{
polyglossia
}
\RequirePackage
{
enumitem
}
\RequirePackage
{
color
}
\RequirePackage
{
xcolor
}
\RequirePackage
{
linegoal
}
\setlistdepth
{
\VAR
{
maxdepth
}}
\renewlist
{
itemize
}{
itemize
}{
\VAR
{
maxdepth
}}
...
...
@@ -30,6 +33,8 @@
\setlist
[itemize,\VAR{index+1}]
{
label=
\VAR
{
loop.cycle(*bulletpoints)
}}
\ENV
{
endfor
}
\definecolor
{
itemizebackground
}{
gray
}{
0.95
}
\setmainlanguage
[babelshorthands=true]
{
german
}
\ENV
{
macro specify
_
font(font, name)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment