![1. 尽量贴近原版(颜色保留,但代码比较乱)](https://linux22.com/image/418280/1.%20%E5%B0%BD%E9%87%8F%E8%B4%B4%E8%BF%91%E5%8E%9F%E7%89%88%EF%BC%88%E9%A2%9C%E8%89%B2%E4%BF%9D%E7%95%99%EF%BC%8C%E4%BD%86%E4%BB%A3%E7%A0%81%E6%AF%94%E8%BE%83%E4%B9%B1%EF%BC%89.png)
我使用 MS Word 制作了下表,我想在 MacOS 或 Linux 上找到一个工具(在线或通过命令行)将其转换为 LaTeX 表:
如您所见,从头开始用 LaTeX 制作此表格非常复杂。这就是为什么我想知道是否有人知道现有的工具(在线或命令行)可以生成相同的表格,但使用我可以编译以获得相同渲染的 LaTeX 源?目前,我在网上尝试了一些在线工具,但渲染效果非常糟糕。
更新 1:感谢大家的不同回答。我的问题似乎比我想象的要困难。我尝试使用在线转换器:
调用 PdfLaTeX 后,渲染效果非常好,但无法处理 LaTeX 源本身,因为有太多微调函数,内容本身(由大量数字组成)以及文本根本无法利用,即我无法在不改变所有格式和表格渲染的情况下对其进行修改。
以下是该在线转换器生成的 LaTeX 源文件的开头示例:
\documentclass{article}
\usepackage{amsmath}
\usepackage{color,pxfonts,fix-cm}
\usepackage{latexsym}
\usepackage[mathletters]{ucs}
\DeclareUnicodeCharacter{32}{$\ $}
\DeclareUnicodeCharacter{8801}{$\equiv$}
\DeclareUnicodeCharacter{58}{$\colon$}
\DeclareUnicodeCharacter{963}{$\sigma$}
\DeclareUnicodeCharacter{46}{\textperiodcentered}
\DeclareUnicodeCharacter{60}{\textless}
\DeclareUnicodeCharacter{8226}{$\bullet$}
\DeclareUnicodeCharacter{171}{\guillemotleft}
\DeclareUnicodeCharacter{187}{\guillemotright}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage{pict2e}
\usepackage{wasysym}
\usepackage[english]{babel}
\usepackage{tikz}
\pagestyle{empty}
\usepackage[margin=0in,paperwidth=595pt,paperheight=841pt]{geometry}
\begin{document}
\definecolor{color_29791}{rgb}{0,0,0}
\definecolor{color_280669}{rgb}{1,0.705882,0.952941}
\definecolor{color_209140}{rgb}{0.705882,0.776471,0.905882}
\definecolor{color_208148}{rgb}{0.701961,0.772549,0.905882}
\definecolor{color_274846}{rgb}{1,0,0}
\definecolor{color_283006}{rgb}{1,1,1}
\definecolor{color_282974}{rgb}{1,0.996078,0.996078}
\definecolor{color_280637}{rgb}{1,0.701961,0.94902}
\begin{tikzpicture}[overlay]\path(0pt,0pt);\end{tikzpicture}
\begin{picture}(-5,0)(2.5,0)
\put(56.03423,-71.84601){\fontsize{12}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(473.5844,-71.84601){\fontsize{12}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(56.03423,-85.76599){\fontsize{12}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(473.5844,-85.76599){\fontsize{12}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(56.03423,-99.44604){\fontsize{12}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(473.5844,-99.44604){\fontsize{12}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(56.03423,-113.366){\fontsize{12}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(473.5844,-113.366){\fontsize{12}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(480.8331,-113.366){\fontsize{12}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\end{picture}
\begin{tikzpicture}[overlay]
\path(0pt,0pt);
\begin{scope}
\clip
(91pt, -707pt) -- (474pt, -707pt)
-- (474pt, -707pt)
-- (474pt, 1pt)
-- (474pt, 1pt)
-- (91pt, 1pt) -- cycle
;
\filldraw[color_280669][nonzero rule]
(99.2343pt, 0.633972pt) -- (198.1143pt, 0.633972pt)
-- (198.1143pt, 0.633972pt)
-- (198.1143pt, -177.206pt)
-- (198.1143pt, -177.206pt)
-- (99.2343pt, -177.206pt) -- cycle
;
\end{scope}
\begin{scope}
\clip
(99pt, -178pt) -- (199pt, -178pt)
-- (199pt, -178pt)
-- (199pt, 1pt)
-- (199pt, 1pt)
-- (99pt, 1pt) -- cycle
;
\filldraw[color_280669][nonzero rule]
(104.5143pt, -83.84601pt) -- (193.0743pt, -83.84601pt)
-- (193.0743pt, -83.84601pt)
-- (193.0743pt, -92.72601pt)
-- (193.0743pt, -92.72601pt)
-- (104.5143pt, -92.72601pt) -- cycle
;
\end{scope}
\end{tikzpicture}
\begin{picture}(-5,0)(2.5,0)
\put(104.5142,-91.04602){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}?}
\end{picture}
\begin{tikzpicture}[overlay]
\path(0pt,0pt);
\begin{scope}
\clip
(91pt, -707pt) -- (474pt, -707pt)
-- (474pt, -707pt)
-- (474pt, 1pt)
-- (474pt, 1pt)
-- (91pt, 1pt) -- cycle
;
\filldraw[color_209140][nonzero rule]
(198.8343pt, 0.633972pt) -- (466.1943pt, 0.633972pt)
-- (466.1943pt, 0.633972pt)
-- (466.1943pt, -92.00598pt)
-- (466.1943pt, -92.00598pt)
-- (198.8343pt, -92.00598pt) -- cycle
;
\end{scope}
\begin{scope}
\clip
(198pt, -93pt) -- (467pt, -93pt)
-- (467pt, -93pt)
-- (467pt, 1pt)
-- (467pt, 1pt)
-- (198pt, 1pt) -- cycle
;
\filldraw[color_209140][nonzero rule]
(203.8743pt, 0.633972pt) -- (460.9143pt, 0.633972pt)
-- (460.9143pt, 0.633972pt)
-- (460.9143pt, -8.966003pt)
-- (460.9143pt, -8.966003pt)
-- (203.8743pt, -8.966003pt) -- cycle
;
\end{scope}
\end{tikzpicture}
\begin{picture}(-5,0)(2.5,0)
\put(221.8743,-6.80603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\end{picture}
\begin{tikzpicture}[overlay]
\path(0pt,0pt);
\begin{scope}
\clip
(198pt, -93pt) -- (467pt, -93pt)
-- (467pt, -93pt)
-- (467pt, 1pt)
-- (467pt, 1pt)
-- (198pt, 1pt) -- cycle
;
\filldraw[color_208148][nonzero rule]
(203.8743pt, -8.966003pt) -- (460.9143pt, -8.966003pt)
-- (460.9143pt, -8.966003pt)
-- (460.9143pt, -17.60602pt)
-- (460.9143pt, -17.60602pt)
-- (203.8743pt, -17.60602pt) -- cycle
;
\end{scope}
\end{tikzpicture}
\begin{picture}(-5,0)(2.5,0)
\put(203.8743,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}Ge}
\put(213.0344,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}n}
\put(217.2016,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}e}
\put(220.528,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}r}
\put(223.8544,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}a}
\put(227.6049,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}l}
\put(229.6889,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(231.5645,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}Ou}
\put(241.5654,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}t}
\put(244.0659,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}p}
\put(248.2331,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}u}
\put(252.4003,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}t}
\put(254.9008,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(256.7765,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}F}
\put(261.3603,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}o}
\put(265.1107,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}r}
\put(268.4372,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}m}
\put(274.6875,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}a}
\put(278.438,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}t}
\put(280.9469,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(282.8221,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}: }
\put(287.1923,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(289.065,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}(a}
\put(295.3101,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}/}
\put(297.3911,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}b}
\put(301.5627,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}) }
\put(305.9329,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}(c}
\put(311.7614,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}/}
\put(313.8423,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}d}
\put(318.0139,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}) }
\put(322.3985,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}[e}
\put(328.227,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791},}
\put(330.0997,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}f]}
\put(335.095,-15.92603){\fontsize{7.44}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\end{picture}
\begin{tikzpicture}[overlay]
\path(0pt,0pt);
\begin{scope}
\clip
(198pt, -93pt) -- (467pt, -93pt)
-- (467pt, -93pt)
-- (467pt, 1pt)
-- (467pt, 1pt)
-- (198pt, 1pt) -- cycle
;
\filldraw[color_208148][nonzero rule]
(203.8743pt, -17.60602pt) -- (460.9143pt, -17.60602pt)
-- (460.9143pt, -17.60602pt)
-- (460.9143pt, -26.966pt)
-- (460.9143pt, -26.966pt)
-- (203.8743pt, -26.966pt) -- cycle
;
\end{scope}
\end{tikzpicture}
\begin{picture}(-5,0)(2.5,0)
\put(332.4243,-25.04602){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\end{picture}
\begin{tikzpicture}[overlay]
\path(0pt,0pt);
\begin{scope}
\clip
(198pt, -93pt) -- (467pt, -93pt)
-- (467pt, -93pt)
-- (467pt, 1pt)
-- (467pt, 1pt)
-- (198pt, 1pt) -- cycle
;
\filldraw[color_208148][nonzero rule]
(203.8743pt, -26.966pt) -- (460.9143pt, -26.966pt)
-- (460.9143pt, -26.966pt)
-- (460.9143pt, -36.32599pt)
-- (460.9143pt, -36.32599pt)
-- (203.8743pt, -36.32599pt) -- cycle
;
\end{scope}
\end{tikzpicture}
\begin{picture}(-5,0)(2.5,0)
\put(203.8743,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}1)}
\put(210.5366,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(212.5384,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}Fi}
\put(219.6505,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}r}
\put(223.1987,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}s}
\put(226.3112,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}t}
\put(228.9724,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(230.9682,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}c}
\put(234.5163,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}o}
\put(238.5159,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}upl}
\put(249.6436,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}e}
\put(253.1917,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(255.1876,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}o}
\put(259.1872,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}f}
\put(261.8483,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(263.8441,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}v}
\put(267.8438,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}a}
\put(271.8434,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}l}
\put(274.0689,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}ue}
\put(282.0681,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}s}
\put(285.1985,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(287.1985,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}: }
\put(291.8618,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}W}
\put(299.8641,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}i}
\put(302.0849,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}th}
\put(309.1955,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}o}
\put(313.1982,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}u}
\put(317.6445,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}t }
\put(322.3119,-34.50952){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}�}
\put(326.5189,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}?}
\put(328.2805,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}â¡}
\put(334.2572,-34.50952){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}?}
\put(336.0229,-34.50952){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}(a}
\put(343.257,-34.50952){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}?}
\put(345.0208,-34.50952){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}/}
\put(348.9467,-34.50952){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}?}
\put(350.7105,-34.50952){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}b}
\put(355.0958,-34.50952){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791})}
\put(358.4211,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(360.4213,-34.646){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\end{picture}
\begin{tikzpicture}[overlay]
\path(0pt,0pt);
\begin{scope}
\clip
(198pt, -93pt) -- (467pt, -93pt)
-- (467pt, -93pt)
-- (467pt, 1pt)
-- (467pt, 1pt)
-- (198pt, 1pt) -- cycle
;
\filldraw[color_208148][nonzero rule]
(203.8743pt, -36.32599pt) -- (460.9143pt, -36.32599pt)
-- (460.9143pt, -36.32599pt)
-- (460.9143pt, -45.68597pt)
-- (460.9143pt, -45.68597pt)
-- (203.8743pt, -45.68597pt) -- cycle
;
\end{scope}
\end{tikzpicture}
\begin{picture}(-5,0)(2.5,0)
\put(203.8743,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}2)}
\put(210.5384,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}Se}
\put(218.5344,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}c}
\put(222.081,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}o}
\put(226.079,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}nd }
\put(236.9801,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}c}
\put(240.5267,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}o}
\put(244.5247,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}upl}
\put(255.6476,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}e}
\put(259.1941,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(261.1963,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}o}
\put(265.1943,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}f}
\put(267.8618,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(269.864,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}v}
\put(273.862,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}a}
\put(277.86,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}l}
\put(280.084,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}ue}
\put(288.08,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}s}
\put(291.1909,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(293.1931,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}:}
\put(295.8606,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(297.8628,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}W}
\put(305.8604,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}i}
\put(308.0843,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}t}
\put(310.7517,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}h }
\put(317.2102,-43.86957){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}�}
\put(321.4172,-43.86957){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}?}
\put(323.1829,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}â¡}
\put(329.1596,-43.86957){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}?}
\put(330.925,-43.86957){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}(c?}
\put(339.5428,-43.86957){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}/}
\put(343.4688,-43.86957){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}?}
\put(345.2325,-43.86957){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}d}
\put(349.6733,-43.86957){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791})}
\put(353.0033,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(357.0032,-44.00598){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\end{picture}
\begin{tikzpicture}[overlay]
\path(0pt,0pt);
\begin{scope}
\clip
(198pt, -93pt) -- (467pt, -93pt)
-- (467pt, -93pt)
-- (467pt, 1pt)
-- (467pt, 1pt)
-- (198pt, 1pt) -- cycle
;
\filldraw[color_208148][nonzero rule]
(203.8743pt, -45.68597pt) -- (460.9143pt, -45.68597pt)
-- (460.9143pt, -45.68597pt)
-- (460.9143pt, -55.04602pt)
-- (460.9143pt, -55.04602pt)
-- (203.8743pt, -55.04602pt) -- cycle
;
\end{scope}
\end{tikzpicture}
\begin{picture}(-5,0)(2.5,0)
\put(203.8743,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}3)}
\put(210.5366,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(212.5384,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}In}
\put(220.1035,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}si}
\put(225.4432,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}d}
\put(229.895,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}e }
\put(235.4406,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}ea}
\put(242.99,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}ch}
\put(250.9908,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(252.9874,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}co}
\put(260.5367,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}u}
\put(264.9886,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}p}
\put(269.4404,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}l}
\put(271.6667,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}e }
\put(277.2123,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}o}
\put(281.2127,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}f}
\put(283.8746,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(285.8712,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}v}
\put(289.8716,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}a}
\put(293.872,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}l}
\put(296.0984,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}u}
\put(300.5502,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}es }
\put(309.2091,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}:}
\put(311.871,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(313.8677,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}(}
\put(316.5296,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}a}
\put(320.53,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}1}
\put(324.5304,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(326.527,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}/}
\put(328.7533,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(330.75,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}b}
\put(335.2018,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}1}
\put(339.2022,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791})}
\put(341.8641,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(343.8607,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}=}
\put(348.4235,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(350.4201,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}(}
\put(353.082,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}F}
\put(357.9695,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}o}
\put(361.9698,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}M}
\put(369.5184,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}(}
\put(372.1803,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}1}
\put(376.1807,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}0}
\put(380.1811,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(382.1777,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}b}
\put(386.6296,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}i}
\put(388.8559,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}n}
\put(393.3077,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}s }
\put(398.4177,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791})}
\put(401.0796,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\put(403.0969,-53.22955){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}/?}
\put(408.7885,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}Fo}
\put(417.6747,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}M}
\put(425.2224,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}(}
\put(427.8836,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}1}
\put(431.8832,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}1}
\put(435.8828,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}bi}
\put(442.5593,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791}ns}
\put(450.123,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791})}
\put(452.7884,-53.22955){\fontsize{7.842352}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791})}
\put(456.1126,-53.36603){\fontsize{7.92}{1}\usefont{T1}{ptm}{m}{n}\selectfont\color{color_29791} }
\end{picture}
\begin{tikzpicture}[overlay]
\path(0pt,0pt);
\begin{scope}
\clip
(198pt, -93pt) -- (467pt, -93pt)
-- (467pt, -93pt)
-- (467pt, 1pt)
-- (467pt, 1pt)
-- (198pt, 1pt) -- cycle
;
\filldraw[color_208148][nonzero rule]
(203.8743pt, -55.04602pt) -- (460.9143pt, -55.04602pt)
-- (460.9143pt, -55.04602pt)
-- (460.9143pt, -64.16602pt)
-- (460.9143pt, -64.16602pt)
-- (203.8743pt, -64.16602pt) -- cycle
;
\end{scope}
\end{tikzpicture}
我无法简单地处理这种源。你可以告诉我自己从头开始制作 LaTeX,但这将是一项巨大的工作。
您认为 Aspose 的商业产品真的高效吗?或者其他商业 PDF -> LaTeX 转换器产品也一样?
我正在使用 MacOS Catalina 10.15,正在寻找一种非常准确的 OCR 来生成易于修改的 LaTeX 源(我也尝试过 Mathpix,但没有成功)。我准备购买商业产品,但我也不想购买昂贵的产品。
我已尝试过pandoc
,但结果对我来说是灾难性的。
更新2:我已将 PDF 和 docx 文件放在网上,以便有人能够测试将 PDF 或 docx 文件转换为 Latex 源的最佳方法:
欢迎任何建议/意见/帮助。
答案1
我更新了上面的答案以处理新表格。在已经概述的转换过程的顶部,我在 Excel 表中在每行的顶部和底部添加了空白行,以改善文本和水平线之间的分离,我还在生成的代码中将所有 p {xx }| 列替换为 l| 列,最后将其全部更改为。 midline
除了hhline{}
在某些地方包含伽马符号外,我没有触及原始内容。
为了处理白线进入彩色单元格的问题,我使用了 https://tex.stackexchange.com/users/2388/ulrike-fischer 在 重新审视 hhline 和单元格颜色问题
我发现在 Excel(不是 MS Word!)中创建复杂表格然后将其导出到 LaTeX 要容易得多。获得的代码更容易编辑以获得所需的最终格式。
\documentclass[a4paper,10pt]{article}
\usepackage{colortbl}
\usepackage{multirow}
\usepackage{hhline}
\setlength\arrayrulewidth{0.6pt}\arrayrulecolor{black}
\usepackage[margin=.2in]{geometry}
\begin{document}
% Table generated by Excel2LaTeX from sheet 'Sheet1'
\begin{table}[htbp]
\footnotesize %% added
\centering
\caption{Add caption}
\begin{tabular}{|l|l|l|l|}
% \cmidrule{2-4}
\hhline{~---}
\multicolumn{1}{r|}{\multirow{16}[3]{*}{}} & \multicolumn{3}{l|}{\cellcolor[rgb]{ .682, .667, .667}} \\[-0.5pt]
\multicolumn{1}{r|}{} & \multicolumn{3}{l|}{\cellcolor[rgb]{ .682, .667, .667}
\textbf{General Output Format : (a/b) (c/d) [e,f]}} \\[-0.5pt]
\multicolumn{1}{r|}{} & \multicolumn{3}{l|}{\cellcolor[rgb]{ .682, .667, .667}
\textbf{1) First couple of values : Without (a / b) } }\\[-0.5pt]
\multicolumn{1}{r|}{} & \multicolumn{3}{l|}{\cellcolor[rgb]{ .682, .667, .667}
\textbf{2)Second couple of values : With (c / d) }} \\[-0.5pt]
\multicolumn{1}{r|}{} & \multicolumn{3}{l|}{\cellcolor[rgb]{ .682, .667, .667}
\textbf{3) Inside each couple of values : (a1 / b1) = (FoM(10 bins ) / FoM(11bins))}} \\[-0.5pt]
\multicolumn{1}{r|}{} & \multicolumn{3}{l|}{\cellcolor[rgb]{ .682, .667, .667}
\textbf{4) Inside a couple of values for GCsp: (a2 / b2) = FoM(4 bins) /FoM(5 bins)}} \\[-0.5pt]
\multicolumn{1}{r|}{} & \multicolumn{3}{l|}{\cellcolor[rgb]{ .682, .667, .667}
\textbf{5) Standard deviation for each $\gamma$ case (within brackets) : σ on (c,d) $\gamma$ cases [e, f] = [σc, σd]}} \\[-0.5pt]
\multicolumn{1}{r|}{} & \multicolumn{3}{c|}{\cellcolor[rgb]{ .682, .667, .667}} \\[-0.5pt]
% \cmidrule{2-4}
\hhline{~---}
\multicolumn{1}{r|}{} & \cellcolor[rgb]{ .816, .808, .808} & \cellcolor[rgb]{ .816, .808, .808} & \cellcolor[rgb]{ .816, .808, .808}\\[-0,5pt]
\multicolumn{1}{l|}{} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}\textcolor[rgb]{ .267, .447, .769}{\textbf{Pessimistic (IST case):}}} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}\textbf{Semi - Pessimistic:}} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}\textcolor[rgb]{ .267, .447, .769}{\textbf{Optimistic (IST case):}}}\\[-0,5pt]
\multicolumn{1}{l|}{} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}kmax = 0.25 h.Mpc-1} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}kmax = 0.25 h.Mpc-1} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}kmax = 0.3 h.Mpc-1}\\[-0,5pt]
\multicolumn{1}{l|}{} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}lmax(WL) = 1500} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}lmax(WL) = 1500} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}lmax(WL) = 5000}\\[-0,5pt]
\multicolumn{1}{l|}{} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}lmax(GCph) = 750} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}lmax(GCph) = 750} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}lmax(GCph) = 3000}\\[-0,5pt]
\multicolumn{1}{l|}{} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}lmax(XC) = 750} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}lmax(XC) = 750} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}lmax(XC) = 3000}\\[-0,5pt]
\multicolumn{1}{l|}{} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}sig\_p, sig\_v to estimate} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}sig\_p, sig\_v to estimate} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}sig\_p, sig\_v fixed}\\[-0,5pt]
\multicolumn{1}{l|}{} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}Zcut for GCsp combined with GCph} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}No Zcut for GCsp combined } & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}No Zcut for GCsp combined }\\[-0,5pt]
\multicolumn{1}{l|}{} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}with GCph } & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}with GCph} & \multicolumn{1}{l|}{\cellcolor[rgb]{ .816, .808, .808}with GCph}\\[-0,5pt]
\multicolumn{1}{l|}{} & \cellcolor[rgb]{ .816, .808, .808} & \cellcolor[rgb]{ .816, .808, .808} & \cellcolor[rgb]{ .816, .808, .808}\\[-0,5pt]
% \cmidrule{2-4}
\hhline{----}
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{GCsp - No $\gamma$ (4/5 bias)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(14.18 / 13.81)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(14.18 / 13.81)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(56.14 / 52.61)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{ GCsp - $\gamma$ (4/5 bias) } & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(7.39 / 6.84)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(7.39 / 6.84)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (37.73 / 34.48)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.182 , 0.181]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.182 , 0.181 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.136 , 0.133 ]}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
% \midrule
\hhline{----}
\rowcolor[rgb]{ .816, .808, .808} & & & \\[-0,5pt]
\rowcolor[rgb]{ .816, .808, .808} & \multicolumn{1}{l|}{\textbf{Pessimistic:}} & \multicolumn{1}{l|}{\textbf{Semi- Pessimistic case =}} & \multicolumn{1}{l|}{\textcolor[rgb]{ .267, .447, .769}{\textbf{Optimistic (IST case):}}}\\[-0,5pt]
\rowcolor[rgb]{ .816, .808, .808} \multicolumn{1}{|l|}{\textbf{Number of photo bias:}} & \multicolumn{1}{l|}{\textbf{(10) / Extended (11)}} & \multicolumn{1}{l|}{\textcolor[rgb]{ .267, .447, .769}{\textbf{Pessimistic (IST case):}}} & \multicolumn{1}{l|}{\textbf{(10) / Extended (11)}}\\[-0,5pt]
\rowcolor[rgb]{ .816, .808, .808} \multicolumn{1}{|l|}{\textbf{(No spectro bias here)}} & \multicolumn{1}{l|}{\textbf{Zcut < 0.9}} & \multicolumn{1}{l|}{\textbf{(10) / Extended (11)}} & \multicolumn{1}{l|}{\textbf{No-Zcut}}\\[-0,5pt]
\rowcolor[rgb]{ .816, .808, .808} & & \multicolumn{1}{l|}{\textbf{No-Zcut}} & \\[-0,5pt]
% \midrule
\hhline{----}
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{GCph} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(1.69 / 1.69)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(4.25 / 4.93)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(61.80 / 66.55)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (1.10 / 1.10)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (3.15 / 3.78)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (55.08 / 59.48)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.466 , 0.466 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.429 , 0.409 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.129 , 0.128 ]}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
% \midrule
\hhline{----}
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{WL} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(24.09 / 25.72)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(24.09 / 25.72)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(46.82 / 50.65)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(7.13 / 8.01)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(7.13 / 8.01)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(13.97 / 15.61)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.191 , 0.180 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.191 , 0.180 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.09 , 0.08 ]}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
% \midrule
\hhline{----}
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{l|}{GCph + WL + XC} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(211.52 / 213.50) } & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(358.41 / 382.86)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(1006.13 / 1035.82)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(75.70 / 77.80)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (128.96 / 142.14)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(441.97 / 477.52)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.079 , 0.077 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.062 , 0.058 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.021 , 0.020 ]}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
% \midrule
\hhline{----}
\rowcolor[rgb]{ .816, .808, .808} & & & \\[-0,5pt]
\rowcolor[rgb]{ .816, .808, .808} \multicolumn{1}{|l|} {\textbf{Synthesis with simple sum }} &
\multicolumn{1}{l|}{\textcolor[rgb]{ .267, .447, .769}{Pessimistic (IST case): }} & \multicolumn{1}{l|}{\textbf{Semi-Pessimistic case:}} &
\multicolumn{1}{l|}{\textcolor[rgb]{ .267, .447, .769} {\textbf{Optimistic (IST case):}}}\\[-0,5pt]
\rowcolor[rgb]{ .816, .808, .808} \multicolumn{1}{|l|} {\textbf{(GCsp+GCph+WL) and }} &
\multicolumn{1}{l|}{\textcolor[rgb]{ .267, .447, .769}} & \multicolumn{1}{l|}{} &
\multicolumn{1}{l|}{\textcolor[rgb]{ .267, .447, .769} }\\[-0,5pt]
\rowcolor[rgb]{ .816, .808, .808} \multicolumn{1}{|l|} {\textbf{GCsp+ (GCph+WL+XC)}} & \multicolumn{1}{l|}{\textbf{ zcut (5 first bias for GCph)}} & \multicolumn{1}{l|}{\textbf{(10) / Extended (11)}} & \multicolumn{1}{l|}{\textbf{(10) / Extended (11)}}\\[-0,5pt]
\rowcolor[rgb]{ .816, .808, .808} \multicolumn{1}{|l|} {} & \multicolumn{1}{l|}{\textbf{ zcut < 0.9}} & \multicolumn{1}{l|}{\textbf{No-Zcut}} & \multicolumn{1}{l|}{ \textbf{No-Zcut}}\\[-0,5pt]
\rowcolor[rgb]{ .816, .808, .808} & & & \\[-0,5pt]
% \midrule
\hhline{----}
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{a) Specifications IST :} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (121.73 / 125.30)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(151.05 / 156.16)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (351.18 / 367.42) }\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{· (4 bias spectro) : } & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (99.81 / 102.38)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(119.72 /127.41)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(262.88 /279.53)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{GCsp + GCph + WL } & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} [ 0.036, 0.035 ] } & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.035 , 0.035 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.018 , 0.017 ]}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
% \midrule
\hhline{----}
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{b) Specifications IST:} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (384.80 / 386.64)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(550.01 / 573.48)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(1220.39 / 1249.97) }\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{· (4 bias spectro): } & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (255.84 / 257.64 ) } & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(320.07 / 333.93)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(692.62 /725.96)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{GCsp + (GCph + WL + XC) } & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.031, 0.031 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.029 , 0.028 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.016 , 0.015 ]}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
% \midrule
\hhline{----}
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{c) New specifications} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(119.67 / 123.34)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(146.68 / 154.12)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(340.83 / 357.19)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{· Bias independent:} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (99.20 / 101.84 )} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(119.72 / 125.45)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(255.68 / 272.10)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{(5 bias spectro): } & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.035, 0.035 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.035 , 0.035 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.018 , 0.017 ]}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{GCsp + GCph + WL } & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
% \midrule
\hhline{----}
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{d) New specifications} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(389.00 / 386.80)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(548.22 / 571.35)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(1209.80 / 1235.09)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{· Bias independent :} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1} (259.32 / 261.08)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(320.84 / 334.05)} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(682.82 / 716.27)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{(5 bias spectro) : } & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.031, 0.030 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.029 , 0.028 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.016 , 0.015 ]}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{GCsp + (GCph + WL + XC)} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
% \midrule
\hhline{----}
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{e) « common bias » : ( No $\gamma$) ( $\gamma$) } &
\multicolumn{1}{c|}{\multirow{1}[1]{*}{\cellcolor[rgb]{ 1, 1, 1}\textcolor[rgb]{ .267, .447, .769}{\textbf{Not computable since }}}} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(781.09) (587.24)} &
\multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}(1565.86) (1254.87)}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} \multicolumn{1}{|l|}{· 5 Bias dependent :} & \multicolumn{1}{c|}{\multirow{1}[1]{*}{\cellcolor[rgb]{ 1, 1, 1}\textcolor[rgb]{ .267, .447, .769}{\textbf{z\_cut < 0.9}}}} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.017 ]} & \multicolumn{1}{l|}{\cellcolor[rgb]{ 1, 1, 1}[ 0.009 ]}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} GCsp + (GCph + WL + XC) & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
\rowcolor[rgb]{ .682, .667, .667} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1} & \cellcolor[rgb]{ 1, 1, 1}\\[-0,5pt]
% \midrule
\hhline{----}
\end{tabular}%
\label{tab:addlabel}%
\end{table}%
\end{document}
答案2
好吧,这可能是一个非常简单的解决方案,您已经想到了它。
在这个答案中,我将提出几个选项:
1. 尽量贴近原版(颜色保留,但代码比较乱)
为了尽可能接近原版,我建议使用以下解决方案:
- 安装 LibreOffice 并保存
Table_Synthesis_for_SO.docx
到Table_Synthesis_for_SO.odt
。 - 然后继续安装Writer2LaTeX扩展程序.libreoffice.org。
- 使用以下设置导出您的文档(您可以并且可能应该更改
US ASCII
为UTF-8
): - 这将创建以下文档:
% This file was converted to LaTeX by Writer2LaTeX ver. 1.6.1
% see http://writer2latex.sourceforge.net for more info
\documentclass[a4paper,12pt]{article}
\usepackage[ascii]{inputenc}
\usepackage[noenc]{tipa}
\usepackage{tipx}
\usepackage[geometry,weather,misc,clock]{ifsym}
\usepackage{pifont}
\usepackage{eurosym}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amssymb,amsfonts,textcomp}
\usepackage[T3,T1]{fontenc}
\usepackage[varg]{txfonts}\usepackage[english,french]{babel}
\usepackage{color}
\usepackage{fancyhdr}
\usepackage[top=2.501cm,bottom=1cm,left=2.501cm,right=2.501cm,nohead,nofoot]{geometry}
\usepackage{array}
\usepackage{supertabular}
\usepackage{hhline}
\usepackage{colortbl}
\usepackage{hyperref}
\hypersetup{pdftex, colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, urlcolor=blue, pdftitle=}
\providecommand\textsubscript[1]{\ensuremath{{}_{\text{#1}}}}
\makeatletter
\newcommand\arraybslash{\let\\\@arraycr}
\makeatother
\raggedbottom
% Paragraph styles
\renewcommand\familydefault{\rmdefault}
\newenvironment{stylePxxxiv}{\clearpage\setcounter{page}{1}\pagestyle{Standard}
\setlength\leftskip{0cm}\setlength\rightskip{0cm plus 1fil}\setlength\parindent{0cm}\setlength\parfillskip{0pt plus 1fil}\setlength\parskip{0cm plus 1pt}\writerlistparindent\writerlistleftskip\selectlanguage{english}\leavevmode\normalfont\normalsize\normalcolor\writerlistlabel\ignorespaces}{\unskip\vspace{0cm plus 1pt}\par}
% Footnote rule
\setlength{\skip\footins}{0.119cm}
\renewcommand\footnoterule{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}}
% Pages styles
\fancypagestyle{Standard}{\fancyhf{}
\fancyhead[L]{}
\fancyfoot[L]{}
\renewcommand\headrulewidth{0pt}
\renewcommand\footrulewidth{0pt}
\renewcommand\thepage{\arabic{page}}
}
\pagestyle{Standard}
\setlength\tabcolsep{1mm}
\renewcommand\arraystretch{1.3}
% List styles
\newcommand\writerlistleftskip{}
\newcommand\writerlistparindent{}
\newcommand\writerlistlabel{}
\newcommand\writerlistremovelabel{\aftergroup\let\aftergroup\writerlistparindent\aftergroup\relax\aftergroup\let\aftergroup\writerlistlabel\aftergroup\relax}
\newcommand\liststyleWWNumv{%
\renewcommand\theenumi{\alph{enumi}}
\renewcommand\theenumii{\alph{enumi}.\alph{enumii}}
\renewcommand\theenumiii{\alph{enumii}.\roman{enumiii}}
\renewcommand\theenumiv{\roman{enumiii}.\arabic{enumiv}}
\renewcommand\labelenumi{\theenumi}
\renewcommand\labelenumii{\theenumii}
\renewcommand\labelenumiii{\theenumiii}
\renewcommand\labelenumiv{\theenumiv}
}
\newcommand\liststyleWWNumvi{%
\renewcommand\labelitemi{[F0B7?]}
\renewcommand\labelitemii{o}
\renewcommand\labelitemiii{[F0A7?]}
\renewcommand\labelitemiv{[F0B7?]}
}
\sloppy
\title{}
\begin{document}
\begin{stylePxxxiv}
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\end{stylePxxxiv}
\begin{center}
\begin{minipage}{0.041cm}
\begin{center}
\tablefirsthead{}
\tablehead{}
\tabletail{}
\tablelasttail{}
\begin{supertabular}{|m{3.307cm}|m{2.915cm}|m{2.9659998cm}|m{2.97cm}|}
\hline
\cellcolor[rgb]{1.0,0.7058824,0.9529412}~
&
\multicolumn{3}{m{9.251cm}|}{\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}~
{\selectlanguage{english}\fontsize{7.5pt}{9.0pt}\selectfont\bfseries\color{black} General Output Format : (a/b) (c/d) [e,f]}
~
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{1) First couple of values : Without }}}}{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{[D835?][DEFE?]}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{ }}} ${\equiv}$ \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{ (a / b) }}}}}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{2)Second couple of values : With }}}}{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{[D835?][DEFE?]}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{ }}}} ${\equiv}$ \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{ (c / d) }}}}}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{3) Inside each couple of values : (a1 / b1) = (FoM(10 bins ) / FoM(11bins))}}}}}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} 4) Inside a couple of values for GCsp: (a2 / b2) = FoM(4 bins) /FoM(5 bins)}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{5) Standard deviation for each }}}}{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{[D835?][DEFE?]}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{ case~(within brackets) : }}}}{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{$\sigma $}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{ on (c,d) }}}}{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{[D835?][DEFE?]}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{ cases [e, f] = [}}}}{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{$\sigma $}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{\textsubscript{c, }}}}}{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{$\sigma $}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{\textsubscript{d}}}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{]}}}}}
~
}\\\hline
&
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{red} Pessimistic (IST case):\par}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{k}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max }}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{= 0.25 h.Mpc}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsuperscript{{}-1}}}}}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{l}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max}}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{(WL) = 1500}}}}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{l}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max}}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{(GCph) = 750}}}}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{l}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max}}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{(XC) = 750}}}}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} sig\_p, sig\_v to estimate}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} Zcut for GCsp combined with GCph} &
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}{\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} Semi - Pessimistic:}
{\color{black} {\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{k}}{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max }}}{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{= 0.25 h.Mpc}}{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsuperscript{{}-1}}}}
{\color{black} {\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{l}}{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max}}}{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{(WL) = 1500}}}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{l}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max}}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{(GCph) = 750}}}}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{l}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max}}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{(XC) = 750}}}}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} sig\_p, sig\_v to estimate}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} No Zcut for GCsp combined with GCph} &
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{red} Optimistic (IST case):}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{k}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max }}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{= 0.3 h.Mpc}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsuperscript{{}-1}}}}}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{l}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max}}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{(WL) = 5000}}}}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{l}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max}}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{(GCph) = 3000}}}}
{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{l}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{\textsubscript{max}}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{(XC) = 3000}}}}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} sig\_p, sig\_v fixed}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} No Zcut for GCsp combined with GCph}\\\hline
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}~
{\centering\color{black} \foreignlanguage{english}{{\fontsize{7.5pt}{9.0pt}\selectfont \textcolor{black}{GCsp - No }}}\foreignlanguage{english}{{\fontsize{7.5pt}{9.0pt}\selectfont \textit{\textcolor{black}{$\gamma $}}}}\foreignlanguage{english}{{\fontsize{7.5pt}{9.0pt}\selectfont \textcolor{black}{ (4/5 bias)}}}\par}
{\color{black} \foreignlanguage{english}{{\fontsize{7.5pt}{9.0pt}\selectfont \textcolor{black}{ GCsp - }}}{\fontsize{7.5pt}{9.0pt}\selectfont \textcolor{black}{[D835?][DEFE?]}}\foreignlanguage{english}{{\fontsize{7.5pt}{9.0pt}\selectfont \textcolor{black}{ (4/5 bias) }}}}
~
&
\cellcolor{white}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (14.18 / 13.81)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (7.39 / 6.84)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.182 , 0.181]\par}
~
&
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (14.18 / 13.81)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (7.39 / 6.84)\par}
\centering{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.182 , 0.181 ]} &
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (56.14 / 52.61)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (37.73 / 34.48)\par}
\centering\arraybslash{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{[}}} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{0.136 , 0.133 ]}}}}\\\hline
\cellcolor[rgb]{1.0,0.7058824,0.9529412}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} Number of photo bias :\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} (No spectro bias here)\par}
~
&
\cellcolor[rgb]{1.0,0.7058824,0.9529412}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} Pessimistic:\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} (10) / Extended (11)\par}
\centering{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} Zcut {\textless} 0.9} &
\cellcolor[rgb]{1.0,0.7058824,0.9529412}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} Semi- Pessimistic case =\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{red} Pessimistic (IST case):\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} (10) / Extended (11)\par}
\centering{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} No-Zcut} &
\cellcolor[rgb]{1.0,0.7058824,0.9529412}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{red} Optimistic (IST case):\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} (10) / Extended (11)\par}
\centering\arraybslash{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} No-Zcut}\\\hline
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} GCph\par}
~
&
\cellcolor{white}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (1.69 / 1.69)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (1.10 / 1.10)\par}
{\centering\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{[}}} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{0.466 , 0.466 ]}}}\par}
~
&
\cellcolor{white}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (4.25 / 4.93)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (3.15 / 3.78)\par}
\centering{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.429 , 0.409 ]} &
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (61.80 / 66.55)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (55.08 / 59.48)\par}
\centering\arraybslash{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{[}}} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{0.129 , 0.128 ]}}}}\\\hline
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}\centering{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} WL} &
\cellcolor{white}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (24.09 / 25.72)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (7.13 / 8.01)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.191 , 0.180 ]\par}
~
&
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (24.09 / 25.72)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (7.13 / 8.01)\par}
\centering{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.191 , 0.180 ]} &
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (46.82 / 50.65)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (13.97 / 15.61)\par}
\centering\arraybslash{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.09 , 0.08 ]}\\\hline
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}~
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} GCph + WL + XC\par}
~
&
\cellcolor{white}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (211.52 / 213.50) \par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (75.70 / 77.80)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.079 , 0.077 ]\par}
~
&
\cellcolor{white}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (358.41 / 382.86)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (128.96 / 142.14)\par}
\centering{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{[}}} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{0.062 , 0.058 ]}}}} &
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (1006.13 / 1035.82)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (441.97 / 477.52)\par}
\centering\arraybslash{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.021 , 0.020 ]}\\\hline
\cellcolor[rgb]{1.0,0.7058824,0.9529412}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} Synthesis with simple sum (GCsp+GCph+WL) and \par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} GCsp+ (GCph+WL+XC)\par}
~
&
\cellcolor[rgb]{1.0,0.7058824,0.9529412}~
\centering{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{red}{Pessimistic (IST case): }}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{zcut (5 first bias for GCph) Zcut {\textless} 0.9}}}}} &
\cellcolor[rgb]{1.0,0.7058824,0.9529412}~
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} Semi-Pessimistic case:}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} (10) / Extended (11)\par}
\centering{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} No-Zcut} &
\cellcolor[rgb]{1.0,0.7058824,0.9529412}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{red} Optimistic (IST case):\par}
{\centering\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{(}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textbf{\textcolor{black}{10) / Extended (11)}}}}\par}
\centering\arraybslash{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{black} No-Zcut}\\\hline
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}\liststyleWWNumv
\begin{enumerate}
\item {\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} Specifications IST :}
\end{enumerate}
\liststyleWWNumvi
\begin{itemize}
\item {\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (4 bias spectro) : }
\end{itemize}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} GCsp + GCph + WL } &
\cellcolor{white}{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (121.73 / 125.30)}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (99.81 / 102.38)\par}
\centering{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{ [}}} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{0.036, 0.035 ] }}}} &
\cellcolor{white}~
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} (151.05 / 156.16)\par}
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} (119.72 /127.41)\par}
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.035 , 0.035 ]\par}
~
&
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (351.18 / 367.42) \par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (262.88 /279.53)\par}
\centering\arraybslash{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.018 , 0.017 ]}\\\hline
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}\liststyleWWNumv
\begin{enumerate}
\item {\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} Specifications IST :}
\end{enumerate}
\liststyleWWNumvi
\begin{itemize}
\item {\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (4 bias spectro) : }
\end{itemize}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} GCsp + (GCph + WL + XC) } &
\cellcolor{white}{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (384.80 / 386.64)}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (255.84 / 257.64 ) \par}
\centering{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{[}}} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{0.031, 0.031 ]}}}} &
\cellcolor{white}~
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} (550.01 / 573.48)\par}
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} (320.07 / 333.93)\par}
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.029 , 0.028 ]\par}
~
&
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (1220.39 / 1249.97) \par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (692.62 /725.96)\par}
\centering\arraybslash{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.016 , 0.015 ]}\\\hline
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}\liststyleWWNumv
\begin{enumerate}
\item {\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} New specifications}
\end{enumerate}
\liststyleWWNumvi
\begin{itemize}
\item {\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} Bias independent :}
\end{itemize}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (5 bias spectro) : }
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} GCsp + GCph + WL } &
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (119.67 / 123.34)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (99.20 / 101.84 )\par}
\centering{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{[}}} {\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{0.035, }}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{0.035 ]}}}} &
\cellcolor{white}~
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} (146.68 / 154.12)\par}
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} (119.72 / 125.45)\par}
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.035 , 0.035 ]\par}
~
&
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (340.83 / 357.19)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (255.68 / 272.10)\par}
\centering\arraybslash{\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{[}}} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{0.018 , 0.017 ]}}}}\\\hline
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}\liststyleWWNumv
\begin{enumerate}
\item {\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} New specifications}
\end{enumerate}
\liststyleWWNumvi
\begin{itemize}
\item {\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} Bias independent :}
\end{itemize}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (5 bias spectro) : }
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} GCsp + (GCph + WL + XC)} &
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (389.00 / 386.80)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (259.32 / 261.08)\par}
\centering{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.031, 0.030 ]} &
\cellcolor{white}~
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} (548.22 / 571.35)\par}
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} (320.84 / 334.05)\par}
\centering{\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.029 , 0.028 ]} &
\cellcolor{white}~
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (1209.80 / 1235.09)\par}
{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (682.82 / 716.27)\par}
{\centering\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{[}}} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{0.016 , 0.015 ]}}}\par}
~
\\\hline
\cellcolor[rgb]{0.7058824,0.7764706,0.90588236}\liststyleWWNumv
\begin{enumerate}
\item {\color{black} \foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{{\guillemotleft}~common bias~{\guillemotright} : ( }}}\foreignlanguage{english}{{\fontsize{9pt}{10.8pt}\selectfont \textcolor{black}{No }}}{\fontsize{9pt}{10.8pt}\selectfont \textcolor{black}{[D835?][DEFE?]}}\foreignlanguage{english}{{\fontsize{9pt}{10.8pt}\selectfont \textcolor{black}{) ( }}}{\fontsize{9pt}{10.8pt}\selectfont \textcolor{black}{[D835?][DEFE?]}}\foreignlanguage{english}{{\fontsize{9pt}{10.8pt}\selectfont \textcolor{black}{)}}}\foreignlanguage{english}{{\fontsize{8pt}{9.6pt}\selectfont \textcolor{black}{ }}}}
\end{enumerate}
\liststyleWWNumvi
\begin{itemize}
\item {\fontsize{8pt}{9.6pt}\selectfont\color{black} 5 Bias dependent :}
\end{itemize}
{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} GCsp + (GCph + WL + XC)} &
\cellcolor{white}\centering{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\bfseries\color{red} Not computable since z\_cut {\textless} 0.9} &
\cellcolor{white}~
{\centering\fontsize{8pt}{9.6pt}\selectfont\color{black} (781.09) (587.24)\par}
\centering{\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.017 ]} &
\cellcolor{white}{\centering\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} (1565.86) (1254.87)\par}
\centering\arraybslash{\selectlanguage{english}\fontsize{8pt}{9.6pt}\selectfont\color{black} [ 0.009 ]}\\\hline
\end{supertabular}
\end{center}
\end{minipage}
\end{center}
\end{document}
我强烈建议删除或者至少评论以下几行:
%\begin{center}
%\begin{minipage}{0.041cm}
%\begin{center}
…
%\end{center}
%\end{minipage}
%\end{center}
这将极大地改善输出并给你如下结果:
2. 与原版相差甚远(颜色丢失,但代码可读性较好)
这是我推荐给你的。它为你自己修改提供了极好的基础,保留了表格,而且代码实际上相当干净。
以下是Writer2LaTeX的必要设置:
由于所有代码示例都已接近最大可用字数,因此我不得不在这里放弃。
结束语
我认为 LibreOffice 确实可以帮到你,因为它可以生成实际的表格。我还尝试过 pandoc,它可以生成空的 tex 和 pdf 文件。
我的建议:使用超干净文章并从那里开始构建。如果您在猜测颜色或要加载哪些包时遇到困难,请查看上面的解决方案 1 并从那里使用必要的代码。超干净文章加载更少的包,从 Word/LibreOffice 中删除所有不必要的字体大小声明,并为您提供一份非常漂亮的文档。
只要记住删除中心和小页面环境就可以了。
我希望这有帮助。
答案3
由于您已经将表格导出为具有足够分辨率以进行中等质量打印的 .png 格式,因此将其作为图像包含可能会更简单。
\documentclass[letterpaper]{article}
\RequirePackage{graphicx}
\usepackage[margin=.9in]{geometry}
\begin{document}
\includegraphics[height=\textheight]{9ph4R.png}
\end{document}
答案4
我尝试将 Word 文件保存为 html,并使用以下 Python 脚本将 html 转换为 LaTeX。它仍然与您的原始设计不同,但我认为您可以从这里开始构建。
from bs4 import BeautifulSoup
from pylatex import Tabular, MultiColumn, TableRowSizeError, NoEscape
with open('Table_Synthesis_for_SO.htm', 'r') as infile:
htm_src = infile.read()
soup = BeautifulSoup(htm_src, 'html5lib')
table = soup.find('table')
latex_special_chars = {
'&': r'\&',
'%': r'\%',
'$': r'\$',
'#': r'\#',
'_': r'\_',
'{': r'\{',
'}': r'\}',
'~': r'\textasciitilde{}',
'^': r'\^{}',
'\\': r'\textbackslash{}',
'-': r'{-}',
'[': r'{[}',
']': r'{]}',
}
def escape_latex(s):
if isinstance(s, NoEscape):
return s
return NoEscape(''.join(latex_special_chars.get(c, c) for c in str(s)))
def extract_text(element):
res = []
for p in element.find_all('p'):
text = escape_char(escape_latex(p.text.strip()))
if len(text) > 0:
res.append(text)
ret = '\\\\ \n'.join(res)
return '\\makecell{%s}' % ret
def escape_char(s):
return s.replace('