Apariencia
Desde la 1.30.0 ComdTeX usa una paleta de pizarra y tiza, la misma de este sitio, con fuentes incluidas y un solo conjunto de íconos, así que se ve igual en cualquier máquina y no depende de lo que tengas instalado. Desde la 1.32.0 también puedes elegir tú las tipografías (ver Tipografía).
Temas
Elige el tema en Configuración → General → Tema. Se aplica al instante, sin reiniciar.
| Tema | Cómo se ve |
|---|---|
| Oscuro | Pizarra. Es el predeterminado. |
| Claro (papel) | Papel crema con tinta de pizarra |
| Alto contraste | Negro, blanco y amarillo |
Los tres temas pasan las comprobaciones de contraste WCAG para texto, enlaces, callouts y cajas de teoremas, y muestran el mismo anillo de foco de teclado. El editor usa la JetBrains Mono incluida. Los diagramas Mermaid se colorean con el mismo tema y se redibujan al cambiar, y todos los íconos de la interfaz salen de un solo conjunto monocromo (Lucide) en lugar de una mezcla de emoji y glifos.
El tema de la vista previa
Por defecto la vista previa sigue al editor. Configuración → Vista previa → Tema de vista previa te permite mantenerla clara mientras el editor está oscuro, útil cuando quieres ver la página como se imprimirá.
Estilo del documento: paper o sans
La vista previa se compone como un artículo: Libertinus Serif con una medida de unos 68 caracteres, teoremas al estilo amsthm (etiqueta en negrita en línea, enunciado en cursiva, “Demostración.” con una lápida), tablas al estilo booktabs con el pie arriba y un bloque de título con resumen. Imprimir la vista previa sigue el mismo diseño.
Si prefieres la tipografía de la interfaz, cambia Configuración → Vista previa → Estilo del documento a Sans: el mismo espaciado y estructura con una cara sans en lugar de la serif. El valor por defecto es Paper (serif).
Para cualquier otra cosa, un archivo custom.css en la raíz del vault se aplica a la vista previa (ver Tu primer vault).
Tipografía
Desde la 1.32.0 hay tres ajustes para elegir las tipografías, uno por superficie:
| Ajuste | Dónde | Qué cambia |
|---|---|---|
| Tipografía de la interfaz | Configuración → General | Menús, paneles y diálogos |
| Tipografía del editor | Configuración → Editor | El texto que escribes |
| Tipografía de la vista previa | Configuración → Vista previa | El documento renderizado |
Cada selector empieza con Predeterminada, el aspecto actual, así que nada cambia hasta que elijas. Después vienen tipografías sugeridas (Inter, Noto Sans y Source Sans para la interfaz; JetBrains Mono, Fira Code, Cascadia Code y Source Code Pro para el editor; Libertinus, Latin Modern, EB Garamond, Source Serif, Georgia y Palatino para la vista previa) y, en la app de escritorio, todas las fuentes instaladas en tu sistema. La lista del editor muestra solo fuentes monoespaciadas, para que columnas y tablas sigan alineadas. Una línea de muestra bajo cada selector enseña la elección antes de cerrar el diálogo.
No se descarga nada. Una tipografía sugerida que no tengas usa otra parecida, así que instala la fuente primero si quieres esa cara exacta. Una tipografía de vista previa reemplaza la que fija Estilo del documento; elige Predeterminada para volver a ella.
Páginas del PDF en oscuro
El PDF compilado se mantiene claro en todos los temas: las páginas son lo que imprimirías. Si quieres que el panel del PDF combine con un tema oscuro, activa Configuración → PDF → Páginas del PDF en oscuro. Invierte los colores de la vista previa del PDF en el tema oscuro. Está desactivado por defecto porque la inversión repinta cada página al desplazar y al hacer zoom, así que es más lenta en documentos largos. Solo cambia cómo se muestra el panel; el PDF en sí no se modifica.
Colapsar la barra lateral
Al colapsar la barra lateral queda una franja delgada con un botón para recuperarla, y cada panel se abre con el mismo encabezado (título y contador) y el mismo estilo de lista.
Appearance
Since 1.30.0 ComdTeX uses a slate and chalk palette, the same one as this site, with bundled fonts and one icon set, so it looks the same on every machine and does not depend on what is installed. Since 1.32.0 you can also choose the typefaces yourself (see Typography).
Themes
Choose the theme in Settings → General → Theme. It applies at once, without a restart.
| Theme | What it looks like |
|---|---|
| Dark | Slate. The default. |
| Light (paper) | Cream paper with slate ink |
| High contrast | Black, white and yellow |
All three themes pass WCAG contrast checks for text, links, callouts and theorem boxes, and show the same keyboard focus ring. The editor uses the bundled JetBrains Mono. Mermaid diagrams are coloured from the same theme and redraw when you switch, and every icon in the interface comes from one monochrome set (Lucide) instead of a mix of emoji and glyphs.
The preview theme
By default the preview follows the editor. Settings → Preview → Preview theme lets you keep it light while the editor is dark, which is handy when you want to see the page as it will print.
Document style: paper or sans
The preview is typeset like a paper: Libertinus Serif at a measure of about 68 characters, theorems in the amsthm style (bold run-in label, italic statement, “Proof.” with a tombstone), booktabs-style tables with the caption above, and a title block with an abstract. Printing the preview follows the same layout.
If you prefer the interface typeface, switch Settings → Preview → Document style to Sans: the same spacing and structure with a sans face instead of the serif. The default is Paper (serif).
For anything beyond that, a custom.css file in the vault root is applied to the preview (see Your first vault).
Typography
Since 1.32.0 three settings choose the typefaces, one per surface:
| Setting | Where | What it changes |
|---|---|---|
| Interface typeface | Settings → General | Menus, panels and dialogs |
| Editor typeface | Settings → Editor | The text you type |
| Preview typeface | Settings → Preview | The rendered document |
Each picker starts with Default, the current look, so nothing changes until you choose. Then come suggested typefaces (Inter, Noto Sans and Source Sans for the interface; JetBrains Mono, Fira Code, Cascadia Code and Source Code Pro for the editor; Libertinus, Latin Modern, EB Garamond, Source Serif, Georgia and Palatino for the preview), and in the desktop app every font installed on your system. The editor list shows only monospace fonts, so columns and tables stay aligned. A sample line under each picker shows the choice before you close the dialog.
Nothing is downloaded. A suggested typeface you do not have falls back to a similar one, so install the font first if you want that exact face. A preview typeface replaces the one set by Document style; choose Default to go back to it.
Dark PDF pages
The compiled PDF stays light in every theme: pages are what you would print. If you want the PDF pane to match a dark theme, turn on Settings → PDF → Dark PDF pages. It inverts the colours of the PDF preview in the dark theme. It is off by default because the inversion repaints every page on scroll and zoom, so it is slower on long documents. It only changes how the pane is shown; the PDF itself is not modified.
Collapsing the sidebar
Collapsing the sidebar leaves a slim rail with a button to bring it back, and every panel opens with the same header (title and count) and the same list style.