Table problem here.
I want |c|c| to work, but it won't, and I cannot find the way to get what I want.
Can someone provide some insight, and maybe a link to the page (not to tabularx documentation since it hasn't helped).
code:
\documentclass[12pt]{article}
\usepackage{lipsum,wrapfig,graphicx,scrextend,sectsty,verbatim}
\usepackage{tikz,tkz-berge,amsmath,amsthm,amssymb,amsfonts}
\usepackage{tkz-graph,tabularx,adjustbox,enumerate,titlesec}
\usepackage[margin=1in]{geometry}
\usepackage[latin1]{inputenc}
%commands for the tree packages below
\usetikzlibrary{trees,fit,shapes,arrows,calc, patterns}
\begin{document}
\begin{table}
\centering
\begin{tabularx}{\linewidth}{ |c|X| }
\hline
\begin{tabular}[c]{@{}c@{}}
\begin{tikzpicture}[baseline=(current bounding box.center),scale=2]
\GraphInit[vstyle=Classic]
\SetUpVertex[Lpos=-90]
\tikzset{VertexStyle/.style = {shape=circle, fill=black, minimum size=3pt,inner sep=0pt}
}
\Vertex[x=0,y=0]{S$_0$}
\Vertex[x=1,y=-.5]{dS$_0$}
\Vertex[x=1,y=0]{mS$_0$}
\Vertex[x=1,y=.5]{uS$_0$}
\Vertex[x=0,y=-1]{t=0}
\Vertex[x=1,y=-1]{t=1}
\Edge[label = $\widetilde{p}_1$,color=red](S$_0$)(uS$_0$)
\Edges[label = $\widetilde{p}_2$,color=yellow](S$_0$,mS$_0$)
\Edges[label = $\widetilde{p}_3$,color=green](S$_0$,dS$_0$)
\Edges[label = $1+r$](t=0,t=1)
\end{tikzpicture}
\end{tabular}
&
\begin{enumerate}[I]
\item. $m < d < 1+r < u$
\item. $d < m < 1+r < u$
\item. $d < 1+r < m < u$
\item. $d < 1+r < u < m$
\end{enumerate}\\\hline
\end{tabularx}
\end{table}
\end{document}




centry by a one-cell nested table with acentry, is doing nothing at all. – David Carlisle Jul 14 '17 at 07:46