File: bohr.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (30 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# bohr package
# Matthew Bertucci 9/19/2021 for v1.0

#include:tikz
#include:pgfopts
#include:elements

\bohr{num of electrons}{atom name}
\bohr[num of shells]{num of electrons}{atom name}

\setbohr{options%keyvals}

#keyvals:\setbohr
insert-symbol#true,false
insert-number#true,false
insert-missing#true,false
atom-style={%<code%>}
name-options-set={%<tikz-options%>}
name-options-add={%<tikz-options%>}
nucleus-options-set={%<tikz-options%>}
nucleus-options-add={%<tikz-options%>}
nucleus-radius=##L
electron-options-set={%<tikz-options%>}
electron-options-add={%<tikz-options%>}
electron-radius=##L
shell-options-set={%<tikz-options%>}
shell-options-add={%<tikz-options%>}
shell-dist=##L
distribution-method=#periodic,quantum
#endkeyvals