You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
2Seriously: Why? I'm sure someone will show up and help you (or I'll do it, once I find the time), but are you sure this is the right approach? I'd just calculate the values in Lua (if using LuaLaTeX) or Python/Matlab/... and write them into a file that I can import into my document.jps– jps2026-01-30 09:44:23 +00:00Commented yesterday
-
1 ("correct values?"). I don't understand the question. Just test the MWE; all the x-values I tested, produced the correct result. 2 ("another program"). Well, we're in the LaTeX forum here. And we can just do this here without having to discuss it. If I want to do the same thing with Python, etc., I can go to the Python forum for that.cis– cis2026-01-30 09:51:42 +00:00Commented yesterday
-
PS: I'm not doing / researching this because I have to it or because I'm being paid for it; I'm doing it for enjoyment of the matter. Similarly, I'm allowed to fly to Australia in a zeppelin. Of course, there are other ways to get there. But this doesn't need to be discussed every time...cis– cis2026-01-30 10:07:51 +00:00Commented yesterday
-
3I wasn't trying to say "don't do this", I was merely pointing at the fact that other programs or programming languages are more suited for the task.jps– jps2026-01-30 10:34:17 +00:00Commented yesterday
-
The dilemma between LaTeX vs Lua and another languages (Python, R, etc.) is somewhat outdated these days, since they can be combined easily with LaTeX in a single file using a package, or a internal conversion, rendering all at once, without the hassle of manually running external programs and then copying and pasting the result into the LaTeX text. So while pure questions about other languages are off-topic, answers or solutions using them as tools into a LaTeX document are on topic, IMHO (of course, unless the OP want to exclude them, for whatever reason).Fran– Fran2026-01-30 20:10:50 +00:00Commented yesterday
Add a comment
|
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. tikz-pgf), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-tex