Skip to content

How do I override pullquote fonts? #1691

Answered by Omikhleia
chuckwondo asked this question in Q&A
Discussion options

You must be logged in to vote
  1. This is one of the correct ways (using \define, i.e. a SILE macro), yes. (Another way would be to use Lua, but for simple things like this, macros are ok)
    ... but in that very case, the command hook expects a global font to be set, so that would have to be, unless mistaken:

    \define[command=pullquote:mark-font]{\font[family=Palatino]}
    

    I.e. without the argument containing a \process. (That's one of the reason I don't like command hook redefinition, personally... and use other strategies in my own packages. There are too many possibilities for hooks to implement things, so "it depends".... But anyhow, as pullquote goes so far, well, that's it...)

  2. There's currently no way with SILE macro…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chuckwondo
Comment options

@alerque
Comment options

@alerque
Comment options

Answer selected by chuckwondo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants