I am using Tex Studio on Windows 10. Here is the simple code which I am executing
\documentclass{article}
%\usepackage{siunitx}
%\sisetup{
%round-mode = places,
%round-precision = 2,
%}
\begin{document}
\begin{table}[h!]
\begin{center}
\begin{tabularx}{| X | X | X |}
\hline
\textbf{Value 1} & \textbf{Value 2} & \textbf{Value 3}\\
$\alpha$ & $\beta$ & $\gamma$ \\
\hline
1 & 1110.1 & a \\
2 & 10.1 & b \\
3 & 23.113231 & c \\
\hline
\end{tabularx}
\end{center}
\caption{Your first label}
\label{tab:table1}
\end{table}
\begin{table} [h!]
\begin{center}
\begin{tabular}{|r | l |}
\hline
7C0 & hexadecimal \\
3700 & octal \\
\cline{2-2}} 11111000000 & binary \\
\hline
\end{tabular}
\end{center}
\caption{Your second label}
\label{tab:table2}
\end{table}
\begin{tabular}{cc}
boring cell content & \parbox[t]{5cm}{rather long par\\new par}
\end{tabular}
\end{document}
I clicked the arrow
the arrow which is double generates the preview.I have previously written paper in latex and used Tex studio. The same laptop and same setup. So I know it does not take this long time for simple code to compile and generate a preview pdf.
What I am doing is very simple I am not clear with usage of tabular in latex so I am trying to practise with it by example codes given https://en.wikibooks.org/wiki/LaTeX/Tables#The_tabularx_package and https://www.latex-tutorial.com/tutorials/tables/
so my programs are very simple sinppets of code which I am trying to practise. The code posted in above should not at all take a very very long time to compile. So what is the problem I am not able to understand. Here is a preview of settings if this helps
as suggested in comments I looked at the error messages here are the error messages
Environment tabularx undefined. \begin{tabularx}
Misplaced \noalign. \hline
Misplaced alignment tab character &. \textbf{Value 1} &
Misplaced alignment tab character &. \textbf{Value 1} & \textbf{Value 2} &
Misplaced alignment tab character &. $\alpha$ &
Misplaced alignment tab character &. $\alpha$ & $\beta$ &
Misplaced \noalign. \hline
Misplaced alignment tab character &. 1 &
Misplaced alignment tab character &. 1 & 1110.1 &
Misplaced alignment tab character &. 2 &
Misplaced alignment tab character &. 2 & 10.1 &
Misplaced alignment tab character &. 3 &
Misplaced alignment tab character &. 3 & 23.113231 &
Misplaced \noalign. \hline
\begin{center} on input line 10 ended by \end{tabularx}. \end{tabularx}
Misplaced alignment tab character &. \cline{2-2}} 11111000000 &
as mentioned in comments I removed extra bracket in cline and included package tabularx
\documentclass{article}
%\usepackage{siunitx}
%\sisetup{
%round-mode = places,
%round-precision = 2,
%}
\usepackage{tabularx}
\begin{document}
\begin{table}[h!]
\begin{center}
\begin{tabularx}{| X | X | X |}
\hline
\textbf{Value 1} & \textbf{Value 2} & \textbf{Value 3}\\
$\alpha$ & $\beta$ & $\gamma$ \\
\hline
1 & 1110.1 & a \\
2 & 10.1 & b \\
3 & 23.113231 & c \\
\hline
\end{tabularx}
\end{center}
\caption{Your first label}
\label{tab:table1}
\end{table}
Second table
\begin{table} [h!]
\begin{center}
\begin{tabular}{|r | l |}
\hline
7C0 & hexadecimal \\
3700 & octal \\
\cline{2-2} 11111000000 & binary \\
\hline
\end{tabular}
\end{center}
\caption{Your second label}
\label{tab:table2}
\end{table}
\begin{tabular}{cc}
boring cell content & \parbox[t]{5cm}{rather long par\\new par}
\end{tabular}
\end{document}
now the errors I have are
line 12: Environment tabularx undefined. \begin{tabularx}
line 13: Misplaced \noalign. \hline
line 14: Misplaced alignment tab character &. \textbf{Value 1} &
line 14: Misplaced alignment tab character &. \textbf{Value 1} & \textbf{Value 2} &
line 15: Misplaced alignment tab character &. $\alpha$ &
line 15: Misplaced alignment tab character &. $\alpha$ & $\beta$ &
line 16: Misplaced \noalign. \hline
line 17: Misplaced alignment tab character &. 1 &
line 17: Misplaced alignment tab character &. 1 & 1110.1 &
line 18: Misplaced alignment tab character &. 2 &
line 18: Misplaced alignment tab character &. 2 & 10.1 &
line 19: Misplaced alignment tab character &. 3 &
line 19: Misplaced alignment tab character &. 3 & 23.113231 &
line 20: Misplaced \noalign. \hline
line 21: \begin{center} on input line 10 ended by \end{tabularx}. \end{tabularx}
line 33: Misplaced alignment tab character &. \cline{2-2}} 11111000000 &
tabularx
, etc.