2016-09-02 75 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} 
相關問題