Skip to content

Commit

Permalink
added numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrzs committed May 30, 2017
1 parent f48a76a commit 1f63b11
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
9 changes: 5 additions & 4 deletions README.md
Expand Up @@ -13,6 +13,11 @@ Just open your html file and add the following to your document head:
(Of course you still need to download the latex.css file and place it in the same directory)
The whole document should now look similar to [ this example ](https://davidrzs.github.io/latexcss/example.html) .

## Examples

1. [The project website](https://davidrzs.github.io/latexcss/)
2. [A text example](https://davidrzs.github.io/latexcss/example.html)
3. [A math example](https://davidrzs.github.io/latexcss/math_example.html)

## Theorems, Definitions and Proofs
Theorems, Definitions, Remarks and Proofs are supported. Just wrap your content in a `div` and add the corresponding class to the `div` like in the following example.
Expand All @@ -24,10 +29,6 @@ Theorems, Definitions, Remarks and Proofs are supported. Just wrap your content
<div class="proof">...</div>
```

An example would look like this:
![latex environments in html and css](https://raw.githubusercontent.com/davidrzs/latexcss/master/example/envs.PNG)


### Numbered vs Not-numbered
There are two latex.css files in this repository.
1. latex.css -> This is the normal one and numbers the theorems etc.
Expand Down
15 changes: 10 additions & 5 deletions latex.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1f63b11

Please sign in to comment.