\mytcolorbox{\testt{hello} text1 text2 text 3 and so on...}{3}{gut}
Search found 2 matches
- Mon Oct 21, 2019 1:27 pm
- Forum: Text Formatting
- Topic: Formatting
- Replies: 2
- Views: 2136
Formatting
I call the macros like this:
- Mon Oct 21, 2019 1:25 pm
- Forum: Text Formatting
- Topic: Formatting
- Replies: 2
- Views: 2136
Formatting
Hi,
when compiled the code adds extra space between my words and the "[3 Min]" is put in two lines.
Why?
when compiled the code adds extra space between my words and the "[3 Min]" is put in two lines.
Why?
Code: Select all
\newcommand{\testt}[1]{\textbf{Aufgabe #1: {\thesection}}}
\def\mytcolorbox#1#2#3%
{%
\begin{tcolorbox}%
#1\hfill[#2 Min]%
\tcblower%
#3%
\end{tcolorbox}%
}%