Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[fontsize=11pt,paper=letter,headings=small,bibliography=totoc,DIV=9,headsepline=true]{scrartcl}
- usepackage[utf8]{inputenx}
- usepackage[TS1,T1]{fontenc}
- usepackage{textcomp}
- usepackage[spanish,mexico]{babel}
- usepackage[intlimits]{amsmath}
- usepackage{xspace}
- usepackage{xkeyval}
- usepackage{array,multirow,tabularx,ragged2e,booktabs}
- %newcolumntype{Y}{>{RaggedRightarraybackslashhspace{0pt}}X}
- newcolumntype{Y}{>{RaggedRightarraybackslash}X}
- %newcolumntype{C}{>{centeringarraybackslashhspace{0pt}}X}
- usepackage{rotating}
- usepackage{colortbl}
- usepackage[per-mode=symbol]{siunitx}
- sisetup{
- output-decimal-marker = {,},
- range-units = brackets,
- list-final-separator = { translate{and} },
- list-pair-separator = { translate{and} },
- range-phrase = { translate{to (numerical range)} },
- }
- ExplSyntaxOn
- providetranslation [ to = Spanish ]
- { to~(numerical~range) } { a }%substitute the right word here
- ExplSyntaxOff
- begin{document}
- begin{table}[htb]
- caption{Capacidad de generación eléctrica en México}
- label{tab:CGE}
- centering
- begin{tabularx}{textwidth}{@{} l S S[table-format=6.2] S[table-format=3.2]@{}}
- toprule
- & textbf{Permisos de la CRE} & textbf{Capacidad de generación de energía} [si{gigawatthour}] & textbf{Porcentaje}\
- midrule
- % Pública
- textbf{Energía de generación propia} & & textbf{169,900.00} & textbf{42.25} \
- midrule
- textbf{Pemex} & & & \
- textbf{Autoabastecimiento} & 31 & 2526.40 & 0.61 \
- textbf{Cogeneración} & 18 & 7049.04 & 1.75 \
- textbf{Subtotal} & & 9575.44 & 2.38 \
- % Privada
- midrule
- textbf{Autoabastecimiento} & 486 & 67145.80 & 16.70 \
- textbf{Cogeneración} & 109 & 18153.66 & 4.51 \
- textbf{Producción independiente} & 30 & 105634.80 & 26.27 \
- textbf{Exportación} & 8 & 13295.60 & 3.31 \
- textbf{Importación} & 44 & 2061.30 & 0.51 \
- textbf{Pequeña producción} & 178 & 12212.60 & 3.04 \
- textbf{Usos Propios Continuos} & 36 & 1523.50 & 0.38 \
- textbf{Pemex-Cogeneración} & 1 & 2628.00 & 0.65 \
- textbf{Subtotal} & 844 & 222655.26 & 55.37 \
- textbf{Total CRE} & 892 & 232230.70 & 57.75 \
- midrule
- textbf{Total} & 892 & 402130.14 & 100 \
- bottomrule
- end{tabularx}
- end{table}
- end{document}
- documentclass[fontsize=11pt,paper=letter,headings=small,bibliography=totoc,DIV=9,headsepline=true]{scrartcl}
- usepackage[utf8]{inputenc}
- usepackage[TS1,T1]{fontenc}
- usepackage{textcomp}
- usepackage[spanish,mexico]{babel}
- usepackage[intlimits]{amsmath}
- usepackage{xspace}
- usepackage{xkeyval}
- usepackage{array,multirow,tabularx,ragged2e, booktabs}
- %newcolumntype{Y}{>{RaggedRightarraybackslashhspace{0pt}}X}
- newcolumntype{Y}{>{RaggedRightarraybackslash}X}
- %newcolumntype{C}{>{centeringarraybackslashhspace{0pt}}X}
- usepackage{rotating}
- usepackage{colortbl}
- usepackage[per-mode=symbol]{siunitx}
- sisetup{
- output-decimal-marker = {,},
- range-units = brackets,
- list-final-separator = { translate{and} },
- list-pair-separator = { translate{and} },
- range-phrase = { translate{to (numerical range)} },
- }
- ExplSyntaxOn
- providetranslation [ to = Spanish ]
- { to~(numerical~range) } { a }%substitute the right word here
- ExplSyntaxOff
- usepackage{makecell}
- renewcommandtheadfont{bfseries}
- renewcommandtheadalign{bc}
- setcellgapes{1.5pt}
- begin{document}
- begin{table}[htb]
- centeringmakegapedcells
- caption{Capacidad de generación eléctrica en México}
- label{tab:CGE}
- begin{tabularx}{linewidth}{@{}>{bfseriesRaggedRight}X S S[table-format=6.2] S[table-format=2.2]@{}}
- addlinespace
- toprule
- addlinespace[-0.3ex]
- & {thead{Permisos\ de la CRE}} & {thead{Capacidad de \generación de\ energía (si{gigawatthour})}}
- & {thead{Porcentaje}}\[-0.6ex]
- midrule
- % Pública
- Energía de generación propia & & textbf{169,900,00} & textbf{42,25} \
- midrule
- Pemex & & & \
- Autoabastecimiento & 31 & 2526.40 & 0.61 \
- Cogeneración & 18 & 7049.04 & 1.75 \
- Subtotal & & 9575.44 & 2.38 \
- % Privada
- midrule
- Autoabastecimiento & 486 & 67145.80 & 16.70 \
- Cogeneración & 109 & 18153.66 & 4.51 \
- Producción independiente & 30 & 105634.80 & 26.27 \
- Exportación & 8 & 13295.60 & 3.31 \
- Importación & 44 & 2061.30 & 0.51 \
- Pequeña producción & 178 & 12212.60 & 3.04 \
- Usos Propios Continuos & 36 & 1523.50 & 0.38 \
- Pemex-Cogeneración & 1 & 2628.00 & 0.65 \
- Subtotal & 844 & 222655.26 & 55.37 \
- Total CRE & 892 & 232230.70 & 57.75 \
- midrule
- Total & 892 & 402130.14 & 100 \
- bottomrule
- end{tabularx}
- end{table}
- end{document}
- documentclass[fontsize=11pt,paper=letter,headings=small,bibliography=totoc,DIV=9,headsepline=true]{scrartcl}
- usepackage[utf8]{inputenx}
- usepackage[TS1,T1]{fontenc}
- usepackage{textcomp}
- usepackage[spanish,mexico]{babel}
- usepackage[intlimits]{amsmath}
- usepackage{xspace}
- usepackage{xkeyval}
- usepackage{array,multirow,tabularx,ragged2e,booktabs}
- usepackage{makecell}% added
- renewcommandtheadfont{bfseries}% added
- %newcolumntype{Y}{>{RaggedRightarraybackslashhspace{0pt}}X}
- newcolumntype{Y}{>{RaggedRightarraybackslash}X}
- %newcolumntype{C}{>{centeringarraybackslashhspace{0pt}}X}
- usepackage{rotating}
- usepackage{colortbl}
- usepackage[per-mode=symbol]{siunitx}
- sisetup{
- output-decimal-marker = {,},
- range-units = brackets,
- list-final-separator = { translate{and} },
- list-pair-separator = { translate{and} },
- range-phrase = { translate{to (numerical range)} },
- }
- ExplSyntaxOn
- providetranslation [ to = Spanish ]
- { to~(numerical~range) } { a }%substitute the right word here
- ExplSyntaxOff
- usepackage[active,floats,tightpage]{preview}
- setlengthPreviewBorder{1em}
- begin{document}
- begin{table}[htb]
- small% added
- caption{Capacidad de generación eléctrica en México}
- label{tab:CGE}
- centering
- begin{tabularx}{textwidth}{>{bfseries}l S S[table-format=6.2] S[table-format=3.2]}
- toprule
- & {thead{Permisos\
- de la CRE}}
- & {thead{Capacidad de\ generación de \
- energía [si{gigawatthour}]}}
- & {thead{Porcentaje}}\
- midrule
- % Pública
- Energía de generación propia
- & & textbf{169,900.00} & textbf{42.25} \
- midrule
- Pemex & & & \
- Autoabastecimiento & 31 & 2526.40 & 0.61 \
- Cogeneración & 18 & 7049.04 & 1.75 \
- Subtotal & & 9575.44 & 2.38 \
- % Privada
- midrule
- Autoabastecimiento & 486 & 67145.80 & 16.70 \
- Cogeneración & 109 & 18153.66 & 4.51 \
- Producción independiente & 30 & 105634.80 & 26.27 \
- Exportación & 8 & 13295.60 & 3.31 \
- Importación & 44 & 2061.30 & 0.51 \
- Pequeña producción & 178 & 12212.60 & 3.04 \
- Usos Propios Continuos & 36 & 1523.50 & 0.38 \
- Pemex-Cogeneración & 1 & 2628.00 & 0.65 \
- Subtotal & 844 & 222655.26 & 55.37 \
- Total CRE & 92 & 232230.70 & 57.75 \
- midrule
- Total & 892 & 402130.14 & 100 \
- bottomrule
- end{tabularx}
- end{table}
- end{document}
- documentclass[fontsize=11pt,paper=letter,headings=small,
- bibliography=totoc,DIV=9,headsepline=true]{scrartcl}
- usepackage[utf8]{inputenx}
- usepackage[TS1,T1]{fontenc}
- usepackage{textcomp}
- usepackage[spanish,mexico]{babel}
- usepackage[intlimits]{amsmath}
- usepackage{xspace}
- usepackage{xkeyval}
- usepackage{array,multirow,tabularx,ragged2e,booktabs}
- newcolumntype{C}{>{Centeringarraybackslashhspace{0pt}}X}
- usepackage{rotating}
- usepackage{colortbl}
- usepackage[per-mode=symbol]{siunitx}
- sisetup{
- output-decimal-marker = {,},
- group-minimum-digits = 4,
- range-units = brackets,
- list-final-separator = { translate{and} },
- list-pair-separator = { translate{and} },
- range-phrase = { translate{to (numerical range)} },
- }
- ExplSyntaxOn
- providetranslation [ to = Spanish ]
- { to~(numerical~range) } { a }%substitute the right word here
- ExplSyntaxOff
- begin{document}
- begin{table}[htb]
- caption{Capacidad de generación eléctrica en México}
- label{tab:CGE}
- %%centering % not needed
- begin{tabularx}{textwidth}{@{} >{bfseries}l
- S[table-format=3.0]
- S[table-format=6.2]
- S[table-format=3.2] @{}}
- toprule
- & multicolumn{1}{C}{textbf{Permisos de la CRE}}
- & multicolumn{1}{C}{textbf{Capacidad de generación de energía} [si{gigawatthour}]} &
- {textbf{Porcentaje}}\
- midrule
- % Pública
- Energía de generación propia & & 169900.00 & 42.25 \
- midrule
- Pemex & & & \
- Autoabastecimiento & 31 & 2526.40 & 0.61 \
- Cogeneración & 18 & 7049.04 & 1.75 \
- addlinespace
- quad Subtotal & & 9575.44 & 2.38 \
- % Privada
- addlinespace
- Autoabastecimiento & 486 & 67145.80 & 16.70 \
- Cogeneración & 109 & 18153.66 & 4.51 \
- Producción independiente & 30 & 105634.80 & 26.27 \
- Exportación & 8 & 13295.60 & 3.31 \
- Importación & 44 & 2061.30 & 0.51 \
- Pequeña producción & 178 & 12212.60 & 3.04 \
- Usos Propios Continuos & 36 & 1523.50 & 0.38 \
- Pemex-Cogeneración & 1 & 2628.00 & 0.65 \
- addlinespace
- quad Subtotal & 844 & 222655.26 & 55.37 \
- addlinespace
- quad Total CRE & 892 & 232230.70 & 57.75 \
- midrule
- Total & 892 & 402130.14 & 100.00 \
- bottomrule
- end{tabularx}
- end{table}
- end{document}
- `begin{tabular}[c]{@{}l@{}}` **table \ heading** `end{tabular}`
- begin{tabular}[c]{@{}l@{}} Permisos \ de la CRE end{tabular}
Add Comment
Please, Sign In to add comment