forked from OpenLogicProject/forallx-cam
-
Notifications
You must be signed in to change notification settings - Fork 29
/
forallxyyc-html.sty
29 lines (21 loc) · 859 Bytes
/
forallxyyc-html.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%!TEX root = forallxyyc.tex
% forallxyyc-html provides layout and style setup for HTML version
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{forallxyyc-html}
\RequirePackage{hyperref,ifthen,graphicx,xcolor}
% Make glossary commands do nothing if converting to HTML
\newcommand{\newglossaryentry}[2]{}
\newcommand{\glspl}[1]{#1s}
\newcommand{\gls}[1]{#1}
\newcommand{\printglossaries}{}
\newcommand{\glsaddall}{}
% \factoidbox{...} produces a highlighted paragraph of text
\usepackage{framed}
\colorlet{shadecolor}{lyallpink!5}
\newenvironment{factoidboxe}{\begin{shaded*}\noindent}{\end{shaded*}}
\newcommand{\factoidbox}[1]{\begin{factoidboxe}#1\end{factoidboxe}}
\let\emph\textbf
\renewcommand*{\define}[1]{\<dfn>#1\</dfn>}
\usepackage{mathrsfs}
\renewcommand*{\script}[1]{\ensuremath{\mathscr{#1}}}
\renewcommand*{\metav}[1]{\ensuremath{\mathscr{#1}}}