4
4
#+title: doom org style
5
5
#+subtitle: A vairty of template about org mode code which one referenced the doom doc style
6
6
#+author: vanniuner
7
- #+OPTIONS: prop:nil timestamp:nil \n:t ^:nil f:t toc:t author:t num:t H:2
7
+ #+OPTIONS: prop:nil timestamp:nil \n:t ^:nil f:t toc:t author:nil num:t H:2
8
8
#+HTML_HEAD: <script src="http://code.jquery.com/jquery-2.0.0.min.js"></script>
9
9
10
10
# #+HTML_HEAD: <script src="https://emacs-1308440781.cos.ap-chengdu.myqcloud.com/scroll.js"></script>
14
14
#+LATEX_COMPILER: xelatex
15
15
#+LATEX_CLASS: elegantpaper
16
16
#+HTML_HEAD: <a href="https://github.com/vanniuner/doom-org-style" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#70B7FD; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
17
+
17
18
#+begin_quote
18
19
样式引用:https://docs.doomemacs.org/latest/#/modules
19
20
#+end_quote
@@ -170,12 +171,6 @@ The expression which at the right of equation , @# stands for the row number of
170
171
#+end_src
171
172
~C-c~ ~C-c~ to execute it
172
173
* LaTex 公式
173
- #+begin_src txt
174
- $\mbox{需求的价格弹性系数} = \frac{\mbox{需求的变动率}}{\mbox{价格的变动率}}$
175
- #+end_src
176
-
177
- $$\mbox{需求的价格弹性系数} = \frac{\mbox{需求的变动率}}{\mbox{价格的变动率}}$$
178
-
179
174
#+CAPTION: laTex 公式
180
175
$$\begin{aligned}
181
176
\cos 3\theta & = \cos (2 \theta + \theta) \\
@@ -544,7 +539,6 @@ use ~org-plot/gnuplot~ for generate.
544
539
** WHAT IS CONNECTOR
545
540
#+begin_src ds2 :file test.svg
546
541
direction: right
547
- style.fill : transparent
548
542
platform : BPM
549
543
550
544
platform -> RocketMq: invoke {
@@ -590,7 +584,6 @@ DataBase -> System : belong{
590
584
#+end_src
591
585
592
586
#+RESULTS:
593
- [[file:test.svg]]
594
587
** d2 workflow
595
588
#+begin_src d2 :file devflow.svg
596
589
direction: right
@@ -710,6 +703,172 @@ DataBase -> System : belong{
710
703
style.stroke-width: 3
711
704
}
712
705
#+end_src
706
+ ** d2 6.2
707
+ #+begin_src d2 :file demov6.2.png
708
+ grid-rows: 4
709
+ grid-columns: 5
710
+ horizontal-gap: 20
711
+ vertical-gap: 5
712
+
713
+ *.class: [text; blue]
714
+
715
+ 0,0: {
716
+ label: "npm i -g\n@forge/cli"
717
+ style: {
718
+ fill: "#30304c"
719
+ stroke: transparent
720
+ font-color: white
721
+ font: mono
722
+ font-size: 10
723
+ bold: false
724
+ }
725
+ }
726
+ 0,1: {
727
+ label: "Set up an\nAtlassian site"
728
+ class: [text; gray]
729
+ }
730
+ 0,2.class: empty
731
+ 0,3: {
732
+ label: "View the hello\nworld app"
733
+ class: [text; gray]
734
+ }
735
+ 0,4: forge\ntunnel
736
+
737
+ 1*.class: note
738
+ 1*.label: ""
739
+ 1,0
740
+ 1,1
741
+ 1,2
742
+ 1,3
743
+ 1,4
744
+
745
+ 2,0: forge\nlogin
746
+ 2,1: forge\ncreate
747
+ 2,2: forge\ndeploy
748
+ 2,3: forge\ninstall
749
+ 2,4: {
750
+ shape: diamond
751
+ label: "Hot reload\nchanges?"
752
+ class: [text; gray]
753
+ }
754
+
755
+ 3*.class: note
756
+ 3,0: Step 1
757
+ 3,1: Step 2
758
+ 3,2: Step 3
759
+ 3,3: Step 4
760
+ 3,4: ""
761
+
762
+ 4,0: "" {
763
+ grid-rows: 3
764
+ grid-columns: 1
765
+ grid-gap: 0
766
+
767
+ class: []
768
+
769
+ style: {
770
+ fill: transparent
771
+ stroke: transparent
772
+ }
773
+
774
+ *.style: {
775
+ fill: transparent
776
+ stroke: transparent
777
+ font-color: "#30304c"
778
+ font-size: 10
779
+ bold: false
780
+ }
781
+ *.label.near: center-left
782
+ *.height: 20
783
+ a: ⬤ Forge CLI {
784
+ style.font-color: "#0033cc"
785
+ }
786
+
787
+ b: ⬤ Required {
788
+ style.font-color: "#30304c"
789
+ }
790
+ c: ⬤ Optional {
791
+ style.font-color: "#cecece"
792
+ }
793
+ }
794
+ 4,1.class: empty
795
+ 4,2.class: empty
796
+ 4,3.class: empty
797
+ 4,4: forge\ndeploy
798
+
799
+ 0,0 -> 2,0 -> 2,1 -> 2,2 -> 2,3 -> 2,4: {
800
+ class: arrow
801
+ }
802
+ 2,1 -> 0,1: {
803
+ class: arrow
804
+ style.stroke: "#cecece"
805
+ }
806
+ 2,3 -> 0,3: {
807
+ class: arrow
808
+ style.stroke: "#cecece"
809
+ }
810
+ 2,4 -> 0,4: Yes {
811
+ class: arrow
812
+ style.font-size: 10
813
+ }
814
+ 2,4 -> 4,4: No {
815
+ class: arrow
816
+ style.font-size: 10
817
+ }
818
+
819
+ classes: {
820
+ text.style: {
821
+ stroke: transparent
822
+ font-color: white
823
+ font: mono
824
+ font-size: 10
825
+ bold: false
826
+ }
827
+ text: {
828
+ width: 100
829
+ height: 60
830
+ }
831
+ blue.style: {
832
+ fill: "#0033cc"
833
+ stroke: "#0033cc"
834
+ border-radius: 10
835
+ }
836
+ gray.style: {
837
+ fill: "#cecece"
838
+ stroke: "#cecece"
839
+ border-radius: 10
840
+ }
841
+ note: {
842
+ height: 30
843
+ label.near: top-center
844
+ style: {
845
+ font-size: 10
846
+ bold: false
847
+ fill: transparent
848
+ stroke: transparent
849
+ }
850
+ }
851
+ empty: {
852
+ label: ""
853
+ width: 50
854
+ height: 50
855
+ style: {
856
+ fill: transparent
857
+ stroke: transparent
858
+ }
859
+ }
860
+ arrow: {
861
+ target-arrowhead.shape: arrow
862
+ style: {
863
+ stroke: black
864
+ stroke-width: 2
865
+ }
866
+ }
867
+ }
868
+ #+end_src
869
+ #+RESULTS:
870
+ [[file:demov6.2.png]]
871
+
713
872
* org 转 Word
714
873
#+begin_src shell
715
874
pandoc -o ~/Desktop/out.docx ~/.doom.d/README.org
@@ -725,3 +884,15 @@ Use unicode character could express of what you think more directly,cause an ima
725
884
Here are some unicode website of listing those character,✌
726
885
- https://unicode.yunser.com/common
727
886
- https://cn.piliapp.com/symbol/
887
+
888
+ * a
889
+ - [X] Add list feature
890
+ - [ ] copy to clipboard
891
+ #+CAPTION[Short caption]: square
892
+ |---+-----+-----+-----+-----------+------------|
893
+ | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
894
+ |---+-----+-----+-----+-----------+------------|
895
+ | 1 | 1 | 1 | 1 | 1 | 1 |
896
+ | 2 | 4 | 8 | 16 | 1.4142136 | 1.1892071 |
897
+ | 3 | 9 | 27 | 81 | 1.7320508 | 1.3160740 |
898
+ |---+-----+-----+-----+-----------+------------|
0 commit comments