Skip to main content

All Questions

Tagged with
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 ...
Ladon's user avatar
  • 15
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: ...
monotonic's user avatar
  • 580
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 ...
Ray Micaletti's user avatar
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 ...
Hashem A. Damrah's user avatar
-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....
stats_noob's user avatar
  • 5,689
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 ...
Binx's user avatar
  • 404
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 ...
John the Bastard's user avatar
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 ...
Mark Springer's user avatar
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 ...
Jojo197's user avatar
  • 15
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} `&plusmn;` {2}")` This table render well when rendering from ...
Leif 's user avatar
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 ...
John K. Kruschke's user avatar
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 ...
Brad Cannell's user avatar
  • 3,160
-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) ...
SKupek's user avatar
  • 83
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 ...
roblanf's user avatar
  • 1,783
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 ...
Tomoki's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
15