I want to create an environment star Exercise, but I can not. Please help me.
\documentclass{book}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsmath}
\newtheorem{ex}{Exercise}[chapter]
\begin{document}
\chapter{First Chapter}
\section{First section}
\begin{ex}
This is an Exercise
\end{ex}
\begin{ex}
This is an Exercise
\end{ex}
\end{document}
If next is a difficult Exercise, how to define new environment Exercise star, for example \textbf{Exercise} $1.3^\text{*}$
.
Best Answer
Just modify the representation of the counter for difficult exercises:
If the asterisk is not desired in the references to this exercise, then the definition of
ex*
can be changed intoso that the reference will be created without *.