Skip to content

Instantly share code, notes, and snippets.

@phck
phck / gist:3918737
Created October 19, 2012 15:09
Some small tweaks for mathjobs.org, including a fix for appearance of job ad
body {
width:70%;
font-family:"Futura";
font-size:12pt;
margin-left: auto;
margin-right:auto;
}
input[type=Submit]{background-color:white;}
input[type=Reset]{background-color:white;}
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012) (format=xelatex 2012.6.30) 17 NOV 2012 08:51
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**/Users/liz/Documents/infinity-prop.∞/temp.tex
(/Users/liz/Documents/infinity-prop.∞/temp.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
@phck
phck / byword.mmd
Created December 9, 2012 17:12
You can add Latex-style equations by including MathJax at the beginning of the file:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Pipe (non-orderable)
Green-stripe socks
Two Lamp
Tall Lantern
Righty Desk
Dirt-clod wall
Kiddie wall
Skyscraper Wall
Citrus Carpet
Flower Pop Carpet

Keybase proof

I hereby claim:

  • I am phck on github.
  • I am operad (https://keybase.io/operad) on keybase.
  • I have a public key ASAKhLzVh1ei69W2vNeo-TbBDcvSOKRFuKU5oYcysvy9pwo

To claim this, I am signing this object:

% Slightly adapted from https://tex.stackexchange.com/a/197322
\documentclass{article}
\usepackage{amssymb}
\usepackage{xparse}
\input{random}
\ExplSyntaxOn
% alias \setrannum to an expl3 function
\cs_set_eq:NN \benutzer_set_rannum:Nnn \setrannum
@phck
phck / end_coend.tex
Created August 13, 2020 15:56
Randomly select between sub and super-scripts for ends and coends.
\documentclass{minimal}
% Help from https://tex.stackexchange.com/a/116198
\ifnum\numexpr\pdfuniformdeviate 2\relax<1\relax
\newcommand{\End}[1]{\int_{#1}}
\newcommand{\coEnd}[1]{\int^{#1}}%
\else
\newcommand{\End}[1]{\int^{#1}}
\newcommand{\coEnd}[1]{\int_{#1}}%
\fi