Scshape ile prova ortamı
Aug 30 2020
İstiyorum
\newtheorem*{prf}{\normalfont\scshape Proof}
ancak sonunda otomatik bir \ qedisimbol (QED) ile.
Yanıtlar
2 Bernard Aug 30 2020 at 21:11
İşte bunu yapmanın bir yolu ntheorem:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage[svgnames]{xcolor}
\usepackage{amsmath, amssymb}
\usepackage[thmmarks, amsmath, thref]{ntheorem}
\theoremstyle{plain}
\theoremheaderfont{\upshape\bfseries}
\theoremseparator{.}
\theorembodyfont{\itshape}
\newtheorem{thm}{Theorem}
\theoremstyle{nonumberplain}
\theoremheaderfont{\scshape}
\theoremseparator{:}
\theorembodyfont{\upshape}
\theoremsymbol{\ensuremath{\color{Gainsboro}\blacksquare}}
\newtheorem{prf}{Proof}
\begin{document}
\begin{thm}\label{th-a}
This theorem is awesome!
\end{thm}
\begin{prf}
One-lined proof: Blahblah Blahblah Blahblah.
\end{prf}
\begin{prf}[Variant]
This is a very important proof.
\begin{align*} a & = b\\ c & = d. \end{align*}
\end{prf}
\end{document}
2 Vincent Aug 30 2020 at 22:33
Olağan proofortamı ile yapılabilir amsthm. İspat ismini ayarlamak için isteğe bağlı bir argümana sahiptir, böylece \normalfont\scshapeyazı tipini ayarlamak için bu argümana da geçebilirsiniz .
\documentclass[11pt]{article}
\usepackage{amsthm}
\newtheorem*{thm}{Theorem}
\newenvironment{prf}[1][Proof]{%
\begin{proof}[\normalfont\scshape #1]%
}{%
\end{proof}%
}
\begin{document}
\begin{thm}
A theorem.
\end{thm}
\begin{prf}
The proof.
\end{prf}
\end{document}
Gene Simmons, KISS Çizgi Romanlarının Potansiyel Olarak "İnsanlığı Yeniden Yaratabileceğini" Söyledi
Nicole Kidman, Michael Keaton ve Val Kilmer'in Batman Olarak Paylaştığı Bu 1 Çekici Özelliğe Bayıldı
Charly Reynolds Yakın Zamandaki Vokal Kord Ameliyatını Açıkladı: 'Şarkı Söylemekte Sorun Yaşıyordum'