# Remove border of a framebox

I would like to insert an inline box. I have tried this:

\usepackage{color}

\begin{document}
{\setlength{\fboxsep}{0pt}
\end{document}


Is it possible to remove the black line of the border around the frame?

Best regards

• Why not using \colorbox then? – user31729 Sep 28 '17 at 13:51
• @ChristianHupfer Sorry, I do not know how to make it. – user1993416 Sep 28 '17 at 13:54

The simplest way is to use \setlength{\fboxrule}{0pt} within a TeX group, i.e. {...}, this will set the rule width to 0pt and no rule is drawn.

Or ... use \colorbox{shadecolor}{...} only.

\documentclass{article}

\usepackage{xcolor}