vincentdoerig / latex-css Goto Github PK
View Code? Open in Web Editor NEWLaTeX.css is a CSS library that makes your website look like a LaTeX document
Home Page: https://latex.now.sh
License: MIT License
LaTeX.css is a CSS library that makes your website look like a LaTeX document
Home Page: https://latex.now.sh
License: MIT License
The current heading of the abstract section is a H5
due to text-style concerns, but semantically it should be a H2
.
I've added latex.css to my page and without any other styling, it is quite difficult to read the text - see screenshot below. I tried three displays (2 external, 1 notebook with native resolution), Firefox and Chrome (Windows) - same result. Types are too thin, somehow blurry and too close to each other - however it doesn't seem like kerning was somehow overdone; of course, increasing font-size
helped - but then font is too big obviously.
I'm aware that you are not author of LM font itself - is there any other variant of LM font, or is there any other but similar font? (Or perhaps, could be issue on my device?)
Hi
I am trying to use the style.css locally, but the export results are different.
I copied the content from https://latex.now.sh/style.css in an plain text file and renamed to latex.css but the appearence is quite worse.
Left: <link rel="stylesheet" href="https://latex.now.sh/style.css">
Right: <link rel="stylesheet" type="text/css" href="latex.css" />
This is wonderful. I'm wondering if you would put it as an NPM package sometime soon?
If I look at https://latex.now.sh/, MathJAX is not working for inline TeX
hyphens
and justify
are only applied for paragraphs (for example, proofs in the docs are not justified). This is going to affect also to the sidenotes, depending if they are inside a paragraph.
I'm not sure if this is intentional, but, in this case, you would need to add a paragraph as the first element of a proof environment (if you want the text justified), or you will get a mix of justified/unjustified lines in the same proof.
This is in some way related to the closed PR #56.
Like with table captions, we should also support enumeration for the figcaption
element (Figure x. Caption text).
Can you add the tr.css file for the LaTeX.css file? I tried it myself and could not get authorization. It should be:
:lang(tr) .theorem::before { content: 'Teorem ' counter(theorem) '. ' !important; } :lang(tr) .lemma::before { content: 'Lemma ' counter(theorem) '. ' !important; } :lang(tr) .proof::before { content: 'Kanıt. ' attr(title) !important; } :lang(tr) .definition::before { content: 'Tanım ' counter(definition) '. ' !important; }
It seems margin-top
for h6
tags does not follow the decreasing sequence
Thank you for your hard working. I just wondering is there any intents to support RTL?
Hi,
Thanks for the nice style.
I think it should just draw the border at the end of the table header instead of the every line.
I think these lines draw the border in the table header:
Lines 312 to 314 in 34d7276
tbody already has a top border so I think these can be omitted. Or maybe just made the border be drawn on the last header line.
Best, B
Hi there! I love this template.
The mathjax cdn appears to be broken:
Loading failed for the <script> with source “https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js”. latex.now.sh:377:1
The ISO language code for the Danish language support is wrong. It should be da
but is dk
.
Reference: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Disclaimer: This is a suggestion. It's up to you.
If you're looking for more eyes on your funding stuff, you can move the .github/FUNDING.yml file to your special .github repo to apply it automagically to all your repos! Here's the GitHub page about all the community files that can go in .github repo, .github folder, etc.
Great idea, I love it! However the most important feature of LaTeX is proper typesetting, IOW, variable spaces, etc... Any way this can be implemented? I'm not sure how HTML would really support this. Perhaps that is an upstream browser issue that someone can fix first?
Cheers!
I used this CDNlink on my SPA page and it worked well but for some element used as cards that have box-shadows doesn't comply with the pattern
I'm suggesting that on default CSS properties like box-shadow
should removed
Hello to you all!
This is more of a question than a issue. Is there a possibility to have the sidenotes/marginnotes appear when printing? I have no idea how to enable this.
Thank you very much!
Hi there.
Awesome project, thanks!
Would it be difficult to add support of Russian language?
The fonts are not quite right in Russian for now.
How do i enable dark or light mode based on the user OS color preferences? I read the docs, but i didn't really understand, what do i have to change to enable this feature? I don't mean the toggle button by the way,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.