Skip to content

Instantly share code, notes, and snippets.

View samueltwallace's full-sized avatar

Samuel T. Wallace samueltwallace

View GitHub Profile
(message "Applying Package and display settings...")
(require 'package)
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")
("nongnu" . "https://elpa.nongnu.org/nongnu/")))
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
@samueltwallace
samueltwallace / rpgelements.sty
Created April 15, 2023 23:10
LaTeX Package for RPG monsters and items, auto-added to table of contents
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{rpgelements}[2023/04/15 RPG Elements]
%% This bit of code adds monster and item environments for use in RPG documents
%% They function almost exactly identically: They produce a box with a title on it, and adds to table of contents as well.
%% Usage:
%% \begin{monster}[Banshee]
%% (Put whatever text you like here, with any formatting)
%% \end{monster}