Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Box inside tabular environment? #15

Open
deining opened this issue Aug 14, 2019 · 1 comment
Open

Box inside tabular environment? #15

deining opened this issue Aug 14, 2019 · 1 comment
Assignees

Comments

@deining
Copy link
Contributor

deining commented Aug 14, 2019

Hi,

is it possible to have boxes inside an tabular environment?

Minimal working example:

\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a4paper]{geometry}
\usepackage{awesomebox}
\usepackage{babel}
\usepackage{tabularx}
\usepackage{booktabs}
\begin{document}

\begin{tabularx}{10cm}{cXccc}
	\toprule
	Position & Article & Description & Price & Unit \\
	\cmidrule(r){1-1}
	\cmidrule(lr){2-2}
	\cmidrule(lr){3-3}
	\cmidrule(lr){4-4}
	\cmidrule(lr){5-5}
	\addlinespace

	1 & 2 & 3 & 4 & 5 \\
	
	\multicolumn{5}{c}{\mbox{German, English, usw.}} \\

        %\multicolumn{5}{c}{\importantbox{German, English, usw.)}} \\
        % the line above does not work :-(
	\bottomrule
\end{tabularx}

\end{document}

Thanks for providing this useful package!

@milouse milouse self-assigned this Aug 19, 2019
@milouse
Copy link
Collaborator

milouse commented Aug 19, 2019

Hi,

I'll look at it as soon as possible. Thank you for your minimal exemple, it will help me a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants