LaTeX forum ⇒ Text FormattingHow and where to find exframe.sty?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
CMP
Posts: 13
Joined: Thu Aug 22, 2019 8:33 pm

How and where to find exframe.sty?

Postby CMP » Sat May 14, 2022 3:26 am

Hi there,

I've a very simple document but not running properly.

It is simply saying that, `exframe.sty' not found.

%----------------------------------------------------------%
%----------------------- 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}


So, I am wondering how do we get `exframe.sty' file?

Here is my run with error, of course! :oops:

ScreenshotError.png
ScreenshotError.png (132.06 KiB) Viewed 438 times


Thank you very much!

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
Stefan Kottwitz
Site Admin
Posts: 9987
Joined: Mon Mar 10, 2008 9:44 pm

How and where to find exframe.sty?

Postby Stefan Kottwitz » Sun May 15, 2022 9:41 pm

Hi CMP,

take a look at your LaTeX package manager (TeX Live manager tlmgr, TeX Live Shell, MiKTeX package manager mpm), it should be available. It's installed on my TeX Live setup. The CTAN link is https://ctan.org/pkg/exframe but better install it with your TeX package manager.

Stefan
LaTeX.org admin


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 4 guests