Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Mareš
prm1
Commits
4bbd1734
Commit
4bbd1734
authored
Oct 11, 2019
by
Martin Mareš
Browse files
Generalizace slidemac
parent
893f7f1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
01-uvod/01-uvod.tex
View file @
4bbd1734
...
...
@@ -17,19 +17,7 @@
\titlepage
\end{frame}
\def\>
{
\color
{
black
}
>>>
\color
{
blue
}}
\def\=
#1
{{
\color
{
teal
}
#1
}
\endgraf\smallskip
}
\def\py
#1#2
{
%
\def\tmp
{
#1
}
\ifx\tmp\empty\else
{
\tt\def\\
{
\hfil\break\>
}
\>
#1
}
\\
%
\fi
\def\tmp
{
#2
}
\ifx\tmp\empty\else
{
\tt\color
{
red
}
#2
}
\\
%
\fi
\medskip
}
\input
../slidemac.tex
% ----------------------------------------------------------------------
...
...
slidemac.tex
0 → 100644
View file @
4bbd1734
\def\pyprompt
{
\color
{
black
}
>>>
\color
{
blue
}}
\def\pydots
{
\color
{
black
}
...
\color
{
blue
}}
\def\>
{
\hphantom
{
xxxx
}}
\def\=
#1
{{
\color
{
teal
}
#1
}
\endgraf\smallskip
}
\def\py
#1#2
{
%
\def\tmp
{
#1
}
\ifx\tmp\empty\else
{
\tt\def\\
{
\hfil\break\pyprompt
}
\def\.
{
\hfil\break\pydots
}
\pyprompt
#1
}
\\
%
\fi
\def\tmp
{
#2
}
\ifx\tmp\empty\else
{
\tt\color
{
red
}
#2
}
\\
%
\fi
\medskip
}
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