Merge pull request #40 from mbrukman/fix-readme

Fix spelling and formatting in README [skip ci]
This commit is contained in:
Haris Iqbal
2019-07-30 11:20:25 +02:00
committed by GitHub
+15 -6
View File
@@ -26,20 +26,26 @@ Base on this [website](https://gist.github.com/rain1024/98dd5e2c6c8c28f9ea9d), p
## TODO
- [X] Python interfaz
- [X] Python interface
- [ ] Add easy legend functionality
- [ ] Add more layer shapes like TruncatedPyramid, 2DSheet etc
- [ ] Add examples for RNN and likes.
## Latex Usage
see examples
## Latex usage
## PyUsage
See [`examples`](examples) directory for usage.
mkdir my_project
cd my_project
## Python usage
First, create a new directory and a new Python file:
$ mkdir my_project
$ cd my_project
vim my_arch.py
Add the following code to your new file:
```python
import sys
sys.path.append('../')
from pycore.tikzeng import *
@@ -65,6 +71,9 @@ Base on this [website](https://gist.github.com/rain1024/98dd5e2c6c8c28f9ea9d), p
if __name__ == '__main__':
main()
```
Now, run the program as follows:
bash ../tikzmake.sh my_arch