potsdam-pnp / pf2e-cards Goto Github PK
View Code? Open in Web Editor NEWPlaying cards for pf2e items etc.
Home Page: https://potsdam-pnp.github.io/pf2e-cards/
License: MIT License
Playing cards for pf2e items etc.
Home Page: https://potsdam-pnp.github.io/pf2e-cards/
License: MIT License
Some background colors work better with white text, others with black text. Let's set this explicit the \pgfkeys
call that sets up the color scheme.
Extracted from #55.
When compiling, we get the following warning:
page content and margins higher than paper.
(typearea) This may result in page footer out of paper.
(typearea) You should decrease DIV, decrease foot height,
(typearea) or include footer into type area.
We currently use the following configuration
\documentclass[paper=63mm:88mm, DIV=21, fontsize=7.5pt]{scrartcl}
From discussion with @fkz and @skaldarnar on Discord:
Add config file for latexmk
so that it "just works". Remove the override to select xelatex
from the github action.
Find a good place for source book references for the subject of a card itself and apply that consistently.
Remaining tasks:
\Card
macroFor many cards (like spells and cantrips) giving a source book reference on the respective action is just fine.
However, for Items (like Breastplate or Dagger) or cards explaining Rules or Conditions we want to provide a reference for the item itself.
On some cards we add a reference in the footer section mentioning other item properties aligned to the right-hand side:
pf2e-cards/cards/items/breastplate.tex
Line 30 in f92fdcc
On other cards, this reference is completely missing.
In addition, the footer row is already pretty crowded for items like the Crossbow, with no obvious space left for the reference.
Observed on f92fdcc
Even if no argument is given and there is no \FormulaVariable
box rendered additional space is reserved when using the macro.
Observed on f92fdcc.
We have some cards containing formulas (as a reminder) or explanations of specific terms.
For instance, explaining the rank on the Repair Kit:
pf2e-cards/cards/items/repair-kit.tex
Lines 16 to 17 in fe9f4f0
For instance, having the formula for AC on armor cards:
pf2e-cards/cards/items/breastplate.tex
Lines 13 to 15 in fe9f4f0
Observed on f92fdcc
Currently cards are color coded in the following way:
Lines 39 to 55 in b05c448
Observed on b05c448.
For some weapons or spells we potentially need multiple boxes, which may overflow easily.
For instance, this is happening on the Smoking Sword.
pf2e-cards/cards/items/smoking-sword.tex
Lines 12 to 14 in fe9f4f0
This clashes even more with the colored borders.
Observed on f92fdcc
The text under the \FormulaVariable
box is supposed to be black (or the current text color), but when using it inside of an \Attribute
the text is rendered in grey.
MWE to reproduce this (this also happens on the Bulk card):
\Card{}{}{Sandbox}
Attribute with plain text:
\Attribute{Foo}{black text}
Formula variable outside of Attribute:
\(\FormulaVariable{black text}{\phantom{1000}}\)
Formula variable inside of Attribute:
\Attribute{Bar}{%
\(\FormulaVariable{grey text}{\phantom{1000}}\)
}
Text and Formula variable inside of Attribute:
\Attribute{Bar}{%
make it black \(\FormulaVariable{grey text}{\phantom{1000}}\)
}
Observed on f92fdcc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.