Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Reform
reform-handbook
Commits
f09907ba
Unverified
Commit
f09907ba
authored
Oct 31, 2020
by
mntmn
Browse files
latexpdf: example of how to style some things
parent
41517320
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/source/conf.py
View file @
f09907ba
...
...
@@ -38,6 +38,12 @@ templates_path = ['_templates']
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns
=
[]
latex_elements
=
{
'preamble'
:
r
'\usepackage{reformstyle}'
,
}
latex_additional_files
=
[
"reformstyle.sty"
]
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
...
...
@@ -51,4 +57,4 @@ html_theme = 'alabaster'
html_static_path
=
[
'_static'
]
def
setup
(
app
):
app
.
add_css_file
(
'css/custom.css'
)
\ No newline at end of file
app
.
add_css_file
(
'css/custom.css'
)
src/source/reformstyle.sty
0 → 100644
View file @
f09907ba
% hello from reformstyle!
\sphinxsetup
{
verbatimwithframe=false,
VerbatimColor=
{
rgb
}{
1.0,0.0,0.0
}
,
TitleColor=
{
rgb
}{
0.0,0.0,0.0
}
,
InnerLinkColor=
{
rgb
}{
0.0,0.0,0.0
}
,
OuterLinkColor=
{
rgb
}{
0.0,0.0,0.0
}
,
hintBorderColor=
{
rgb
}{
0.0,0.0,0.0
}
,
attentionborder=2pt,
attentionBorderColor=
{
rgb
}{
0.0,0.0,0.0
}
,
attentionBgColor=
{
rgb
}{
0.0,0.0,0.0
}
,
noteborder=2pt,
noteBorderColor=
{
rgb
}{
0.0,0.0,0.0
}
,
cautionborder=2pt,
cautionBorderColor=
{
rgb
}{
0.0,0.0,0.0
}
,
cautionBgColor=
{
rgb
}{
0.0,0.0,0.0
}}
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