TheRPGSite

Pen & Paper Roleplaying Central => Articles => Topic started by: Vladar on April 15, 2023, 02:20:58 PM

Title: LaTeX for tabletop
Post by: Vladar on April 15, 2023, 02:20:58 PM
In the following months I will be releasing a series of blog posts regarding the usage of LaTeX in tabletop publishing. If you want to see a particular topic covered, let me know.

https://vladar.bearblog.dev/latex-for-tabletop/
Title: Re: LaTeX for tabletop
Post by: Zelen on April 24, 2023, 04:43:11 PM
Very cool, I'm very interested in this topic but when I began investigating it, it became quite a rabbit hole for me.
Title: Re: LaTeX for tabletop
Post by: GeekyBugle on April 28, 2023, 10:32:11 PM
Neat! My boy is using LaTex for his university assignments, has insisted it's easier than using LibreOffice for my purposes, I have one immediate question tho: Which one is the OSR template?

Do you plan on covering image positioning/resizing?
Title: Re: LaTeX for tabletop
Post by: Howard on April 29, 2023, 05:09:10 AM
Quote from: GeekyBugle on April 28, 2023, 10:32:11 PM
Neat! My boy is using LaTex for his university assignments, has insisted it's easier than using LibreOffice for my purposes, I have one immediate question tho: Which one is the OSR template?

Do you plan on covering image positioning/resizing?

Having written a Master's Thesis (with footnotes, cross references, charts, & tables) in LaTeX as well as gaming stuff (wargaming) with LibreOffice (charts, tables, no footnotes, manually generated cross references), it is a coin toss. If you do documents that you are the primary/only editor of, then LaTeX can be a major plus as you don't end up spending time (bleep)ing around with formatting and reformatting if you add some text near the start of a section (cross references update themselves if you reorder rules...). If you have multiple document editors and they aren't LaTeX fluent, it may be the wrong tool for the job.

I guarantee that the hours I spent removing/adding column breaks and line breaks in LibreOffice as we added text to the rulebook (polishing or adding examples) would have been a lot less of a pain with various LaTeX "samepage" directives.

If you are comfortable writing HTML by hand, then LaTeX is more of a dialect than a new language. It also has the plus that it is highly portable- stuff I wrote back in the mid 90s still works (sometimes there are nudges about using obsolete stuff or having to hunt down deprecated packages) and I can write on UNIX, Linux, Windows, or MacOS. It also plays nicely for those with a software development on UNIX/Linux background as you can use many of the same tools (makefiles, cpp, version control tool of choice, etc.) to increase productivity.

Disclaimer- when I started using version control, CVS was the state of the art (but not commonly installed, so I used RCS which was) and git wouldn't be out for a decade.

Generally speaking, LaTeX does a pretty good job of putting images (including charts/tables) where they belong in the text (you can use various directives to tell it if they need to be "right here" vs. "about here"). I've never seen it do resizing, but that isn't something I've had to do in general so I could be wrong there.

Lamport's "LaTeX: A Document Preparation System" is considered the reference book for most folks, but it may not cover everything (my library has several other LaTeX books as I found Lamport's book didn't cover what I wanted to do or didn't cover it clearly).
Title: Re: LaTeX for tabletop
Post by: Vladar on April 29, 2023, 07:36:28 AM
Quote from: GeekyBugle on April 28, 2023, 10:32:11 PM
I have one immediate question tho: Which one is the OSR template?
It would be https://www.ctan.org/pkg/rpg-module that I've linked in the post.

Quote from: GeekyBugle on April 28, 2023, 10:32:11 PM
Do you plan on covering image positioning/resizing?

Yes, my current planned topics include fonts, figures/images, tables, hyperlinking, and databases.

I'm also open to requests and suggestions regarding the topics you want to see covered.
Title: Re: LaTeX for tabletop
Post by: Eirikrautha on April 29, 2023, 10:46:00 AM
Quote from: Vladar on April 29, 2023, 07:36:28 AM
Quote from: GeekyBugle on April 28, 2023, 10:32:11 PM
I have one immediate question tho: Which one is the OSR template?
It would be https://www.ctan.org/pkg/rpg-module that I've linked in the post.

Quote from: GeekyBugle on April 28, 2023, 10:32:11 PM
Do you plan on covering image positioning/resizing?

Yes, my current planned topics include fonts, figures/images, tables, hyperlinking, and databases.

I'm also open to requests and suggestions regarding the topics you want to see covered.

Some things that would be helpful to me:
Title: Re: LaTeX for tabletop
Post by: Howard on April 29, 2023, 11:39:39 AM
Quote from: Eirikrautha on April 29, 2023, 10:46:00 AM

Some things that would be helpful to me:

  • so you have a latex parser installed, how do you create a basic document

This one is easy. You use your text editor of choice. TeX (several steps deeper under the hood) and LaTeX (what you are typically writing in and built on top of TeX) files use a "tex" file extension (not "txt"). The blog link provides a sample file (and its corresponding style (.sty) file). Save the file as text. Most LaTeX distros use the "latex" command to process the text file (may have to run it several times if you are doing complex things where there are page references, bibliographies, etc.). This results in a .dvi file (example.dvi in our case). [LaTeX dates back to when there were phototypesetters and PDF/postscript were either very rare or hand't been invented yet.]. You then run another command to turn the dvi file into poscript and/or PDF.

There are WYSIWGY LaTeX editors that do all the latex/pdf/ps processing under the hood for you (I'm old school, so I know of them but I don't use them).

I'd typically do something like this at a DOS prompt (Linux terminal for me, but the commands should be the same):
latex example.tex
latex example.tex
dvips -o example.ps example.dvi
dvipdf -o example.pdf example.dvi

The main problem with LaTeX, which WYSIWGY editors may solve, is if you bungle the markup the errors are... unhelpful. They basically tell you there is something around line XX of your file that you fat fingered, but nothing more (and if you use "special" characters like \, $, or % that are markup characters without escaping them properly you'll get one of those puzzling errors). On the flip side, LaTeX has been around so long that there are tons of web pages with examples of how to do things (usually 5-6 slightly different ones)- lists (including numbering vs. bullet, different bullet styles, ...), font size/type switching, incorporating tiff/eps/... files, etc. Most of the examples are in the same style as Vladar uses- the example's output and its matching source files are embedded in the web page. This means once you figure out how to read one such page, all the others are trivial to understand.
Title: Re: LaTeX for tabletop
Post by: Vladar on April 29, 2023, 02:06:57 PM
https://vladar.bearblog.dev/latex-document-structure/

Today we will cover the basic concepts of the LaTeX document structure you'll need to know when creating a book from scratch.
Title: Re: LaTeX for tabletop
Post by: Vladar on April 29, 2023, 02:13:12 PM
Quote from: Eirikrautha on April 29, 2023, 10:46:00 AM
Some things that would be helpful to me:

  • so you have a latex parser installed, how do you create a basic document
  • formating and creating heading groups
  • backgrounds and text over images

I've covered the basics of the first one in today's post. For a beginner, I would recommend to use some user-friendly LaTeX editor (I use TeXstudio (https://www.texstudio.org/), for example). And if you want to dive deeper, Howard's post above (https://www.therpgsite.com/articles/latex-for-tabletop/msg1252408/#msg1252408) is excellent.

Other two topics will surely be covered in the future.
Title: Re: LaTeX for tabletop
Post by: Eirikrautha on April 29, 2023, 03:21:41 PM
Quote from: Vladar on April 29, 2023, 02:13:12 PM
Quote from: Eirikrautha on April 29, 2023, 10:46:00 AM
Some things that would be helpful to me:

  • so you have a latex parser installed, how do you create a basic document
  • formating and creating heading groups
  • backgrounds and text over images

I've covered the basics of the first one in today's post. For a beginner, I would recommend to use some user-friendly LaTeX editor (I use TeXstudio (https://www.texstudio.org/), for example). And if you want to dive deeper, Howard's post above (https://www.therpgsite.com/articles/latex-for-tabletop/msg1252408/#msg1252408) is excellent.

Other two topics will surely be covered in the future.

Thanks!  I had already installed texstudio previously, so this will help me get up and rolling...
Title: Re: LaTeX for tabletop
Post by: GeekyBugle on May 02, 2023, 12:56:19 AM
Quote from: Howard on April 29, 2023, 05:09:10 AM
Quote from: GeekyBugle on April 28, 2023, 10:32:11 PM
Neat! My boy is using LaTex for his university assignments, has insisted it's easier than using LibreOffice for my purposes, I have one immediate question tho: Which one is the OSR template?

Do you plan on covering image positioning/resizing?

Having written a Master's Thesis (with footnotes, cross references, charts, & tables) in LaTeX as well as gaming stuff (wargaming) with LibreOffice (charts, tables, no footnotes, manually generated cross references), it is a coin toss. If you do documents that you are the primary/only editor of, then LaTeX can be a major plus as you don't end up spending time (bleep)ing around with formatting and reformatting if you add some text near the start of a section (cross references update themselves if you reorder rules...). If you have multiple document editors and they aren't LaTeX fluent, it may be the wrong tool for the job.

I guarantee that the hours I spent removing/adding column breaks and line breaks in LibreOffice as we added text to the rulebook (polishing or adding examples) would have been a lot less of a pain with various LaTeX "samepage" directives.

If you are comfortable writing HTML by hand, then LaTeX is more of a dialect than a new language. It also has the plus that it is highly portable- stuff I wrote back in the mid 90s still works (sometimes there are nudges about using obsolete stuff or having to hunt down deprecated packages) and I can write on UNIX, Linux, Windows, or MacOS. It also plays nicely for those with a software development on UNIX/Linux background as you can use many of the same tools (makefiles, cpp, version control tool of choice, etc.) to increase productivity.

Disclaimer- when I started using version control, CVS was the state of the art (but not commonly installed, so I used RCS which was) and git wouldn't be out for a decade.

Generally speaking, LaTeX does a pretty good job of putting images (including charts/tables) where they belong in the text (you can use various directives to tell it if they need to be "right here" vs. "about here"). I've never seen it do resizing, but that isn't something I've had to do in general so I could be wrong there.

Lamport's "LaTeX: A Document Preparation System" is considered the reference book for most folks, but it may not cover everything (my library has several other LaTeX books as I found Lamport's book didn't cover what I wanted to do or didn't cover it clearly).

Here's the thing, I'm not fluent on HTML, I wouldn't even know where to start.

I'm semi-competent with LibreOffice (still haven't figured how to have the index pages be I, II, III, IV, etc), I know how to position resize images, how to create and modify tables and how to create an index...

I shudder to think of building a table index, monster listings by HD/CL and other stuff by hand (I don't know if LibreOffice can do it).

But LibreOffice has definite advantages, grammar checking for instance.

Now, IF I can figure out my way around LaTex fast and deep enough for my needs then it seems to be a solution, after all I can use LibreOffice at the start of the work flow and then switch to LaTex.
Title: Re: LaTeX for tabletop
Post by: GeekyBugle on May 02, 2023, 01:27:29 AM
Okay, I might have found A solution:

LyX, is a WYSIWYG editor, so I MIGHT (installing it from the repos as I write this) be able to do what I already know how to do as usual and then switch to LaTex to generate the other stuff... We'll see.
Title: Re: LaTeX for tabletop
Post by: Howard on May 02, 2023, 01:33:22 AM
Quote from: GeekyBugle on May 02, 2023, 12:56:19 AM

Here's the thing, I'm not fluent on HTML, I wouldn't even know where to start.

In theory the What You See is What You Get (WYSIWYG) LaTeX editors will solve this for you (and sidestep the unhelpful errors that I mentioned).  I can't confirm this as I don't use them.

The quote and /quote stuff you get when composing messages here (and some other features) are the tagging stuff that LaTeX and HTML use (different token to designate that you are doing formatting instead of text, but the same concept).

With LaTeX the online examples are usually close enough to what you want to do that you can copy/paste the formatting and then tweak (as in "I want green, not blue" or "I want 'large' instead of 'Large' (in some cases these are different sizes in LaTeX)).

Quote from: GeekyBugle on May 02, 2023, 12:56:19 AM

I'm semi-competent with LibreOffice (still haven't figured how to have the index pages be I, II, III, IV, etc), I know how to position resize images, how to create and modify tables and how to create an index...

I shudder to think of building a table index, monster listings by HD/CL and other stuff by hand (I don't know if LibreOffice can do it).

This is where LaTeX (or HTML) can shine- if you can find an example or style file (which is what is being developed here) that is close, you pilfer it and insert your stats into the stat block. Pilfer is perhaps too negative as most folks in the LaTeX community post their bits so that other folks can learn from their work. The CTAN library is a huge collection of TeX and LaTeX extensions (using that concept generally). For what we are doing, the CTAN stuff is probably moot (way too far into the weeds). It is helpful if one does lots of different types of documents and the default stuff with your distro doesn't include that one(s) you wish.

Quote from: GeekyBugle on May 02, 2023, 12:56:19 AM

But LibreOffice has definite advantages, grammar checking for instance.


LibreOffice is a word processing application. LaTeX does typesetting which is a subset of that functionality. However, since the underlying file is text (you can go to a DOS prompt and "type" the file and read it, unlike a .doc file), a stand alone spell checker or grammar checker can do that task (some of the editors may support this as well). In the UNIX (including Linux) world, many of the spell checkers are tex aware and silently ignore the markup tags. A quick web search turns up results for Windows spell checkers that are LaTeX aware, so you are probably covered there if the extra steps are not a deal breaker (I work in the Linux and UNIX worlds, even on my home computer, thus the lack of useful Windows advice).

At the risk of going off topic- the UNIX world (where TeX and LaTeX were born back in the 80s) strives to have single purpose tools that do their one thing really well and they often have hooks to extend them with additional functionality or ways to chain things together. I thus use a text editor (which may have a mode where it is TeX or HTML aware) to edit my LaTeX documents. The LaTeX commands do the pretty formatting. The various "dvi" commands turn the formatted file into something useful in the modern world (postscript, PDF, HTML, flat text). When some of the dvi to other format commands were deprecated (I'll skip the verbose reason), new ones could be slotted in with minimal pain. Heck, there are 3 or 4 LaTeX distributions I've used over the years (codebase forked or the like). 99.9% of the time I didn't notice (switching from "dvi2ps" to "dvitops" is the typical "change").
Title: Re: LaTeX for tabletop
Post by: GeekyBugle on May 02, 2023, 02:08:17 AM
Quote from: Howard on May 02, 2023, 01:33:22 AM
Quote from: GeekyBugle on May 02, 2023, 12:56:19 AM

Here's the thing, I'm not fluent on HTML, I wouldn't even know where to start.

In theory the What You See is What You Get (WYSIWYG) LaTeX editors will solve this for you (and sidestep the unhelpful errors that I mentioned).  I can't confirm this as I don't use them.

The quote and /quote stuff you get when composing messages here (and some other features) are the tagging stuff that LaTeX and HTML use (different token to designate that you are doing formatting instead of text, but the same concept).

With LaTeX the online examples are usually close enough to what you want to do that you can copy/paste the formatting and then tweak (as in "I want green, not blue" or "I want 'large' instead of 'Large' (in some cases these are different sizes in LaTeX)).

Quote from: GeekyBugle on May 02, 2023, 12:56:19 AM

I'm semi-competent with LibreOffice (still haven't figured how to have the index pages be I, II, III, IV, etc), I know how to position resize images, how to create and modify tables and how to create an index...

I shudder to think of building a table index, monster listings by HD/CL and other stuff by hand (I don't know if LibreOffice can do it).

This is where LaTeX (or HTML) can shine- if you can find an example or style file (which is what is being developed here) that is close, you pilfer it and insert your stats into the stat block. Pilfer is perhaps too negative as most folks in the LaTeX community post their bits so that other folks can learn from their work. The CTAN library is a huge collection of TeX and LaTeX extensions (using that concept generally). For what we are doing, the CTAN stuff is probably moot (way too far into the weeds). It is helpful if one does lots of different types of documents and the default stuff with your distro doesn't include that one(s) you wish.

Quote from: GeekyBugle on May 02, 2023, 12:56:19 AM

But LibreOffice has definite advantages, grammar checking for instance.


LibreOffice is a word processing application. LaTeX does typesetting which is a subset of that functionality. However, since the underlying file is text (you can go to a DOS prompt and "type" the file and read it, unlike a .doc file), a stand alone spell checker or grammar checker can do that task (some of the editors may support this as well). In the UNIX (including Linux) world, many of the spell checkers are tex aware and silently ignore the markup tags. A quick web search turns up results for Windows spell checkers that are LaTeX aware, so you are probably covered there if the extra steps are not a deal breaker (I work in the Linux and UNIX worlds, even on my home computer, thus the lack of useful Windows advice).

At the risk of going off topic- the UNIX world (where TeX and LaTeX were born back in the 80s) strives to have single purpose tools that do their one thing really well and they often have hooks to extend them with additional functionality or ways to chain things together. I thus use a text editor (which may have a mode where it is TeX or HTML aware) to edit my LaTeX documents. The LaTeX commands do the pretty formatting. The various "dvi" commands turn the formatted file into something useful in the modern world (postscript, PDF, HTML, flat text). When some of the dvi to other format commands were deprecated (I'll skip the verbose reason), new ones could be slotted in with minimal pain. Heck, there are 3 or 4 LaTeX distributions I've used over the years (codebase forked or the like). 99.9% of the time I didn't notice (switching from "dvi2ps" to "dvitops" is the typical "change").

Thanks, I found LyX and installed it from the repos.

I haven't used Windows in over 20 years, so I wouldn't know what to do with Windows tips :)
Title: Re: LaTeX for tabletop
Post by: Vladar on May 02, 2023, 03:34:24 AM
Regarding spell checking, TeXstudio, for example, is configured to use LibreOffice spell checking dictionaries out of the box (hunspell packages, IIRC).
Title: Re: LaTeX for tabletop
Post by: Grognard GM on May 05, 2023, 11:02:16 PM
Quote from: GeekyBugle on April 28, 2023, 10:32:11 PMMy boy is using LaTex for his university assignments...

Wouldn't he get better grades for using Latinx?

(https://i.pinimg.com/736x/2f/6e/f4/2f6ef40d9e81c610c2278768c030dc4b--comedy-tonight-tonight-show.jpg)

Title: Re: LaTeX for tabletop
Post by: GeekyBugle on May 08, 2023, 11:20:40 PM
Quote from: Grognard GM on May 05, 2023, 11:02:16 PM
Quote from: GeekyBugle on April 28, 2023, 10:32:11 PMMy boy is using LaTex for his university assignments...

Wouldn't he get better grades for using Latinx?

(https://i.pinimg.com/736x/2f/6e/f4/2f6ef40d9e81c610c2278768c030dc4b--comedy-tonight-tonight-show.jpg)

Badabum tssss!
Title: Re: LaTeX for tabletop
Post by: Howard on May 08, 2023, 11:44:36 PM

Quote from: Grognard GM on May 05, 2023, 11:02:16 PM


Wouldn't he get better grades for using Latinx?


Some of us use UNIX or Linux, neither of which play those games. Heck, it doesn't even recognize the fairer sex:
Title: Re: LaTeX for tabletop
Post by: Vladar on May 20, 2023, 06:43:15 AM
New blog post:
LaTeX and its fancy fonts: An introduction to text formatting in LaTeX.

https://vladar.bearblog.dev/latex-and-its-fancy-fonts/
Title: Re: LaTeX for tabletop
Post by: Vladar on June 17, 2023, 08:42:04 AM
Continuing with the LaTeX text formatting, here's a quick guide for spacing and decoration.

https://vladar.bearblog.dev/latex-text-spacing-and-decoration/
Title: Re: LaTeX for tabletop
Post by: Eirikrautha on June 17, 2023, 02:51:24 PM
Good stuff!  Thanks!
Title: Re: LaTeX for tabletop
Post by: Vladar on July 15, 2023, 02:40:03 PM
Since we already figured out the document structure, fonts management, and text control, it's a good time to get to page properties and layout.

https://vladar.bearblog.dev/latex-page-geometry-and-layout/
Title: Re: LaTeX for tabletop
Post by: Vladar on August 19, 2023, 11:51:11 AM
Basics of floating environments in LaTeX.

https://vladar.bearblog.dev/latex-floats/
Title: Re: LaTeX for tabletop
Post by: Vladar on September 17, 2023, 12:24:27 PM
Getting started with LaTeX tables.

https://vladar.bearblog.dev/latex-tables-basics/
Title: Re: LaTeX for tabletop
Post by: Vladar on October 24, 2023, 03:26:19 PM
Diving deeper in the complexities of LaTeX tables.

https://vladar.bearblog.dev/latex-tables-advanced-features/
Title: Re: LaTeX for tabletop
Post by: Vladar on November 02, 2023, 04:37:13 PM
One of the projects I'm currently experimenting with, is a LaTeX template to imitate the typewriter style of old homebrew RPG zines. The demo pages of the current state of the package are presented below.

If you have any ideas or wishes for the features, the package should be able to do, let me know.

(https://i.postimg.cc/HV5cDqmg/typewriter-test-2023-11-02.jpg) (https://postimg.cc/HV5cDqmg)
Title: Re: LaTeX for tabletop
Post by: Cathode Ray on November 05, 2023, 11:52:40 AM
I read through your web log a bit, and understand more of what you're doing.  I love the idea, having made my own RPG from scratch, intended to mimic this style.

Is this LaTex open-source, and are you going to design your own old-school game from this project?
Title: Re: LaTeX for tabletop
Post by: Howard on November 13, 2023, 07:21:36 PM
Quote from: Cathode Ray on November 05, 2023, 11:52:40 AM
I read through your web log a bit, and understand more of what you're doing.  I love the idea, having made my own RPG from scratch, intended to mimic this style.

Is this LaTex open-source, and are you going to design your own old-school game from this project?

Yes, LaTeX is open source (as probably are TeX and other "under the hood" components, but I'm not going to hunt them down). While it doesn't use the more well known GPL, it is compatible enough that it ships with most (all?) Linux distros (they tend to be picky about closed source software which is why I bring it up). Extract from https://www.latex-project.org/lppl/

The LaTeX project public license is a free software license. The most recent version of the LPPL is version 1.3c.
Title: Re: LaTeX for tabletop
Post by: Vladar on November 14, 2023, 02:52:56 PM
Quote from: Cathode Ray on November 05, 2023, 11:52:40 AM
Is this LaTex open-source [...]

It is open-source, as was already mentioned above.

Quote from: Cathode Ray on November 05, 2023, 11:52:40 AM
[...] are you going to design your own old-school game from this project?

Already did: https://vladar4.github.io/itdr/




New post: Including graphic files into a LaTeX document.

https://vladar.bearblog.dev/latex-images/
Title: Re: LaTeX for tabletop
Post by: Howard on November 14, 2023, 06:52:42 PM
Some additional context: while there have been several forks of the "official" LaTeX packages over the years (I'm pretty sure that Ubuntu switched at least once in the last 15 years), they have an incredible degree of backwards compatibility. My resume in it's 1994 incarnation (and written on SunOS 4.1.3) still renders correctly with version shipped with the newest Long Term Support version of Ubuntu (released April 2022). This means any content you create today won't require any significant (probably any) tweaks to process in 2055. [This would presumably only come into play if one were switching between UK/USA spellings or something similar as the typical endpoint for a LaTeX document is a PDF or postscript document.] Contrast this with a document written with a 30 year old version of Microsoft Word (or dead word processors).

Throw in placing the content into Git, as Vladar has done, and you have a large degree of future-proofing.
Title: Re: LaTeX for tabletop
Post by: Socratic-DM on December 20, 2023, 09:44:54 PM
As an avid FOSS and Linux user, it always cheers me to find people using LaTex and not some shitty microsoft office product.
Title: Re: LaTeX for tabletop
Post by: Howard on December 20, 2023, 10:28:53 PM
Quote from: Socratic-DM on December 20, 2023, 09:44:54 PM
As an avid FOSS and Linux user, it always cheers me to find people using LaTex and not some shitty microsoft office product.

Wait, there are Microsoft products that aren't dredged out of a cesspool?

Semi-on topic-

I've been playing with a few LaTeX packages that support hexes. None are RPG focused (the least work one is akin to checkers on a hexagonal map) which makes beating them into submission painful.

tikzpicture/TikZ/hexgame
Title: Re: LaTeX for tabletop
Post by: Vladar on December 21, 2023, 05:38:23 AM
Quote from: Howard on December 20, 2023, 10:28:53 PM
Quote from: Socratic-DM on December 20, 2023, 09:44:54 PM
As an avid FOSS and Linux user, it always cheers me to find people using LaTex and not some shitty microsoft office product.
Wait, there are Microsoft products that aren't dredged out of a cesspool?

The only one that comes to mind is Bing AI Chat, probably. (If you can even call it a MS product.) Ironically, a good way to search on LaTeX intricate details and obscure features.
Otherwise, I've moved to Linux long time ago and never looked back.

Quote from: Howard on December 20, 2023, 10:28:53 PM
I've been playing with a few LaTeX packages that support hexes. None are RPG focused (the least work one is akin to checkers on a hexagonal map) which makes beating them into submission painful.
tikzpicture/TikZ/hexgame

The latter one I was unaware of. I already plan to create a basic intro to TikZ with TTRPG-related examples, but this is one of the more complex topics, surpassed only by datatool and its databases.

I've also noticed that I've forgotten to post the latest blog in the series here. This one is about images:
https://vladar.bearblog.dev/latex-images/
Title: Re: LaTeX for tabletop
Post by: Vladar on January 15, 2024, 10:13:23 AM
Now something easy to start the year with — lists and their formatting.

https://vladar.bearblog.dev/latex-lists/
Title: Re: LaTeX for tabletop
Post by: Socratic-DM on April 29, 2024, 09:25:13 PM
I love using LaTex and Pandoc are quite amazing little tools for making your own PDF docs.

Linux of course is the way to go regarding any program or tech we use.

Oh shit I've already commented on this post, oops.
Title: Re: LaTeX for tabletop
Post by: Vladar on May 06, 2024, 11:15:47 AM
Quote from: Socratic-DM on April 29, 2024, 09:25:13 PMI love using LaTex and Pandoc are quite amazing little tools for making your own PDF docs.

Linux of course is the way to go regarding any program or tech we use.

Cannot agree more. Also LyX (https://www.lyx.org/) is pretty handy to draft something quick and export to LaTeX code afterwards for the final polish.



And today's post is about converting SVG images to TikZ code to use in LaTeX:

https://vladar.bearblog.dev/latex-svg-to-tikz-conversion/