leondz / cavat

Automatically exported from code.google.com/p/cavat
3 stars 1 forks source link

Labels on "as tex" output are convoluted #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For example,

cavat> show distribution of tlink signaltext where reltype is before as tex
\begin{table}
\caption{Distribution of Tlink s.text when Reltype is "before"}
\label{tab:Tlinks.textwhenReltypeis"before"-Frequency-Proportion-
distribution}

Original issue reported on code.google.com by leonderczynski on 18 Mar 2010 at 9:38

GoogleCodeExporter commented 9 years ago
* Caption has incorrect backticks
* Label is ridiculous
* s.text should be "signal text"

Original comment by leonderczynski on 19 Mar 2010 at 2:24

GoogleCodeExporter commented 9 years ago
Fixed:

cavat> show distribution of tlink reltype where signaltext is before as tex
\begin{table}
\caption{Distribution of TLINK reltype when signal text is ``before"}
\label{tab:TLINKreltypewhensignaltextisbefore-Frequency-Proportion-distribution}
\begin{tabular}{ | l | r | r | r | }
\hline
\textbf{TLINK reltype when signal text is "before"} & \textbf{Frequency} & 
\textbf{Proportion} \\
\hline
BEFORE & 24 & 82.8\% \\
BEGINS & 2 & 6.9\% \\
ENDS & 2 & 6.9\% \\
IBEFORE & 1 & 3.45\% \\
\hline
Total & 29 &  \\
\hline
\end{tabular}
\end{table}

cavat> show distribution of tlink signaltext where reltype is before as tex
\begin{table}
\caption{Distribution of TLINK signal text when Reltype is ``before"}
\label{tab:TLINKsignaltextwhenReltypeisbefore-Frequency-Proportion-distribution}
\begin{tabular}{ | l | r | r | r | }
\hline
\textbf{TLINK signal text when Reltype is "before"} & \textbf{Frequency} & 
\textbf{Proportion} \\
\hline
before & 24 & 31.6\% \\
Previously & 10 & 13.2\% \\
by & 7 & 9.21\% \\
already & 6 & 7.89\% \\
Earlier & 6 & 7.89\% \\
until & 5 & 6.58\% \\
then & 4 & 5.26\% \\
prior to & 2 & 2.63\% \\
followed by & 2 & 2.63\% \\
when & 1 & 1.32\% \\
in & 1 & 1.32\% \\
since & 1 & 1.32\% \\
prior & 1 & 1.32\% \\
later & 1 & 1.32\% \\
Once & 1 & 1.32\% \\
pending & 1 & 1.32\% \\
ahead of & 1 & 1.32\% \\
in anticipation of & 1 & 1.32\% \\
to & 1 & 1.32\% \\
\hline
Total & 76 &  \\
\hline
\end{tabular}
\end{table}

Original comment by leonderczynski on 19 Mar 2010 at 4:06

GoogleCodeExporter commented 9 years ago

Original comment by leonderczynski on 19 Mar 2010 at 4:06