# - Problem
# - Prob
# - Solution
+# - Sol
# - Exercise
# - Remark
# - Claim
LatexName problem
LabelString "Problem \theproblem"
RefPrefix prob
- OptionalArgs 1
- RequiredArgs 1
LangPreamble
\providecommand{\problemname}{_(Problem)}
EndLangPreamble
CopyStyle Problem
LabelCounter prob
LatexName prob
- LabelString "\theprob"
+ LabelString "\theprob."
+ OptionalArgs 0
End
CopyStyle Problem
LabelCounter solution
LatexName solution
- LabelString "Solution \thesolution"
+ LabelString "Solution \thesolution."
RefPrefix sol
LangPreamble
\providecommand{\solutionname}{_(Solution)}
End
+Counter sol
+ Within chapter
+End
+Style Sol
+ CopyStyle Problem
+ LabelCounter sol
+ LatexName sol
+ LabelString "\thesol"
+ RequiredArgs 1
+End
+
+
Counter exercise
End
Style Exercise
\end_layout
-\begin_layout Solution
+\begin_layout Problem
\begin_inset Argument
status open
\begin_layout Plain Layout
-probl
+Title/Name (optional)
\end_layout
\end_inset
-The solution
+The problem
\begin_inset Index idx
status collapsed
\end_inset
+ is revealed here.
+\end_layout
+
+\begin_layout Solution
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+Title/Name (optional)
+\end_layout
+
+\end_inset
+The solution
\begin_inset Index idx
status collapsed
\end_inset
is revealed here.
+\end_layout
+
+\begin_layout --Separator--
+
+\end_layout
+
+\begin_layout Solution
+
+\series bold
+Problem Heading
+\series default
+
+\begin_inset Newline newline
+\end_inset
+
+(a) The solution of first part is revealed here.
+\begin_inset Newline newline
+\end_inset
+
+(b) The solution of second part is revealed here.
+\end_layout
+
+\begin_layout Subsection*
+Problem with its solution
\begin_inset Note Note
status open
\begin_layout Plain Layout
-both, the optional argument and a text is mandatory
+For these method use the layouts
+\begin_inset Quotes eld
+\end_inset
+
+Prob
+\begin_inset Quotes erd
+\end_inset
+
+ and
+\begin_inset Quotes eld
+\end_inset
+
+Sol
+\begin_inset Quotes erd
+\end_inset
+
+.
\end_layout
\end_inset
\end_layout
-\begin_layout --Separator--
+\begin_layout Standard
+Problem:
+\end_layout
+
+\begin_layout Prob
+\begin_inset CommandInset label
+LatexCommand label
+name "prob:Area-of-Circle"
+\end_inset
+
+Here comes the problem description.
+ Its label will be referenced in its solution.
\end_layout
-\begin_layout Solution
+\begin_layout Standard
+Solution:
+\end_layout
+
+\begin_layout Sol
\begin_inset Argument
status open
\begin_layout Plain Layout
-prob2
+prob:Area-of-Circle
\end_layout
\end_inset
+The solution of the corresponding problem.
+\begin_inset Note Note
+status open
-\series bold
-Problem Heading
-\series default
+\begin_layout Plain Layout
+the optional argument is the label of the corresponding problem
+\end_layout
-\begin_inset Newline newline
\end_inset
-(a) The solution of first part is revealed here.
-\begin_inset Newline newline
+
+\end_layout
+
+\begin_layout Standard
+The number of the problem/solution can also be referenced in the text:
+\begin_inset Quotes eld
\end_inset
-(b) The solution of second part is revealed here.
+As explained in the description of problem
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "prob:Area-of-Circle"
+
+\end_inset
+
+\SpecialChar \ldots{}
+
+\begin_inset Quotes erd
+\end_inset
+
+
\end_layout
\end_body