All Questions
219
questions
0
votes
1
answer
29
views
Using google colab markdown How to display squiggly lines under text
Google colab markdown supports both html as well as latex. I want to display squiggly lines under some text using colab markdown but it's not rendering the squiggly lines.
Latex:
\uwave{This text is ...
0
votes
0
answers
28
views
\mathcal{P} will show in preview but not the knitted html file of an .Rmd file (R markdown)
\mathcal{P} will show in preview but not the knitted html file of an .Rmd file (R markdown). Here's the code:
---
title: "xxx"
author: "yyy"
date: "2024-zz-ww"
output: ...
0
votes
0
answers
102
views
How to align text at the top and left in a quarto div container?
I'm trying to create a Quarto pdf document with a grid layout of three rows and two columns. In the top left div container, I want to have text (a list of bullet points) and in the other five ...
0
votes
0
answers
27
views
Get text along with `.children` in texSoup
I'm writing a Python program that'll convert LaTeX documents to HTML documents. I'm using the tex-soup package. Here's what I've currently got:
import argparse
from TexSoup import TexSoup
class ...
-1
votes
2
answers
335
views
Taking Screenshots from Stackoverflow using R
I am working with the R programming language.
Suppose I take the answer from this stackoverflow post (from u/Michael Hardy): https://math.stackexchange.com/a/62963/1296713
Using R and the hyperlink (i....
0
votes
0
answers
242
views
Streamlit Markdown html styling with latex
I am trying to use streamlit's markdown writing element with a custom css class and a latex command that acts as a "tab" (four spaces). In this example I am using hspace.
Streamlit's ...
0
votes
0
answers
42
views
How to create HTML links inside a LaTeX block
I'm pretty deep into a yak shaving project and thought it was time to involve a broader audience. I am writing documentation and want to have highlighted text (regular serifed text with yellow ...
1
vote
1
answer
52
views
How do I get latex styling in a html page I view offline?
I copied the following page (which contains math notation) from the web:
https://brilliant.org/wiki/sphere-packing/
It contains notation such as: \(\left(\frac{1}{2},\frac{\sqrt{3}}{2}\right)\)
If I ...
0
votes
1
answer
306
views
Javascript: convert <textarea> with markdown + latex formatting to html
Essentially I'm trying to create an input area that allows the user to enter markdown as well as latex (using $..$ and $$..$$), very similar to what you can do in an R notebook. As the user enters ...
0
votes
0
answers
74
views
plus minus sign inside the gt() function when rendering to PDF
`reliabilitet2 |> gt() |> fmt_number(decimals = 2) |> cols_merge(columns = c(m, s),
pattern = "{1} `±` {2}")`
This table render well when rendering from ...
3
votes
1
answer
1k
views
Quarto: How to right justify text in PDF *and* HTML
I'm trying to get Quarto to right justify some text when rendered in both PDF and HTML. But I can only get it to do one or the other, not both. Below is a minimal example, with source code and ...
1
vote
1
answer
661
views
Quarto link a word in one qmd document to a word in a different qmd document
I'm creating Quarto book and I would like key terms in the book to link to definitions in a glossary. Additionally, I'd like the glossary to work in both HTML and PDF formats. Here's what I have so ...
-1
votes
1
answer
81
views
How can I have a line Break in the column headings in R huxreg when exporting to latex?
Here is a minimal example.
library(huxtable)
model1 <- lm(mpg ~ cyl + disp, data = mtcars)
huxreg1<-huxreg("This is a tool long title \n for one row"= model1)
print_latex(huxreg1)
...
0
votes
1
answer
121
views
Add custom code before each top-level heading in R markdown
I have an R Markdown document in which every top level heading needs the same five lines of code before it to make the formatting nice. I want to know if I can set these five lines in a style.css or ...
0
votes
0
answers
100
views
Importing latex in HTML
I am new to HTML.
What I want to do is to display a document written in LaTeX in HTML.
I have a document in LaTeX I have written for pdf, and I would like to display the content in HTML without ...