psunthar / iitbreport

LaTeX Class file and sample template for IIT Bombay Thesis/Project reports
25 stars 24 forks source link

Use amsthm package #6

Open GeekyPeas opened 5 years ago

GeekyPeas commented 5 years ago

I get:

LaTeX Error: Command \openbox already defined.

when I try \usepackage{amsthm}

I don't like how the default environments (such example, remark and note) appear in my report. I want to use the defaults as in the amsthm package.

How to use the amsthm package with the iitbreport.cls?

chandrahasgit commented 4 years ago

I get:

LaTeX Error: Command \openbox already defined.

when I try \usepackage{amsthm}

I don't like how the default environments (such example, remark and note) appear in my report. I want to use the defaults as in the amsthm package.

How to use the amsthm package with the iitbreport.cls?

The 'openbox' is defined in 'txfonts' package which is used in iitbreport.cls. For using 'amsthm' package, either remove 'txfonts' (other fonts such as palatino, mathpazo, mathptmx, or some other can be used) or use \let\openbox\relax before loading 'amsthm' package in the preamble.