Using boxedminipage environment in LaTeX
Boxedminipage
is an environment that is used in LaTeX
to crate a pseudo page environment with border around it in your actual page.
Here I am saying how to use it. First import the package using
\usepackage{}
command in the preamble.
\usepackage{boxedminipage}
Syntax to use this package is
\begin{boxedminipage}{<width_of_the_minipage>}
minipage content
\end{boxedminipage}
This environment can be used if you want to put some thing together but it is spliting up over more than one pages because this create a float, and so the box will not allow to creat page break inside it like figure environment. Also you can use this environment to place some text at the lift or right not extending more than one line. Like we put address, salutation, or header in Letter. If you don't want box around it yo can use
minipage
environment. Here I am giving a simple example
\documentclass{report}
\usepackage{boxedminipage}
\author{APaul}
\title{Example of boxedminipage environment}
\begin{document}
\maketitle
\begin{boxedminipage}{0.4\textwidth}
Here is the content of the minipage, which will be placed
inside a box having 40\% of the total textwidth of the page.
\end{boxedminipage}
\end{document}
Hope this is some useful information.
Cheers
APaul
it has, thanks.
ReplyDelete