1

I want to add this table using a lyx shortcut: enter image description here

The LaTex code is as follows:

\begin{tabular}{|c|c|c|c|c|c|c|c|c|}
\hline 
\textenglish[variant=american]{state} & \LRE{$P\left[kPa\right]$} & \LRE{$T\left[c\lyxmathsym{\textdegree}\right]$} & \LRE{$v\left[m^{3}/kg\right]$} & \LRE{$u\left[kJ/kg\right]$} & \LRE{$h\left[kJ/kg\right]$} & \LRE{$m\left[kg\right]$} & \LRE{$V\left[m^{3}\right]$} & \textenglish[variant=american]{phase}\tabularnewline
\hline 
\hline 
\LRE{$A1$} &  &  &  &  &  &  &  & \tabularnewline
\hline 
\LRE{$A2$} &  &  &  &  &  &  &  & \tabularnewline
\hline 
\LRE{$B1$} &  &  &  &  &  &  &  & \tabularnewline
\hline 
\LRE{$B2$} &  &  &  &  &  &  &  & \tabularnewline
\hline 
\end{tabular}

what is the needed shortcut code?

1 Answers1

0

I know this question is quite old, but you might want to consider using AutoHotkey to achieve something like this.

AutoHotkey is useful nearly every and any time you want to automate a user action on a PC, because it can emulate any keyboard action.

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center. – Community Apr 14 '23 at 13:36