Logblog: Richard Zach's Logic Blog

University of Calgary

UofC Navigation

You are looking at an archived page. The website has moved to richardzach.org.

Submitted by Richard Zach on Wed, 02/14/2007 - 2:42am

I just had occasion to have to typeset Lewis's strict conditional symbol in LaTeX. It turns out it isn't in the standard AMS fonts. Peter Smith's LaTeX for Logicians to the rescue! There I found:

- that the strict conditional symbol is in the fonts that are part of the txfonts and pxfonts packages, and
- that there is a wonderful 110 page/3 MB comprehensive listing of all LaTeX symbols (by Scott Pakin).

Now it turns out that the point of txfonts and pxfonts is to give you output in Times Roman and Palatino fonts, respectively, with matching math and symbol fonts. That's useful in itself--but if you happen to not want your document to be in Times or Palatino, you can still get \strictif by putting this in the preamble:

\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n}

\DeclareMathSymbol{\strictif}{\mathrel}{symbolsC}{74}

- Richard Zach's blog
- Log in to post comments

- Open Logic Project
- The LogBlog is Moving!
- Academic Genealogy Graphed
- CfP: Hilbert’s Epsilon and Tau in Logic, Informatics and Linguistics
- In Memoriam: Grigori Mints
- Previously Unknown Turing Manuscript Going to Auction
- Carnap (and Goodman and Quine) and Linguistics (Guest post by Darin Flynn)
- Carnap on "Syntax" vs "Semantics"

## Comments

Good to know!

That's helpful! Is there a similar trick for typesetting the `box arrow' symbol that is sometimes used for the counterfactual conditional? I think it's called `\boxright' in pxfonts/txfonts.

Just look up the font and symbol declarations in txfonts.sty:\DeclareMathSymbol{\boxright}{\mathrel}{symbolsC}{128}

I've added (with acknowledgement!) your code for using symbols extracted from txfonts to LaTeX for Logicians. Thanks for that!

ahuenno!

Great! Any thoughts on how to do this for use with XeLaTeX instead? Thanks!

Thanks, Richard! By the way, your link to "Peter Smith's LaTeX for Logicians" is dead.

Fixed, thanks.