mirror of
https://github.com/vincentdoerig/latex-css.git
synced 2024-10-05 16:57:17 +03:00
f552746a10
* 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.
12 lines
649 B
CSS
12 lines
649 B
CSS
: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);
|
||
}
|