Document support for ` \(` and `\[` math delimiters
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- latex, markdown
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với phần «equations» trong tài liệu «Markdown basics» của quarto.org được liên kết trong issue, và xác minh cách extension markdown+tex_math_single_backslash được trình bày. Cập nhật tài liệu với các delimiter (...) và [...] cùng các ví dụ; hoàn tất nghĩa là người dùng có thể tìm thấy thiết lập của extension và hiểu cách sử dụng inline so với dạng block.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What would you like to do?
Report an issue on quarto.org
Description
Originally suggested by @JamesSmith20, moved from https://github.com/quarto-dev/quarto-cli/issues/11761 :
2. Support for \( and \[ Math Delimiters
Currently, the Quarto documentation on equations does not mention support for LaTeX-style math delimiters \(...\) (inline) and \[...\] (block). It states that only $...$ and $$...$$ are supported for inline and block math. However, using Pandoc’s markdown+tex_math_single_backslash extension, Quarto can support these delimiters seamlessly across Word, HTML, and PDF formats.
Here is an example:
---
title: "Quarto Playground"
from: markdown+tex_math_single_backslash
format:
docx
---
Inline math example: \( E = mc^2 \)
Inline math example: $E = mc^2$
Block math example:
\[ a^2 + b^2 = c^2 \]
$$
a^2 + b^2 = c^2
$$
This works well to render equations using the preferred LaTeX-style delimiters, which are consistent with LaTeX standards and widely used by large language models and other AI tools. Including this information in the official documentation would help users integrate equations more easily without manual adjustments.
Suggested Improvements:
- Document Support for
\(and\[Delimiters:- Update the math documentation to mention the use of
markdown+tex_math_single_backslashfor LaTeX-style math delimiters. - Include examples to show how
\(...\)and\[...\]can be used for inline and block math.
- Update the math documentation to mention the use of
Benefits:
- Makes Quarto’s capabilities more transparent to users.
- Enhances usability for academic and technical writing by providing official guidance on:
- LaTeX-style math delimiters for consistency.
Related Discussions:
This request builds upon Discussion #11753 on Quarto’s GitHub platform.
Thank you for considering this enhancement to the documentation!
- Ngôn ngữ chính
- JavaScript
- Star
- 6k
- Fork
- 458
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 41
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quarto-dev/quarto-cli
-
binder bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
quarto-dev/quarto-cli#14907 · 3 bình luận ·
-
brand bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
quarto-dev/quarto-cli#14875 ·
-
Percent scripts: accept raw-string (r""") and '''-delimited markdown cells, as jupytext writes them Đang mởengines-jupyter enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
quarto-dev/quarto-cli#14850 · 2 bình luận ·
Tất cả issue của quarto-dev/quarto-cli
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
babalae/bettergi-scripts-list#3674 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
githubnext/gh-aw-cao#13143 ·