| 1 |
# mohelper |
| 2 |
|
| 3 |
Draw enhanced MO diagrams. See the manual for further information. |
| 4 |
|
| 5 |
## Web Editor |
| 6 |
Access the Web Editor here: |
| 7 |
[https://thevicraft.github.io/modiagram-latex-integration/](https://thevicraft.github.io/modiagram-latex-integration/) |
| 8 |
|
| 9 |
It helps you to create MO diagrams directly in an interactive online editor. It outputs the relevant LaTeX code that you just have to copy into your project. |
| 10 |
|
| 11 |
--- |
| 12 |
|
| 13 |
## Features |
| 14 |
|
| 15 |
* **Interactive Editor:** Design MO diagrams visually without writing hundreds of lines of PGF/TikZ code. |
| 16 |
* **LaTeX Integration:** Generates ready-to-use code blocks compatible with the provided `mohelper` package. |
| 17 |
* **Scientific Accuracy:** Built-in support for Symmetry Groups, Degeneracy, and proper Electron Configuration. |
| 18 |
|
| 19 |
--- |
| 20 |
|
| 21 |
## How to use it: |
| 22 |
|
| 23 |
To use the diagrams generated by this tool in your LaTeX project, follow these steps: |
| 24 |
|
| 25 |
### 1. Include the Package: |
| 26 |
#### From CTAN |
| 27 |
```latex |
| 28 |
\usepackage{mohelper} |
| 29 |
``` |
| 30 |
Include this into your preamble. Note that this might not be the newest version. In case you |
| 31 |
depend on using a newer version go to 2.1.2. |
| 32 |
|
| 33 |
|
| 34 |
#### 2. From Local |
| 35 |
Download the package and include it into your project. |
| 36 |
To do so download the `mohelper.sty` file from |
| 37 |
* [Releases](https://github.com/thevicraft/modiagram-latex-integration/releases) (recommended, stable) |
| 38 |
* [Repository](https://thevicraft.github.io/modiagram-latex-integration/) (only if you know what you are doing) |
| 39 |
|
| 40 |
and paste the file into your project's root directory. |
| 41 |
Ensure you have the `mohelper` package included in your preamble: |
| 42 |
```latex |
| 43 |
\usepackage{mohelper} |
| 44 |
``` |
| 45 |
If you put `mohelper.sty` into a subdirectory, you must specify its path. Therefore, have this example shown: |
| 46 |
```latex |
| 47 |
\usepackage{./lib/mohelper.sty} |
| 48 |
``` |
| 49 |
|
| 50 |
### 3. Configure your Diagram: |
| 51 |
Open the [Web Helper](https://thevicraft.github.io/modiagram-latex-integration/) and set up your orbitals, energies, and labels. |
| 52 |
|
| 53 |
### Copy & Paste: |
| 54 |
Copy the generated LaTeX code and paste it into your `figure` environment or document body. |
| 55 |
|
| 56 |
### 4. |
| 57 |
See the manual for further information. |
| 58 |
|
| 59 |
--- |
| 60 |
|
| 61 |
## License |
| 62 |
Distributed under the GPL-3.0 License. |