Hot answers tagged

19 votes

How do I typeset a 2x2 matrix in an inline equation?

You could use the smallmatrix environment for inline math use: \documentclass[12pt]{amsart} \begin{document} \setcounter{section}{1} % just for this example \subsection{Shembulli i dyte, Matrica.}...
user avatar
  • 444k
14 votes
Accepted

Is there already an amsalpha.bbx?

AMS publications do not support biblatex. Only BibTeX and amsrefs are accepted. There is no plan to support biblatex. Edit: The AMS, in order to satisfy demands from journal aggregators and on-line ...
user avatar
11 votes
Accepted

Theorem without numbering is not working

It is well known that the *-form of the \newtheorem command does not take any optional argument. The following code illustrates the correct usage: \documentclass{amsart} % Removed all irrelevant/...
user avatar
  • 20.9k
11 votes

amsart margin control

The amsart class has its own method for setting some page parameters. Don't use the geometry package with it. \documentclass{amsart} \usepackage{kantlipsum} % for text filler \setlength{\textwidth}{...
user avatar
  • 1.0m
11 votes

How do I typeset a 2x2 matrix in an inline equation?

You can have a simpler way to type these matrices: use the psmallmatrix or psmallmatrix* command from mathtools. The starred version accepts as an optional argument the columns alignment ([r], [l] ...
user avatar
  • 263k
10 votes

Strange behaviour on redefining \contentsname

As stated by egreg, using babel makes \renewcommand{\contentsname}{New Contents Name} stop working correctly. If you dont wantto use \addto solution, I find using hooks are a simple workaround. \...
user avatar
10 votes

pdfTeX warning: destination with same identifier has been already used, duplicate ignored (weird behavior)

try \usepackage[hypertexnames=false]{hyperref}
user avatar
10 votes
Accepted

What does \specialsection do in amsart.cls?

The documentation file Instructions for Preparation of Papers and Monographs AMS-LaTeX (instrl.pdf) is woefully out of date, and about to be discarded. New documentation has been created in the form ...
user avatar
9 votes
Accepted

"destination with the same identifier" warning with shared counters, cleveref and amsart

The answer I gave to Disabling "destination with the same identifier" with package silence doesn't apply here, because the amsart class disables loading amsthm and provides the equivalent ...
user avatar
  • 1.0m
9 votes

Problem with making an index

the documentation for the ams document classes (amsart, amsbook and amsproc) says explicitly that the facilities of makeindex are provided in the document class. so don't put \usepackage{makeidx} in ...
user avatar
8 votes

How to prevent paragraph breaks after theorem environments?

I know exactly what you mean and I often want to do the same thing. A very simple solution, which I use, is: on the line following a theorem environment where you do not want to start a new paragraph, ...
user avatar
  • 703
8 votes
Accepted

! You can't use `\unskip' in vertical mode. ... How to get space between lines?

The amsart class redefines ~ to be \protect\nonbreakingspace that indeed does \unskip and \ignorespaces, because it wants to catch cases when users type some ~ word and normalize them as if it were ...
user avatar
  • 1.0m
8 votes

Font size (in pt) of references using amsplain

The size of print in the references section, when using amsart, is defined within the thebibliography environment, not by amsplain. It is, furthermore, defined in a user-modifiable manner, via the ...
user avatar
8 votes
Accepted

alternative to \paragraph in amsart

amsart.cls has \def\paragraph{\@startsection{paragraph}{4}% \z@\z@{-\fontdimen2\font}% \normalfont} so if you put \makeatletter \def\paragraph{\@startsection{paragraph}{4}% \z@\z@{-\...
user avatar
8 votes
Accepted

Subcaption defaulting to capital letter labels?

The amsart default uses small caps for the labels. What you see aren't actually uppercase letters, but lowercase small caps. The picture displays it nicely, i changed the the appearance of the second ...
user avatar
  • 23.6k
8 votes
Accepted

Question related to amsart

the change you request is most easily done with patches to amsart.cls. (i've removed a lot of code that isn't needed for this example.) \documentclass[12pt,a4paper]{amsart} \usepackage{etoolbox} \...
user avatar
8 votes
Accepted

Getting rid of indentation of first paragraph in AMS classes

Borrowing from the excellent indentfirst but reversing the logic, you can try \documentclass{amsbook} \usepackage{lipsum} \makeatletter \let\@afterindenttrue\@afterindentfalse \@afterindentfalse \...
user avatar
  • 161k
8 votes
Accepted

amsart figure captions with TeXlive 2021

The original file works without error in LaTeX releases from LaTeX2e <2021-11-15> pre-release-2 (develop 2021-9-20 branch) Original answer The class needs to be updated for the 2021 latex ...
user avatar
7 votes
Accepted

The value of \hsize in ams classes is 0pt in the preamble

It's not really a bug and in many ways it's more consistent than the standard classes which do set it. \hsize is not a document parameter like \textwidth; it just has local values in different ...
user avatar
7 votes
Accepted

How do I get a new copy of amsart?

it's not really clear what the problem is here. amsart was updated in 2009 to accept an option \subjclass[2010]{...} there is a large backlog of existing documents that use earlier versions of the ...
user avatar
7 votes
Accepted

Algorithms and amsart

You have to make additional provisions for the list of algorithms with AMS classes: \documentclass[11pt]{amsart} \usepackage{algorithm}% http://ctan.org/pkg/algorithms \usepackage{algorithmic}% http:/...
user avatar
7 votes
Accepted

Subtitle, abstract and multiple authors using Titling package

The titling package is definitely incompatible with amsart. You can easily implement a \subtitle command: \documentclass[11pt]{amsart} \makeatletter \def\@settitle{\begin{center}% \baselineskip14\...
user avatar
  • 1.0m
7 votes
Accepted

Problem of amsart and microtype under xelatex

There is imho a bug in microtype. When fontspec is not loaded it retrieve the wrong glyph slots in some cases and this leads to errors. This is not related to amsmart. You would get the same error ...
user avatar
7 votes
Accepted

How can I use hyphens in equation numbers, but periods in other numbers?

Just write \renewcommand{\theequation}{\thesection-\arabic{equation}} after \numberwithin{equation}{section}. A full MWE: \documentclass{amsart} \numberwithin{equation}{section} \renewcommand{\...
user avatar
  • 444k
6 votes
Accepted

Is the inline scaling of $\gtrsim$ or $\gtrapprox$ ok?

The symbols of package amssymb for \gtrsim and \gtrapprox are a little larger than in other fonts (e.g., MnSymbl). The symbols can be shrunk via \scalebox. Small disadvantage: the shrinking also ...
user avatar
6 votes
Accepted

How to add my current address to a paper?

amsart provides the command \curraddr for precisely the purpose of identifying an author's current address. Like other addresses, it will be placed at the end of the article in this order address ...
user avatar
6 votes
Accepted

amsart option titlepage puts the address on the last page

The amsaddr package does not delete the author names. There are two ways to use it, straight it will print the address below each author name (but put the email addresses a footnote), with the foot ...
user avatar
  • 92.3k
6 votes

more than one abstract in amsart document

If you are happy with the first abstract being in the document's main language, you can define a \newabstract command taking as argument the language you want to typeset the second (third, …) abstract ...
user avatar
  • 1.0m
6 votes
Accepted

AMSART: Change subsection headings from boldface to smallcaps

Since amsart.cls has \def\subsection{\@startsection{subsection}{2}% \z@{.5\linespacing\@plus.7\linespacing}{-.5em}% {\normalfont\bfseries}} you just add, in your document preamble (that is, ...
user avatar
  • 1.0m

Only top scored, non community-wiki answers of a minimum length are eligible