hwp_script_to_latex 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -15
- data/lib/hwp_script_to_latex/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89cffc55e97904beefeb4b056ec8ce72df725035
|
4
|
+
data.tar.gz: 6c3870a430a05c4e28df8c1e75435b69e6f1c39f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 783bc126e535b658f0838a45a3613524335083178cf6b462d687fb1d7794f089fc9f3d2202dfc27e0dfe745131103573eae7ffb7dde86713dd9bdb1963818456
|
7
|
+
data.tar.gz: 2d77cc158503fa559299ed6e7a41d5553be2e2302587f9c033a94037572293faeee49c923bff8bf0e6b9feb5af5e1fcc975325b55db004a1471694bf291a531e
|
data/README.md
CHANGED
@@ -1,41 +1,52 @@
|
|
1
1
|
# HwpScriptToLatex
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
아래아 한글의 수식 문법을 LaTeX로 변환합니다.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
|
-
|
7
|
+
Bundler를 사용할 경우 Gemfile에 다음 줄을 추가합니다.
|
10
8
|
|
11
9
|
```ruby
|
12
10
|
gem 'hwp_script_to_latex'
|
13
11
|
```
|
14
12
|
|
15
|
-
|
13
|
+
그리고 다음 명령을 실행합니다.
|
16
14
|
|
17
|
-
|
15
|
+
```bash
|
16
|
+
$ bundle
|
17
|
+
```
|
18
18
|
|
19
|
-
|
19
|
+
혹은 다음 명령으로 직접 젬을 설치할 수 있습니다.
|
20
20
|
|
21
|
-
|
21
|
+
```bash
|
22
|
+
gem install hwp_script_to_latex
|
23
|
+
```
|
22
24
|
|
23
25
|
## Usage
|
24
26
|
|
25
|
-
|
27
|
+
### HWP script to LaTeX
|
26
28
|
|
27
|
-
|
29
|
+
아래아 한글의 수식 문법으로 작성된 수식을 LaTeX 문법으로 변환해주는 기능입니다.
|
28
30
|
|
29
|
-
|
31
|
+
```bash
|
32
|
+
$ script_to_latex -s [script]
|
33
|
+
```
|
30
34
|
|
31
|
-
|
35
|
+
예를 들어 다음과 같이 사용할 수 있습니다.
|
32
36
|
|
33
|
-
|
37
|
+
```bash
|
38
|
+
$ script_to_latex -s "{5} over {x _{3}}"
|
39
|
+
=> \frac {5}{x _{3}}
|
40
|
+
```
|
34
41
|
|
35
|
-
|
42
|
+
mathmode 옵션으로 출력값의 시작과 끝에 `$` 문자를 붙일 수 있습니다.
|
36
43
|
|
44
|
+
```bash
|
45
|
+
$ script_to_latex -s "{5} over {x _{3}}" -m
|
46
|
+
=>$ \frac {5}{x _{3}} $
|
47
|
+
```
|
37
48
|
|
38
49
|
## License
|
39
50
|
|
40
|
-
|
51
|
+
[MIT License](http://opensource.org/licenses/MIT)
|
41
52
|
|