-
Notifications
You must be signed in to change notification settings - Fork 84
Good practice #259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Good practice #259
Conversation
talk/setup.tex
Outdated
@@ -31,6 +31,9 @@ | |||
\end{beamercolorbox}% | |||
} | |||
|
|||
\setbeamercolor{goodpractice head}{fg=white,bg=orange} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\setbeamercolor{goodpractice head}{fg=white,bg=orange} | |
\setbeamercolor{goodpractice head}{fg=white,bg=orange!50!black} |
Or something of this kind, that is more dark so that the white writing is easier to read
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some 70-80 ? so that it stays orange (and not brown) but slightly darker. Actually the 90 is not bad already
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
85 now. I will merge, and we can tweak it once we see the slides on a projector.
Awesome, this streamlines our best practices nicely! |
Usage: \begin{goodpractice}{<Title>} <body> \end{goodpractice} This creates a box titled "Good practice: <Title>", so <Title> could be - Pass by reference - Use of locks etc.
a77178b
to
af1d1e0
Compare
To continue on #78, here's a draft of a recognisable good practice box. What's missing is the "index of good practices". I need to learn a bit more on the deeper tex mechanics to do this cleanly.
The new environment will in the future "just" create that index automatically.