I borrowed a predefined command (below), which uses math mode. Within the [[ ]], obviously, it doesn't observe spacing. Is there a way to make the command observe spacing within the [[ ]]
\documentclass{article}
\usepackage{stmaryrd}
\usepackage{fullpage}
\setlength{\parindent}{0in}
\newcommand{\sem}[2][]{\mbox{$[\!\bf[ #2 ]\!]^{#1}$}}
\begin{document}
\sem{Two words}
\end{document}

stmaryrdalready defines double bracket delimiters. Unless you want different spacing, why not just use those? – Adam Liter Apr 10 '14 at 23:22\mbox{$[\![ \mbox{\bfseries #2} ]\!]^{#1}$}instead, may be? – Manuel Apr 10 '14 at 23:22\bf. See “Correct” way to bold/italicize text? – Adam Liter Apr 10 '14 at 23:24amsmath's\text. – Adam Liter Apr 10 '14 at 23:31\bf, I honestly forgot about that because it hasn't been an issue...yet. – Adam_G Apr 11 '14 at 00:16