I've a very simple document but not running properly.
It is simply saying that, `exframe.sty' not found.
Code: Select all
%----------------------------------------------------------%
%----------------------- Topics! --------------------------%
%----------------------------------------------------------%
% This document is to generate different topic items.
% For details, see in the inputs below!
%----------------------------------------------------------%
%----------------------------------------------------------%
\documentclass[12pt, twoside, letterpaper]{book}
\usepackage[T1]{fontenc}
\usepackage{amssymb,amsmath,amsfonts,amsthm,bm}
{
\theoremstyle{definition}
\newtheorem{example}{Example}
\numberwithin{example}{chapter}
}
%\iffalse
%-------------------------------------------------------------
% Hiding Exercise Solutions:
% LaTeX Problem Sets with Hidden Answers!
% Taken from the following pdf document page 21!
% http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/exframe/exframe.pdf
% Need -- \usepackage[extstyle]{exframe}
\usepackage[extstyle]{exframe}
% With solution/proofs!
\exercisesetup{solutions=true}
% No solution/proofs!
%\exercisesetup{solutions=false}
%-------------------------------------------------------------
%-------------------------------------------------------------
%\fi
\begin{document}
\begin{example}
Solve the following.
\[
x^2 + 4 = 0
\]
\begin{solution}
Here is a solution.
\begin{verbatim}
A program.
\end{verbatim}
\end{solution}
\end{example}
\end{document}
Here is my run with error, of course!

Thank you very much!