Technical Support
Forums and Mailing Lists
Search Mackichan Web

Version 5/5.5

Word Processing
File Issues
Exam Builder
Style Editor
Free Updates
Technical Articles

Scientific Notebook
Support Information

TeXnology links

Document 487

The LaTeX fancybox package

Version: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word

The fancybox package provides several different styles of boxes for framing and rotating content in your document. Fancybox provides commands that produce square-cornered boxes with single or double lines, boxes with shadows, and round-cornered boxes with normal or bold lines, such as these:

Example of text with shadow box Example of text with oval box Example of text with double box

The boxes can contain words, lines, paragraphs, or whole pages, and the boxes can be centered or right- or left-justified. Note that the TrueTeX Previewer provided with SWP and SW doesn't support rotation; you must use a different previewer and print driver if you want to rotate boxed content in a DVI file. However PDF viewers support rotation, so you can use the package to create rotated boxes in typeset PDF files in Version 5.x.

Package options aren't available for the fancybox package. Use encapsulated TeX fields to box information in your document.

How to box information in your document

  1. Add the fancybox package to your document.
  2. Enter an encapsulated TeX field.
  3. Type \command{content to be boxed} where command is the fancybox command you need:
    Command Effect
    fbox square box
    shadowbox square box with shadow
    doublebox double square box
    ovalbox thin oval box
    Ovalbox thick oval box
  4. Choose OK.

Package documentation includes useful information about using LaTeX box macros. The PackageSample-fancybox.tex file in the SWSamples directory of your program installation contains more examples of fancybox effects. The package is installed in the TCITeX/TeX/LaTeX/contrib/fancybox directory.

Last revised 07/15/05

The information in this frame was created with Scientific WorkPlace.

MacKichan Software, Inc. 19689 7th Avenue NE, Suite 183 #238 Poulsbo, WA 98370
Phone: 360-394-6033 Toll-free: 877-724-9673 Fax: 360-394-6039

Please email comments and suggestions regarding this site to
© Copyright 1998 - MacKichan Software, Inc. All rights reserved.