-
Notifications
You must be signed in to change notification settings - Fork 10
/
phys1.js
127 lines (110 loc) · 3.55 KB
/
phys1.js
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
// Stuff, that I've just copied!
MathJax.Hub.Config({
Arabic: {
dict: {
// omarDoesNotKnowIt
"EKAr": ["ek", 'Text', ['e', 'انتشار،ك']],
"EspsilonRAr": ["er", 'TeX', ['\\epsilon{}r', '\\fliph{\\epsilon{}r}']],
"CurrentDensityAr": ["J", 'Symbols', ['J', 'ك.ت']],
"FillFactorAr": ["FF", 'Symbols', ['FF', 'ع.ت']],
"OpenCircuitAr": ["oc", 'Symbols', ['oc', 'م']],
"SpreadCoefficientAr": ["D", 'Symbols', ['D', 'م']],
"RadiationAr": ["rad", 'Symbols', ['l', 'ع']],
"TemratureAr": ["Tmpr", 'Symbols', ['T', 'د']],
"ConcentrationReceiverAtomAr": ["NA", 'Symbols', ['NA', 'ن_ق']],
"ConcentrationDonorAtomAr": ["ND", 'Symbols', ['ND', 'ن_م']],
"ConcentrationCarierPureAr": ["nii", 'Symbols', ['ni', 'ن_ك']],
"DeplationAreaWidthAr": ["Wd", 'Symbols', ['W', 'ل_ن']],
"ElectronsMotionConstantAr": ["mue", 'TeX', ['\\mu{}e', '\\fliph{\\mu{}e}']],
"DiffusionElectronsAr": ["diffe", 'Symbols', ['\\text{diff},e', 'ن\\ ك']]
}
}
});
// Physics Names
MathJax.Hub.Config({
Arabic: {
dict: {
"AirMassAr": ["AM", 'Text', ['AM', 'كتلة هواء']],
"ShortCircuitAr": ["sc", 'Symbols', ['sc', 'ق']],
"PhotovoltaicEnergyAr": ["P", 'Symbols', ['P', 'ط']],
"INAr": ["inn", 'Symbols', ['in', 'د']],
"DiffusionLengthAr": ["Ld", 'Symbols', ['L_d', 'ل_ر']],
"CurrentAr": ["current", 'Symbols', ['I', 'ت']],
"VoltageAr": ["V", 'Symbols', ['V', 'جـ']]
}
}
});
// Physics Constants
MathJax.Hub.Config({
Arabic: {
dict: {
"LightSpeedAr": ["lspeed", 'Text', ['c', 'سرعة الضوء']],
"PlancksAr": ["Plancks", 'Text', ['\\hbar', 'ثابت بلانك']],
"BoltzmannsAr": ["Boltzmanns", 'Text', ['k', 'ثابت بولتزمان']],
"EpsilonZeroAr": ["epsilonzero", 'TeX', ['\\varepsilon_\\zero', '\\fliph{\\varepsilon_\\zero}']]
}
}
});
// Chemistry Units
MathJax.Hub.Config({
Arabic: {
dict: {
"PHAr": ["ph", 'Text', ['ph', 'ف']],
"ElectronAr": ["elctrn", 'Text', ['n', 'الكترون']]
}
}
});
// Other Physics Units
MathJax.Hub.Config({
Arabic: {
dict: {
"SecondsAr": ["scnd", 'Text', ['s', 'ث']],
"HourAr": ["hour", 'Text', ['h', 'ساعة']],
"DayAr": ["day", 'Text', ['\\text{day}', 'يوم']],
"YearAr": ["year", 'Text', ['\\text{year}', 'سنة']],
"AmpAr": ["Amp", 'Text', ['A', 'امبير']],
"VoltAr": ["volt", 'Text', ['v', 'فولت']],
"KilvenAr": ["Klvn", 'Text', ['K', 'كلفن']],
"HoleAr": ["hole", 'Text', ['p', 'ثقب']],
"WattAr": ["Watt", 'Text', ['W', 'واط']],
"FaradAr": ["F", 'Text', ['F', 'فاراد']],
"CentimeterAr": ["cm", 'Text', ['\\text{cm}', 'سم']],
"GramAr": ["grm", 'Text', ['g', 'غرام']]
}
}
});
// Misc
MathJax.Hub.Config({
Arabic: {
dict: {
"MaxAr": ["max", 'Text', ['p', 'اقصى']]
}
}
});
// Amplifiers
MathJax.Hub.Config({
Arabic: {
dict: {
"MegaAr": ["Mega", 'Text', ['M', 'ميجا']],
"NanoAr": ["nano", 'Text', ['n', 'نانو']],
"GigaAr": ["Giga", 'Text', ['G', 'جيجا']],
"TeraAr": ["Tera", 'Text', ['T', 'تيرا']],
"KiloAr": ["kilo", 'Text', ['k', 'كيلو']],
"MicroAr": ["micro", 'Text', ['\\mu', 'مايكرو']]
}
}
});
MathJax.Hub.Config({
Arabic: {
identifiersMap: {
// Math functions
// Energy
'E': 'ط',
// Meter
'm': 'م',
// Initial charge
'q': 'ش'
}
}
});
MathJax.Ajax.loadComplete("[Test]/phys1.js");