Questions tagged [css]
Cascading Style Sheets
45 questions
0
votes
1
answer
152
views
Best way to render LaTeX to image with selectable html/css text on top?
Incentive: Format that would be readable unchanged both for humans (with great quality) and machines a long time into the future.
Recently I stumbled upon this page https://www.maxai.co/pdf-tools/pdf-...
8
votes
3
answers
223
views
ConTeXt: How do I enable the "default" font features of a given font?
I'm currently trying to use Playwrite England Joined with ConTeXt, but as OpenType features are not enabled by default, I need to turn on features manually.
This code is a minimal example extracted ...
1
vote
1
answer
56
views
Specify font-family in tex4ht generated css file
My latex document is using the newtx font packages which is causing tex4ht to generate the following css classes in the generated article.css file:
/* start css.sty */
.ntx-Regular-tlf-t1-x-x-120{ ...
2
votes
1
answer
85
views
make4ht with css styles. Remove margins
I have this Questions\285.tex file:
\documentclass{article}
\begin{document}
Something in this document. This paragraph contains no information and its purposes is to provide an \textbf{example} on ...
1
vote
0
answers
282
views
Use html inside Latex
I'm having a html and css code of a figure, and wanna insert this code inside the latex file such that when i compile the document it show me the figure.
0
votes
1
answer
78
views
Framed boxes with borders that take up no space (like the effect of `outline` CSS property)
I would like to make some simple schemas using stacked or overlapping framed boxes with content. I could almost use a table instead, but I do not see how to do some of the "overlaps" in a ...
0
votes
0
answers
58
views
Changing hyperlink styles in a footer or other document part
Is there a way to change the hyperlink styles from package hyperref in different parts of the document?
I might want a different style in footers, or in the text of subsubsections, than the rest of ...
3
votes
3
answers
964
views
"Move to front" and "move to back", z-index or suchlike in Beamer
TL;DR: I want LaTeX Beamer to lay out elements in a frame exactly as usual, but give me the final say about the order in which overlapping elements occlude each other.
Some context
In CSS, the z-...
2
votes
1
answer
1k
views
Text in svg is not wrapping around a box
I am trying to include an sag image in Latex like the following.
\begin{figure}[H]
\centering
\includesvg[inkscapelatex=false, width=0.7\pdfpagewidth]{figure.svg}
\end{figure}
<?xml version=&...
1
vote
1
answer
243
views
How to get margins on dynamically inserted page breaks within a figure of a tex4ht ebook
Summary
I'm creating an ebook using LaTeX and tex4ht. I have certain text that I want to treat as a figure. Sometimes, this text spans multiple pages. When that happens, the dynamically inserted page ...
1
vote
0
answers
163
views
Add style to pseudo-class keywords in CSS with listings
Problem:
Adding specific color to pseudo-class keywords in CSS using listings. For example, the pseudo-classes :link, :visited, etc should be colored differently.
Minimal Working Example (MWE):
\...
2
votes
1
answer
137
views
Creating new single line classes in ODT output from mk4ht oolatex
I've been trying to follow a tutorial here: github.com/michal-h21/helpers4ht/wiki/tex4ht-tutorial
My MWE files below produce a valid output with the text from the command, but I was expecting the ...
1
vote
0
answers
61
views
Apply specific color to !important in CSS using listings
Problem:
I wish to apply a gray color to !important in CSS when using listings. I have managed to modify so that the color is different after : but how can I modify the code below so only !important ...
2
votes
0
answers
44
views
Emphasize the under bar of spell checker
I want to emphasize the under-bars of spell checking since it is slightly hard for me to find. For example more bigger line width.
Using css file, I want to change its style for Tex-works.
3
votes
2
answers
1k
views
make4ht - provide multiple configuration files
In post How can I override tex4ht's CSS in a single .css file? the proposed solution requires to add a configuration file (namely sample.cfg). So, if I have sample.tex I may add sample.cfg.
However, ...