Skip to content

Commit 9fe00cb

Browse files
committed
Some changes for user-contributed notebooks
1 parent bae67cf commit 9fe00cb

File tree

11 files changed

+1033
-2
lines changed

11 files changed

+1033
-2
lines changed

client_server/notebook.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
div.image_png img { width: 100%; }
1111
div.python { font-family: monospace; padding-left: 10px; margin-left: 40px; margin-right; 40px; margin-bottom: 10px; margin-top: 10px; white-space: pre; color: blue; }
1212
pre.output { color: black; }
13+
div.author { font-weight: bold; }
14+
div.email { font-family: monospace; }
1315
</style>
1416
<script>
1517
MathJax.Hub.Config({

client_server/notebook.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
}
2727
\newcommand{\algo}[1]{{\tt \detokenize{#1}}}
2828
\newcommand{\prop}[1]{{\tt \detokenize{#1}}}
29+
\newcommand{\author}[1]{{\bfseries #1}}
30+
\newcommand{\email}[1]{, {\tt #1}}
2931
%\makeatletter\def\old@comma{,}\catcode`\,=13 \def,{%
3032
%\ifmmode\old@comma\discretionary{}{}{}\else\old@comma\fi}\makeatother
3133

0 commit comments

Comments
 (0)