Skip to content

Instantly share code, notes, and snippets.

@rfdickerson
Created March 5, 2018 19:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rfdickerson/8732d858b264bfcf455bd5309696f1df to your computer and use it in GitHub Desktop.
Save rfdickerson/8732d858b264bfcf455bd5309696f1df to your computer and use it in GitHub Desktop.
LaTeX with Minion Font
\documentclass{amsart}
\usepackage{amssymb}
\usepackage[no-math]{fontspec}
%\usepackage[mathlf,footnotefigures]{MinionPro}
\usepackage{amsmath}
\usepackage{MnSymbol}
\usepackage[USenglish]{babel}
\setmainfont[Ligatures=TeX]{Minion Pro}
\begin{document}
\title{Mathematical Theorems}
\author{Robert F. Dickerson}
\address{Department of Mathematics, University of South Carolina,
Columbia, SC 29208}
\email{howard@math.sc.edu}
\urladdr{www.math.sc.edu/$\sim$howard} % Delete if not wanted.
\newtheorem{thm}{Theorem}[section]
\newtheorem{prop}[thm]{Proposition}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{cor}[thm]{Corollary}
\begin{abstract}
Great stuff.
\end{abstract}
\maketitle
\tableofcontents
Call me Ishmael. Some years ago --- never mind how long precisely ---
having little or no money in my purse, and nothing particular to
interest me on shore, I thought I would sail about a little and see
the watery part of the world. It is a way I have of driving off the
spleen, and regulating the circulation. Whenever I find myself
growing grim about the mouth; whenever it is a damp, drizzly November
in my soul; whenever I find myself involuntarily pausing before coffin
warehouses, and bringing up the rear of every funeral I meet; and
especially whenever my hypos get such an upper hand of me, that it
requires a strong moral principle to prevent me from deliberately
stepping into the street, and methodically knocking people's hats off
--- then, I account it high time to get to sea as soon as I can. This
is my substitute for pistol and ball. With a philosophical flourish
Cato throws himself upon his sword; I quietly take to the ship. There
is nothing surprising in this. If they but knew it, almost all men in
their degree, some time or other, cherish very nearly the same
feelings towards the ocean with me.
There now is your insular city of the Manhattoes, belted round by
wharves as Indian isles by coral reefs - commerce surrounds it with
her surf. Right and left, the streets take you waterward. Its extreme
down-town is the battery, where that noble mole is washed by waves,
and cooled by breezes, which a few hours previous were out of sight of
land. Look at the crowds of water-gazers there.
The binomial theorem is
$$
(x+y)^n=\sum_{k=0}^n\binom{n}{k}x^ky^{n-k}.
$$
A favorite sum of most mathematicians is
$$
\sum_{n=1}^\infty \frac{1}{n^2}=\frac{\pi^2}{6}.
$$
Likewise a popular integral is
$$
\int_{-\infty}^\infty e^{-x^2}\,dx=\sqrt{\pi}
$$
\begin{equation} \label{eq1}
k_{n+1} = n^2 + k_n^2 - k_{n-1}
\end{equation}
\begin{equation}
\frac{n!}{k!(n-k)!} = \binom{n}{k}
\end{equation}
\begin{proof}
Any real number $x$ satisfies $x>0$, $x=0$, or $x<0$.
If $x=0$, then $x^2=0\ge 0$. If $x>0$ then as a positive time a
positive is positive we have $x^2=xx>0$. If $x<0$ then $-x>0$ and so
by what we have just done $x^2=(-x)^2>0$. So in all cases $x^2\ge0$.
\end{proof}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Introduction}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This is a new section.
%%
%% A Theorem is stated by
%%
\begin{thm} The square of any real number is non-negative.
\end{thm}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment