Skip to content

Commit

Permalink
vault backup: 25-11-2024 05:38:40
Browse files Browse the repository at this point in the history
  • Loading branch information
TJ2005 committed Nov 25, 2024
1 parent d8b68b8 commit f766114
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ recurrence
logic gates

![[Pasted image 20241124220709.png]]

[[DM 2022-23 paper solution]]
ularian path
hamiltonian path

Expand Down
19 changes: 19 additions & 0 deletions Publish/miscellaneous/Prompts.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,25 @@ Similarly for centered latex use $$Latex$$
Please use inline LaTeX formulas within `$` for inline math expressions and `$$` for centered or block-level math in markdown when writing for Obsidian.

Please use inline LaTeX formulas within `$` for inline math expressions and `$$` for centered or block-level math in markdown when writing for Obsidian. Avoid using `\(`, `\)`, `\[`, or `\]` for math expressions, as these can cause issues with rendering in Obsidian by being treated as simple brackets rather than LaTeX delimiters. This results in improper display or ignored content. Using `$` for inline math and `$$` for block math ensures correct rendering in Obsidian.

# Latex 2
Always use **inline LaTeX** for Obsidian with `$` to start and end inline math expressions, ensuring no spaces between the delimiters and the content (e.g., `$x^2 + y^2 = z^2$`). For block or centered math expressions, enclose them in `$$` (e.g., `$$E=mc^2$$`). Do not use `\(`, `\)`, `\[`, or `\]` under any circumstances, as these will not render properly in Obsidian.

For **tables with LaTeX content**, use the following strict format:

- Each cell must have LaTeX content enclosed in `$`.
- Use markdown table syntax with `|` to separate columns and `---` for the header separator row.

**Example:**

```
| $Column1$ | $Column2$ | $Column3$ |
|--------------------|-----------------|-----------------|
| $Cell1_1$ | $Cell1_2$ | $Cell1_3$ |
| $Cell2_1$ | $Cell2_2$ | $Cell2_3$ |
```

Strictly adhere to this structure for inline, block-level, and tabular LaTeX content in Obsidian.
# References


Expand Down

0 comments on commit f766114

Please sign in to comment.