-static docstring const lyxgreyedout_def = from_ascii(
- "%% The greyedout annotation environment\n"
- "\\newenvironment{lyxgreyedout}\n"
- " {\\textcolor{note_fontcolor}\\bgroup\\ignorespaces}\n"
- " {\\ignorespacesafterend\\egroup}\n");
-
-static docstring const lyxgreyedout_rtl_def = from_ascii(
- "%% The greyedout annotation environment (with RTL support)\n"
- "\\NewEnviron{lyxgreyedout}{%\n"
- "\\if@rl%\n"
- "\\everypar{\\textcolor{note_fontcolor}\\beginL\\ignorespaces}%\n"
- "\\BODY\\everypar{\\ignorespacesafterend\\endL}\n"
- "\\else%\n"
- "\\textcolor{note_fontcolor}\\bgroup\\ignorespaces%\n"
- "\\BODY\\ignorespacesafterend\\egroup\n"
- "\\fi}\n");
-
-static docstring const lyxgreyedout_luartl_def = from_ascii(
- "%% The greyedout annotation environment (with RTL support)\n"
- "\\NewEnviron{lyxgreyedout}{%\n"
- "\\if@RTL%\n"
- "\\everypar{\\color{note_fontcolor}\\pardir TRT \\textdir TRT\\ignorespaces}%\n"
- "\\BODY\\everypar{\\ignorespacesafterend}\n"
- "\\else%\n"
- "\\textcolor{note_fontcolor}\\bgroup\\ignorespaces%\n"
- "\\BODY\\ignorespacesafterend\\egroup\n"
- "\\fi}\n");
-
-static docstring const lyxgreyedout_luartl_babel_def = from_ascii(
- "%% The greyedout annotation environment (with RTL support)\n"
- "\\NewEnviron{lyxgreyedout}{%\n"
- "\\if@rl%\n"
- "\\everypar{\\color{note_fontcolor}\\pardir TRT \\textdir TRT\\ignorespaces}%\n"
- "\\BODY\\everypar{\\ignorespacesafterend}\n"
- "\\else%\n"
- "\\textcolor{note_fontcolor}\\bgroup\\ignorespaces%\n"
- "\\BODY\\ignorespacesafterend\\egroup\n"
- "\\fi}\n");
+static docstring const cellvarwidth_def = from_ascii(
+ "%% Variable width box for table cells\n"
+ "\\newenvironment{cellvarwidth}[1][t]\n"
+ " {\\begin{varwidth}[#1]{\\linewidth}}\n"
+ " {\\@finalstrut\\@arstrutbox\\end{varwidth}}\n");