latex-css/lang/es.css
vihuna f552746a10
feat: add CSS counter for figure captions (#72)
* feat: add CSS counter for figure captions

* Add translations for figure captions prefix

Added translations for Czech, Danish, German, Spanish, French and
Italian, from their respective `babel-<lang>` LaTeX packages.
2024-09-21 08:14:16 +02:00

12 lines
649 B
CSS
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:lang(es) .theorem::before { content: 'Teorema ' counter(theorem) '. ' !important; }
:lang(es) .lemma::before { content: 'Lema ' counter(theorem) '. ' !important; }
:lang(es) .proof::before { content: 'Demostración.' attr(title) !important; }
:lang(es) .definition::before { content: 'Definición ' counter(definition) '. ' !important; }
:lang(es) caption::before { content: 'Tabla ' counter(caption) '. ' !important; }
:lang(es) figcaption::before { content: 'Figura ' counter(figcaption) '. ' !important; }
:lang(es) .indent-pars h2 + p,
:lang(es) .indent-pars h3 + p,
:lang(es) .indent-pars h4 + p {
text-indent: var(--text-indent-size);
}