[texhax] Sir, please can you help me?
Robert Wilson
millstadtf at gmail.com
Mon Mar 9 06:16:31 CET 2009
Check out this sample code:
***************************************
\documentclass{article}
\usepackage{amsthm, amssymb, amsmath}
\newtheoremstyle{TheoremExample} % name of the style to be used
{3pt}%{spaceabove}% measure of space to leave above the theorem. E.g.: 3pt
{3pt}%{spacebelow}% measure of space to leave below the theorem. E.g.: 3pt
{}%{bodyfont}% name of font to use in the body of the theorem
{}%{indent}% measure of space to indent
{}%{headfont}% name of head font
{\\}%{headpunctuation}% punctuation between head and body
{.5em}%{headspace}% space after theorem head
{A\_\thmnumber{#2}-\thmname{#1}}%{headspec}% Manually specify head
\theoremstyle{TheoremExample}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{theorem}
This is a test
\end{theorem}
\end{document}
***************************************
Also see the following links for more information:
http://en.wikibooks.org/wiki/LaTeX/Theorems
http://www.stat.umn.edu/~charlie/amslatex.html
No need for payment ;-)
-Bob Wilson
On Sun, Mar 8, 2009 at 8:51 PM, Raju Grover <rajurenjitgrover at yahoo.com>wrote:
> Respected Sir,
>
>
>
> Please can you write a Tex macro for me. I am willing to pay you for it, so
> please also sent me your account details so that I may deposit the amount
> you specify.
>
>
>
> This is what I want to write in my paper.
>
>
>
> A_1-Theorem. . . .
>
> Proof. . . .
>
>
>
> A_2-Theroem. . . .
>
> Proof. . . .
>
>
>
> And so on.
>
>
>
> So if I write
>
>
>
> \newtheorem*{thm}{}
>
>
>
> then there will be dot before A_1-Theorem, . . .
>
> So I need to get rid of that dot. So can you please write a theoremstyle
> which does not have a dot in headpunct. I do not think I can use a new
> style file. I am not a master of Tex. I know just enough for my pourpose.
>
>
>
> Thanking you
>
>
>
> Your sincerely
>
>
>
> Raju Grover.
>
>
>
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20090308/ba0ceca7/attachment-0001.html
More information about the texhax
mailing list