Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: abbrivation in ado-file and equation in help file?


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: abbrivation in ado-file and equation in help file?
Date   Fri, 21 Dec 2012 11:07:04 +0000

Naturally. There is a section in [U], a section in [P], an example
help file, etc. Start with -help smcl-, -search smcl-. But as said
there are no SMCL directives that help with anything specifically for
mathematical typesetting.

Nick

On Fri, Dec 21, 2012 at 9:09 AM, Nick Bornschein
<nick.bornschein@googlemail.com> wrote:

> Is there any guide how to implement SMCL directives in a help file. At the
> moment I have no idea how to do this and what I need to do is just bring one
> equation in my help file.

Am 20.12.12 15:49, schrieb Nick Cox:

>> If you want to allow say
>>
>> myprogram
>>
>> to be abbreviatable as
>>
>> myprog
>>
>> you would need to release two or more ado files, In particular,
>> myprog.ado could contain in its entirety
>>
>> program myprog
>>              myprogram `0'
>> end
>>
>> If you want to allow -myprogra-, -myprogr- as well each of those
>> abbreviations requires a separate .ado file too.
>>
>> Equations can be indicated using text or SMCL directives. You would
>> need to provide a link to files containing anything else. For example,
>> Stata doesn't support TeX ir HTML mark-up in help files.

On Thu, Dec 20, 2012 at 2:32 PM, Nick Bornschein
>> <nick.bornschein@googlemail.com> wrote:
>>
>>> I have written my first ado-file for calculation the effect size r after
>>> a
>>> t-Test and while writing the ado-/help file I'm trying to fix 2 things:
>>>
>>> -how can I tell stata in my ado-file to use an abbreviation for my new
>>> command?
>>> -is it possible to write an equation in a help file?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index