Commit graph

460 commits

Author SHA1 Message Date
TonyCrane
19778e405a
some cleanups 2022-01-26 19:55:47 +08:00
TonyCrane
833e40c2d4
fix default style 2022-01-26 19:50:27 +08:00
TonyCrane
9df53b8a18
fix the bug of M command with more than 2 args 2022-01-26 14:05:01 +08:00
TonyCrane
ff86b0e378
fix the bug of outdated relative_point after command Z 2022-01-26 13:56:42 +08:00
TonyCrane
92adcd75d4
add style support to svg 2022-01-26 13:53:53 +08:00
YishiMichael
e8205a5049 Some refactors for MTex 2022-01-26 13:03:14 +08:00
TonyCrane
6c8dd14adc
some clean 2022-01-26 11:00:57 +08:00
Grant Sanderson
07f84e2676
Merge pull request #1712 from 3b1b/fix-svg
Improve handling of SVG transform and Some refactors
2022-01-25 13:26:40 -08:00
TonyCrane
8db1164ece
some refactors 2022-01-25 21:48:04 +08:00
TonyCrane
790bf0a104
fix typo 2022-01-25 20:25:30 +08:00
TonyCrane
8205edcc4c
fix a small bug 2022-01-25 20:13:20 +08:00
TonyCrane
05b3c9852e
fix add_smooth_cubic_curve_to when have only one point 2022-01-25 20:06:00 +08:00
TonyCrane
925f2e123f
add comments 2022-01-25 19:54:19 +08:00
TonyCrane
565763a2ff
reconstruct path parser 2022-01-25 19:44:42 +08:00
TonyCrane
6a74c241b8
fix bug of node which is not an element 2022-01-25 16:28:23 +08:00
TonyCrane
416cc8e6d5
add warning for unsupported element type 2022-01-25 14:41:11 +08:00
TonyCrane
d694aed452
add support for skewX and skewY transform 2022-01-25 14:40:02 +08:00
TonyCrane
11379283aa
add support for rotate transform 2022-01-25 14:29:47 +08:00
TonyCrane
dd13559b11
replace warnings.warn with log.warning 2022-01-25 14:09:05 +08:00
TonyCrane
f4eb2724c5
refactor SVGMobject.handle_transforms 2022-01-25 14:04:35 +08:00
TonyCrane
33f720c73a
fix typo 2022-01-25 13:15:53 +08:00
TonyCrane
bbb4fa155c
fix the depth of svg tag 2022-01-25 13:14:19 +08:00
Bill Xi
24e3caa072
fix no "import copy" bug
added import copy
2022-01-03 16:49:00 +08:00
Bill Xi
9efd02c500
Remove spelling mistake
I misspelled "label"
2022-01-03 16:37:26 +08:00
Bill Xi
0a318486c5
Adding "lable_buff" config parameter for Brace 2022-01-03 14:57:16 +08:00
Grant Sanderson
f1996f8479 Small hack for the lightbulb, needs to be fixed properly later 2021-12-21 10:58:33 -08:00
Michael W
0de303d5e0
Some refactors
- Split out `_TexParser` class
- Replace `math_mode` parameter with `tex_environment`
- Fix the bug that braces following even number of backslashes aren't matched
2021-12-13 21:01:27 +08:00
Michael W
155839bde9
Add unbreakable_commands parameter 2021-12-13 12:46:29 +08:00
Michael W
6821a7c20e
Handle empty strings 2021-12-07 14:12:08 +08:00
Michael W
00f72da493
Some small refactor 2021-12-07 13:17:48 +08:00
Michael W
744916507c
Add a debugging method 2021-12-07 12:55:52 +08:00
Michael W
88d863c1d7
Support get_tex() for submobjects of MTex 2021-12-07 00:34:07 +08:00
Michael W
4631508b7d
Add get_tex() method 2021-12-06 13:48:17 +08:00
Michael W
8803088121
Fix bugs concerned with child environments 2021-12-06 09:44:59 +08:00
Michael W
1d466cb299
Add Exception for indices_of_part() 2021-12-05 22:17:09 +08:00
Michael W
17d31045b2
Add TransformMatchingMTex 2021-12-05 11:45:42 +08:00
Michael W
950466c1da
Some refactors 2021-12-05 10:21:55 +08:00
Michael W
62151e52f1
Merge branch '3b1b:master' into master 2021-12-01 08:42:17 +08:00
Michael W
8b1715379d
Some small refactors 2021-11-29 09:48:00 +08:00
Michael W
2501fac32f
Some small refactors 2021-11-29 09:38:48 +08:00
Michael W
1aec0462ec
Some small refactors 2021-11-29 01:43:48 +08:00
Michael W
83c70a59d8
Sort superscripts and subscripts in submobjects 2021-11-29 01:15:38 +08:00
Michael W
758f2ec236
Some small refactor 2021-11-28 23:38:12 +08:00
Michael W
e8ebfa312b
Prevent infinite loops from unexpected inputs 2021-11-28 13:26:54 +08:00
Michael W
dae24891fa
Add get_all_isolated_substrings method 2021-11-28 13:03:33 +08:00
Michael W
a4f9de1ca1
Fix bugs concerned with coloring 2021-11-28 12:14:29 +08:00
Michael W
697028cd4c
Add slicing and indexing methods 2021-11-27 23:07:46 +08:00
Michael W
c84acc0023
Remove disabled methods 2021-11-27 19:53:52 +08:00
Michael W
13a5f6d6ff
Add MTex 2021-11-27 16:19:01 +08:00
Michael W
e3f87d835b
Recover files 2021-11-27 16:17:22 +08:00