New answers tagged

3

Numbered entities do not need an additional \hypertarget, because hyperref already sets an anchor at the place of \refstepcounter. A \label is enough to catch the anchor. \hyperref[<label>]{<text>} can be used to set arbitrary text pointing to the label. Unnumbered entities are more tricky. Since there is usually no anchor, an anchor can be ...


1

You wrote: However, when I use it along with \begin{step}, \begin{claim}, or \begin{myclaim}, there two additional round parentheses appear. Is there a way to get rid of those round braces? Don't surround the corresponding \hypertarget{...}{} statements with square brackets ([ and ]). Otherwise, amsthm will interpret the material as indicating the ...


3

Is this what is requested? The redefinition of \thesubsection as {\Alph{subsection}} strips the section information of course from \thesubsection. \thedefn is using \thesubsection.\arabic{defn} due to its definition, so \thesection is missing then. \documentclass{amsart} \newtheorem{defn}{Definition}[subsection] ...


3

Here's a solution with thmtools, which eases defining new theorem styles: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage{fourier, erewhon, cabin} \usepackage[table, x11names]{xcolor} \usepackage{mathtools} \usepackage{amsthm, thmtools} \usepackage{microtype} \SetTracking[no ligatures = {f}]{encoding = *}{50} \declaretheoremstyle[% ...


0

The title goes in squared brackets at the beginning of the theorem. \begin{mythm}[Here goes the title] Problem statement goes here. But, where does go title? \end{mythm} It doesn't look exactly what your example picture looks like, but as the "Sample Problem 3.1" text is bold making the title also bold wouldn't benefit readability.


1

The name={...} option to the definition in the \declaretheoremstyle command defaults to the theorem name, or it's possible to say name={} to remove the prefix in the List of Theorems, but this has an effect to the body-text display as well. (It's not the best solution) The parentheses can be removed by redefining \thmtformatoptarg to be ...


2

Something like this? \documentclass{report} % document class that features 'chapter' sectioning level \usepackage{amsthm} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \renewcommand\thethm{\thechapter-\arabic{section}-\arabic{thm}} \begin{document} \setcounter{chapter}{2} \setcounter{section}{3} \begin{thm} aaa \label{thm:aaa} \end{thm} A ...


2

here is a mechanism for removing the extra space between the theorem head and the list. i don't really like it, but it will provide necessary information to make this a feature of the ams theorem facility when that is overhauled. (latex doesn't make things like this easy.) \documentclass{amsart} \newtheorem{thm}{Theorem}[section] \begin{document} ...


2

Here is a solution with enumitem. One can define a thmitemise clone, which incorporates by default the given setup, to avoid having to type it each time it is used: \documentclass{book} \usepackage{amsthm} \newtheoremstyle{mystyle}{}{}{}{}{\bf}{}{\newline}{} \theoremstyle{mystyle} \newtheorem*{mythm}{Theorem} \usepackage{enumitem, showframe} ...


3

cleveref is your friend here -- no need to define a \theoremname here -- it's defined by cleveref for many use - cases already. Use \cref for lower case names and \Cref for upper case names. For special names there is no clue for \cleveref to provide the correct name initially, in this case use the setup commands \crefname and \Crefname. The \crefname ...


1

The parskip package sets \topsep to zero, so you get what you were asking for. ;-) The output in your picture was generated with \theoremstyle{pcap}, not with \theoremstyle{plain}. Perhaps you want something like this: \documentclass[10pt,a4paper]{amsbook} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{amsthm} \usepackage{parskip} ...



Top 50 recent answers are included