Skip to main content

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*

6
  • 1
    can't you just define 2 tables and use a macro which passes the name of the relevant table? Commented Aug 4, 2025 at 14:40
  • @projetmbc It seems there might be a bug in your code. Commented Aug 4, 2025 at 14:46
  • In two lines window = {-1.5, 7, -2.5, 3.5}, % CHANGES MADE viewdir = {240, 60}, % HERE ONLY! You change to window = {-1.5, 7, -2.5, 3.5}, -- CHANGES MADE viewdir = {240, 60}, -- HERE ONLY! Commented Aug 4, 2025 at 14:49
  • @minthao_2011 I have corrected the stupid LaTeX comments inside the Lua code... Commented Aug 4, 2025 at 15:01
  • 1
    @projetmbc I think the existing answer is probably more useful here. I've never used luadraw so my suggestion was just a generic one. Commented Aug 4, 2025 at 16:03