Hello,
how do I get this template?
Chapter 1
1.1 Introduction
1.2 Solved Problems
1.2.1 -------
Solution. ----------
1.2.2 ------------
Solution -----------
1.2.3 --------
Solution --------
1.3 Proposed Problems
1.3.1-------------
1.3.2-------------
1.3.3-------------
Answer
\boxed{1.3.1}
\boxed{1.3.2}
\boxed{1.3.3}
Chapter 2
2.1 Introduction
2.2 Solved Problems
2.2.1 -------
Solution. ----------
2.2.2 ------------
Solution -----------
2.2.3 --------
Solution --------
2.3 Proposed Problems
2.3.1-------------
2.3.2-------------
2.3.3-------------
Answer
\boxed{2.3.1}
\boxed{2.3.2}
\boxed{2.3.3}
Thanks for any help.
Page Layout ⇒ Template
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10321
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Template
Hi,
since you would like to use chapters, I recommend using a class which is supporting chapters, such as book or report (though I would use a KOMA-Script version such as scrbook or scrreport) or memoir.
Which one to choose, depends on your further requirements, for example if you would like to have two-sided printing and chapters always beginning on right pages etc.
Stefan
since you would like to use chapters, I recommend using a class which is supporting chapters, such as book or report (though I would use a KOMA-Script version such as scrbook or scrreport) or memoir.
Which one to choose, depends on your further requirements, for example if you would like to have two-sided printing and chapters always beginning on right pages etc.
Stefan
LaTeX.org admin
Template
Thank for your message Stefan.
I use "answer" package for this template with the following code:
Well, now I want to appear:
1.2.1 ........
Solution .....
1.2.2.........
Solution......
NOT
1.2.1 ........
Solution 1.2.1 .....
1.2.2.........
Solution 1.2.2 ......
ie, not number after "Solution".
How can I solve this?
Thanks in advance.
I use "answer" package for this template with the following code:
Code: Select all
\documentclass[12pt,a4paper]{book}
\usepackage{answers}
\Newassociation{solution}{Soln}{solutions}
\renewcommand{\Solnlabel}[1]{$\fbox{\textbf{#1.}}$}
%\newtheorem{ex}{}
\newtheorem{ex}{}[section]
\newtheorem{ex1}{}[section]
\newtheorem{sol}{Solution}[section]
\begin{document}
\chapter{First}
\Opensolutionfile{solutions}[ans1]
\section{Introduction}
\section{Solved Problems}
\begin{ex1}
ccccccccccccc
\end{ex1}
\begin{sol}
\end{sol}
\begin{ex1}
\end{ex1}\begin{sol}
\end{sol}
\section{Proposed Problem}
\begin{ex}
aaaaaaaaa
\begin{solution}
aaaaaaaaaaaaaa
\end{solution}
\end{ex}
\begin{ex}
bbbbbbbbbbb
\begin{solution}
bbbbbbbbbbb
\end{solution}
\end{ex}
\Closesolutionfile{solutions}
\section{Answer}
\input{ans1}
\end{document}
1.2.1 ........
Solution .....
1.2.2.........
Solution......
NOT
1.2.1 ........
Solution 1.2.1 .....
1.2.2.........
Solution 1.2.2 ......
ie, not number after "Solution".
How can I solve this?
Thanks in advance.