-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pietro Vertechi
authored
Aug 28, 2018
1 parent
6a2eb95
commit 6296f48
Showing
3 changed files
with
104 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Title</title> | ||
<meta charset="utf-8"> | ||
<link rel="stylesheet" type="text/css" href="styles.css"> | ||
</head> | ||
<body> | ||
<textarea id="source"> | ||
|
||
|
||
|
||
# Example presentation | ||
|
||
|
||
Some Julia code | ||
|
||
|
||
```julia | ||
1+2 | ||
``` | ||
|
||
|
||
-- | ||
|
||
|
||
A fragment | ||
|
||
|
||
--- | ||
|
||
|
||
|
||
|
||
# Some equations | ||
|
||
|
||
Here is a fraction: $\frac{1}{2}$ | ||
|
||
|
||
--- | ||
|
||
|
||
|
||
|
||
# A plot | ||
|
||
|
||
```julia | ||
using Plots; gr() | ||
Plots.plot(rand(10)) | ||
savefig("statplot.svg"); | ||
``` | ||
|
||
|
||
|
||
|
||
# ![](statplot.svg) | ||
|
||
</textarea> | ||
|
||
<script src="remark.min.js" type="text/javascript"></script> | ||
<script src="katex.min.js"></script> | ||
<script src="auto-render.min.js"></script> | ||
<link rel="stylesheet" href="katex.min.css"> | ||
<script type="text/javascript"> | ||
var options = {}; | ||
var renderMath = function() { | ||
// renderMathInElement(document.body); | ||
// or if you want to use $...$ for math, | ||
renderMathInElement(document.body, {delimiters: [ // mind the order of delimiters(!?) | ||
{left: "$$", right: "$$", display: true}, | ||
{left: "$", right: "$", display: false}, | ||
{left: "\\[", right: "\\]", display: true}, | ||
{left: "\\(", right: "\\)", display: false}, | ||
]}); | ||
} | ||
|
||
var slideshow = remark.create({}, renderMath); | ||
|
||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters