I have a code like this:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.5]
\draw (0,0)--(12,0)--(0,5)--cycle;
\draw (60/17,0)-- ++(0,60/17) -- (0,60/17);
\end{tikzpicture}
\end{document}
Well, I want to label the word $S_1$ inside the square(in the center). Is there an easy way to do this? I don't want to calculate the coordinate of the middle of the square.. On the other hand, how can I fill the square with many slashes?