Demonstration of admonition styles in DocOnce

H. P. Langtangen


Oct 5, 2015


The documents below are generated from a common DocOnce source.

LaTeX

--latex_admon=mdfbox with blue sections and matching admon colors

--latex_admon=mdfbox with light blue background in mdfbox titles

Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=mdfbox --latex_admon_color=bluestyle --latex_section_headings=blue

--latex_admon=mdfbox

Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=mdfbox

--latex_admon=graybox2

Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=graybox2

--latex_admon=grayicon

Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=grayicon

--latex_admon=yellowicon

Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=yellowicon

--latex_admon=colors1

Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=colors1

--latex_admon=colors2

Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=colors2

--latex_admon=paragraph-footnotesize

Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=paragraph-footnotesize

--latex_admon=paragraph

Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=paragraph

HTML

--html_admon=gray

Terminal> doconce format html admon --html_style=blueish --html_admon=gray --html_box_shadow

--html_admon=yellow

Terminal> doconce format html admon --html_style=blueish --html_admon=yellow --html_box_shadow

--html_admon=apricot

Terminal> doconce format html admon --html_style=blueish --html_admon=apricot --html_box_shadow

--html_admon=lyx

Terminal> doconce format html admon --html_style=blueish --html_admon=lyx --html_box_shadow

--html_admon=colors

Terminal> doconce format html admon --html_style=blueish --html_admon=colors --html_box_shadow

--html_admon=paragraph

Terminal> doconce format html admon --html_style=blueish --html_admon=paragraph --html_box_shadow

--html_admon=paragraph-small

Terminal> doconce format html admon --html_style=blueish --html_admon=paragraph-small --html_box_shadow

--html_admon=bootstrap_panel

Terminal> doconce format html admon --html_style=bootswatch_readable --html_admon=bootstrap_panel

--html_admon=bootstrap_alert

Terminal> doconce format html admon --html_style=bootswatch_readable --html_admon=bootstrap_alert

IPython notebook

--ipynb_admon=quote

Terminal> doconce format ipynb admon --ipynb_admon=quote

--ipynb_admon=paragraph

Terminal> doconce format ipynb admon --ipynb_admon=paragraph

--ipynb_admon=hrule

Terminal> doconce format ipynb admon --ipynb_admon=hrule

Sphinx

The admon layout depends on the Sphinx theme: classic agni basicstrap fenics-minimal2 scrolls

Terminal> doconce format sphin admon
Terminal> doconce sphinx_dir theme=scrolls admon
Terminal> python automake_sphinx.py