midruleはbooktabで破線と色付き-1つのbooktabに2種類のmidrule
Midrule Dashed Colored Booktabs Two Kinds Midrules One Booktab
解決:
あなたは使用することができます代わりにtabuパッケージ:
documentclass {beamer} usepackage {tabu} begin {document} begin {frame} begin {table} tabulinesep = _4pt ^ 4pt begin {tabu} to textwidth {@ {} cX [m] [email protected ] {}} tabucline [1pt blue!40 off 0pt] {-} multicolumn {2} {@ {} l} {procesy}&Min&Max&Dalkia \ tabucline [0.7pt blue!40 off 0pt] { -}&Junior&1 700&2 800&3 200 \ tabucline [0.4pt blue!40 off 2pt] {-}&Senior &&? &\ tabucline [0.4pt blue!40 off 2pt] {-}&Specjalist &&? &\ tabucline [0.4pt blue!40 off 2pt] {-}&チームリーダー&&? &\ tabucline [1pt blue!40 off 0pt] {-} end {tabu} caption {1。 Wynagrodzenia:Procesy HR} label {tabela1} end {table} end {frame} end {document}
これは、を比較するオプションです。ゴンザロの答えとのタブー出力ブックタブ。それはと比較して実行可能ですタブーですが、いつもきれいとは限りません。
documentclass {article} usepackage {tabu}%http://ctan.org/pkg/tabu usepackage {xcolor}%http://ctan.org/pkg/xcolor usepackage {tabularx}%http:// ctan .org / pkg / tabularx usepackage {booktabs}%http://ctan.org/pkg/booktabs makeatletter newcommand { dashrule} [1] [black] {% color {#1} rule [ dimexpr .5ex-.2pt] {4pt} {。4pt} xleaders hbox { rule {4pt} {0pt} rule [ dimexpr.5ex-.2pt] {4pt} {。4pt}} hfill kern0pt% } newcommand { rulecolor} [1] {% def [email protected] @ { color {#1}}%} makeatother begin {document} begin {table} [t] tabulinesep = _4pt ^ 4pt begin {tabu} to textwidth {@ {} cX [m] X [c] X [c] X [c] @ {}} tabucline [1pt blue!40 off 0pt] {-} multicolumn {2 } {@ {} l} {procesy}&Min&Max&Dalkia \ tabucline [0.7pt blue!40 off 0pt] {-}&Junior&1 700&2 800&3 200 \ tabucline [0.4pt blue !40オフ2ポイント] {-}&シニア&&? &\ tabucline [0.4pt blue!40 off 2pt] {-}&Specjalist &&? &\ tabucline [0.4pt blue!40 off 2pt] {-}&チームリーダー&&? &\ tabucline [1pt blue!40 off 0pt] {-} end {tabu} bigskip rulecolor {blue!40} begin {tabularx} { linewidth} {X> { centering} X> { centering} X> { centering arraybackslash} [メール保護] {}} toprule procesy&Min&Max&Delta \ midrule Junior&1 、700&2 、800&3 、200 \ [- jot] multicolumn {4} {@ {} [メール保護] {}} { makebox [ linewidth] { dashrule [blue!40]}} \ [- jot]シニア&&? &\ multicolumn {4} {@ {} [メール保護] {}} { makebox [ linewidth] { dashrule [blue!40]}} \ [- jot] Specjalist &&? &\ multicolumn {4} {@ {} [メール保護] {}} { makebox [ linewidth] { dashrule [blue!40]}} \ [- jot]チームリーダー&&? &\ bottomrule end {tabularx} caption {1。 Wynagrodzenia:Procesy HR} end {table} end {document}の用法tabularxを使用すると、表の幅。ルールの色は、を使用して指定されます rulecolor {}と破線のルールのそれはを使用して行われます dashrule []。