Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
stratum0-latex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
rohieb
stratum0-latex
Commits
18911501
Commit
18911501
authored
8 years ago
by
rohieb
Browse files
Options
Downloads
Patches
Plain Diff
s0minutes: render resolutions with a shaded gray box, not with a leftbar
parent
9c380a23
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
s0minutes.cls
+12
-21
12 additions, 21 deletions
s0minutes.cls
with
12 additions
and
21 deletions
s0minutes.cls
+
12
−
21
View file @
18911501
...
...
@@ -28,8 +28,8 @@
% -- Helper packages
% --
\RequirePackage
{
ifthen
}
\RequirePackage
{
framed
}
% leftbar environment etc.
\RequirePackage
{
x
ifthen
}
% \isempty test
\RequirePackage
{
framed
}
% leftbar environment etc.
\RequirePackage
{
dingbat
}
% \leftthumbsup etc.
\RequirePackage
[svgnames,table]
{
xcolor
}
...
...
@@ -135,26 +135,17 @@ Es gibt keine weiteren Tagesordnungspunkte. Die Versammlung wird geschlossen.
\egroup
%
}
% our own little frame environment for resolutions
\def\sn
@flushleftbarwidth
{
5pt
}
\def\sn
@flushleftbarspace
{
10pt
}
\newenvironment
{
sn@flushleftbar
}{
%
\def\FrameCommand
{
%
\hskip
-
\sn
@flushleftbarwidth
\hskip
-
\sn
@flushleftbarspace
%
\textcolor
{
darkgray
}{
\vrule
width
\sn
@flushleftbarwidth
\hspace
{
\sn
@flushleftbarspace
}}}
\MakeFramed
{
\advance\hsize
-
\width
\FrameRestore
}}
%
{
\endMakeFramed
}
\newcommand*
{
\shortresolution
}
[4]
{
%
\begin{sn@flushleftbar}
\raggedright
\sn
@resolution
{
#1
}{
#2
}{
#3
}{
#4
}
\end{sn@flushleftbar}
}
\colorlet
{
shadecolor
}{
gray!15
}
%
\newenvironment
{
resolution
}
[4]
{
%
\begin{sn@flushleftbar}
\sn
@resolution
{
#1
}{
#2
}{
#3
}{
#4
}
\par
}{
%
\end{sn@flushleftbar}
\begin{shaded}
\sn
@resolution
{
#1
}{
#2
}{
#3
}{
#4
}
%
\par
}{
% try to even out the upper and lower padding of the shaded box...
\vspace
{
-.2
\baselineskip
}
%
\end{shaded}
\vspace
{
-
\parskip
}
%
\vspace
{
-
\FrameSep
}
%
\vspace
{
\ifdim\FrameSep
<
\parskip\parskip\else\FrameSep\fi
}
%
}
% Adoption, rejection, votes, consensus
...
...
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