Free software

About OpticalSetup

Copyright © 2026 Luca Genchi and contributors.

OpticalSetup is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

It is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

The numbers OpticalSetup reports come from models with stated limits; read each component's page in the wiki before relying on one.

If you use OpticalSetup in your research, teaching or publications, please cite the software:

Bertoncini, A., & Genchi, L. (2026). OpticalSetup - the optical workbench software [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23191537

Wiki / Annotations / Text label

Text label

Adds formatted Markdown notes to the canvas, with headings, lists, LaTeX formulas and clickable links.

Open in the canvas →

A live trace, not a picture of one — but this preview is not interactive. Open it in the canvas to move things, change parameters, and save or export your own version.

In the real world

Labels explain component roles, operating conditions, and the assumptions behind a diagram. Keeping interpretation beside the relevant hardware helps readers distinguish measured parameters from illustrative choices.

In OpticalSetup

Place a text label and double-click it, press Enter when selected, or use Edit text to edit on the canvas. Markdown supports headings, lists, emphasis, and code; web and DOI addresses become clickable links. The font-size and color controls set its base appearance.

Formulas use LaTeX between dollar signs: $\lambda/2$ sits in the line, and a formula alone on its line between double dollar signs, $$\frac{1}{f} = \frac{1}{s} + \frac{1}{s'}$$, is centered with full-size fractions. Greek letters, common symbols and operators, sub- and superscripts, \frac, \sqrt, accents such as \vec and \hat, and \text are supported. Formulas stay ordinary SVG text, so they export with the figure; a price such as $5 stays plain text, and \$ writes a literal dollar sign.

The example demonstrates several formatting styles. Keep a short explanation beside the setup and use a link for longer background material. Text grows from its left anchor, while resizing changes the base font size.

Simplified vs. reality

Text is diagram-only and never changes traced rays or scene parameters. Writing a wavelength, efficiency, or model claim in a label does not configure the corresponding optical element.

Formula support is a subset of LaTeX laid out without a TeX engine: matrices and environments, stretchy delimiters, and limits above and below a sum are not drawn, and an unsupported command stays visible as typed. Formulas use the system serif fonts, so their exact shapes depend on the fonts installed where the figure is viewed.

Related components