2016-09-02 32 views
-3

如何使用乳胶创建此图像的符号风格。或任何其他建议?如何在Latex中创建纸张使用的符号?

enter image description here

+0

这不是[上专题](http://stackoverflow.com/help/on-topic)。它应该在[tex.sx](http://tex.stackexchange.com/)上提出。你显然没有表现出任何努力提供你迄今为止尝试过的东西。 –

回答

2

Rendered Latex Snippet

\documentclass{article} 

% See http://tex.stackexchange.com/questions/112576/math-mode-in-tabular-without-having-to-use-everywhere 
\usepackage{amstext} 
\usepackage{array} 
\usepackage{amssymb} 

\newcolumntype{L}{>{$}l<{$}} 

\begin{document} 

\textbf{Typing rules for F$_1$} 

\begin{tabular}{LLL} 
\hline 
\text{\footnotesize(Env $\varnothing$)} & 
\text{\footnotesize(Env $x$)}\\ 

\frac{}{\varnothing \vdash \diamond} & 
\frac{E \vdash A \quad x \notin dom(E)}{E, x:A \vdash \diamond} \\ 

&&\\ 

\text{\footnotesize(Type Const} & 
\text{\footnotesize(Type Arrow)}\\ 

\frac{E \vdash \diamond}{E \vdash K} & 
\frac{E \vdash A \quad E \vdash B}{E \vdash A \rightarrow B} \\ 

&&\\ 

\text{\footnotesize(Val $x$)} & 
\text{\footnotesize(Val Fun)} & 
\text{\footnotesize(Val Appl)} \\ 

\frac{E\vdash \diamond}{E \vdash x :E(x)} & 
\frac{E,x:A\vdash b:B}{E \vdash \lambda(x:A)b :A \rightarrow B} & 
\frac{E \vdash b:A \rightarrow B \quad E \vdash a : A}{E \vdash b(a) : B} \\ 
\hline 
\end{tabular} 

\end{document} 
相关问题