# How can I apply a style to \frame{} that is similar to the style of mdframed?

I am often using a "mdframed" package to frame my paragraphs or important statements. I usualy do it like this (MWE):

\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[framemethod=TikZ]{mdframed}
\mdfdefinestyle{opombe}{%
font=\footnotesize,
linecolor=orange,
outerlinewidth=1pt,
roundcorner=5pt,
innertopmargin=5pt,
innerbottommargin=5pt,
innerrightmargin=10pt,
innerleftmargin=10pt,
backgroundcolor=orange}

\begin{document}

\begin{mdframed}[style=opombe]
some text
\end{mdframed}

How can I apply same style to \frame{some text}?

\end{document}


I would like to use the same profile for \frame{} (provided in MWE). What are my options here? I need this frame to be in line with text and not a paragraph like (like mdframed environment). Is it possible to edit mdframed to be in line with text?

-
Does the question help: tex.stackexchange.com/questions/48734/… –  Marco Daniel Nov 21 '13 at 17:17