Text FormattingHow and where to find exframe.sty?

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

How and where to find exframe.sty?

Post by CMP »

Hi there,

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}
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 1167 times
Thank you very much!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

How and where to find exframe.sty?

Post by Stefan Kottwitz »

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
Post Reply