Import \textvisiblespace, \negmedspace and \negthickspace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39942 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2011-10-23 11:16:11 +00:00
parent a9322bc2cf
commit 5247de506c
3 changed files with 10 additions and 7 deletions

View File

@ -92,9 +92,7 @@ Format LaTeX feature LyX feature
409 XeTeX \use_non_tex_fonts 409 XeTeX \use_non_tex_fonts
411 babel etc. \language_package 411 babel etc. \language_package
412 tabular* InsetTabular 412 tabular* InsetTabular
414 \textvisiblespace InsetSpace
415 undertilde.sty fonts 415 undertilde.sty fonts
416 \negmedspace, \negthinspace InsetSpace
416 \hfill, \enspace, \hspace*, InsetMathSpace 416 \hfill, \enspace, \hspace*, InsetMathSpace
\hspace*{\fill} \hspace*{\fill}

View File

@ -313,6 +313,8 @@ We also handle defined spaces:
Interword\ a Interword\ a
Visible\textvisiblespace{}a
Thin\,a Thin\,a
Medium\:a Medium\:a

View File

@ -210,15 +210,18 @@ char const * const known_pdftex_graphics_formats[] = {"png", "pdf", "jpg",
char const * const known_tex_extensions[] = {"tex", 0}; char const * const known_tex_extensions[] = {"tex", 0};
/// spaces known by InsetSpace /// spaces known by InsetSpace
char const * const known_spaces[] = { " ", "space", ",", "thinspace", "quad", char const * const known_spaces[] = { " ", "space", ",",
"qquad", "enspace", "enskip", "negthinspace", "hfill", "dotfill", "hrulefill", "thinspace", "quad", "qquad", "enspace", "enskip",
"leftarrowfill", "rightarrowfill", "upbracefill", "downbracefill", 0}; "negthinspace", "negmedspace", "negthickspace", "textvisiblespace",
"hfill", "dotfill", "hrulefill", "leftarrowfill", "rightarrowfill",
"upbracefill", "downbracefill", 0};
/// the same as known_spaces with .lyx names /// the same as known_spaces with .lyx names
char const * const known_coded_spaces[] = { "space{}", "space{}", char const * const known_coded_spaces[] = { "space{}", "space{}",
"thinspace{}", "thinspace{}", "quad{}", "qquad{}", "enspace{}", "enskip{}", "thinspace{}", "thinspace{}", "quad{}", "qquad{}", "enspace{}", "enskip{}",
"negthinspace{}", "hfill{}", "dotfill{}", "hrulefill{}", "leftarrowfill{}", "negthinspace{}", "negmedspace{}", "negthickspace{}", "textvisiblespace{}",
"rightarrowfill{}", "upbracefill{}", "downbracefill{}", 0}; "hfill{}", "dotfill{}", "hrulefill{}", "leftarrowfill{}", "rightarrowfill{}",
"upbracefill{}", "downbracefill{}", 0};
/// These are translated by LyX to commands like "\\LyX{}", so we have to put /// These are translated by LyX to commands like "\\LyX{}", so we have to put
/// them in ERT. "LaTeXe" must come before "LaTeX"! /// them in ERT. "LaTeXe" must come before "LaTeX"!