File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ cat(latex)
5151parsed <- parseLatex(latex)
5252# This is a blank followed by a table; drop the blank
5353table <- parsed[[find_env(parsed, "tabular")]]
54+ # Break up the table into individual cells
55+ table <- prepare_table(table)
5456# Get the alignment options from the content
5557brace_options(get_contents(table))
5658tableCell(table, 2,2) # The title counts!
Original file line number Diff line number Diff line change @@ -53,11 +53,13 @@ cat(latex)
5353parsed <- parseLatex(latex )
5454# This is a blank followed by a table; drop the blank
5555table <- parsed [[find_env(parsed , " tabular" )]]
56+ # Break up the table into individual cells
57+ table <- prepare_table(table )
5658# Get the alignment options from the content
5759brace_options(get_contents(table ))
5860# > {l|r|r}
5961tableCell(table , 2 ,2 ) # The title counts!
60- # > 21
62+ # > 21
6163tableCell(table , 2 ,2 ) <- " Changed!"
6264table
6365# > ENVIRONMENT: \begin{tabular}[t]{l|r|r}
You can’t perform that action at this time.
0 commit comments