Skip to Content.
Sympa Menu

texmacs-users - Re: Algo keywords

Subject: mailing-list for TeXmacs Users

List archive

Re: Algo keywords


Chronological Thread 
  • From: Frank <address@hidden>
  • To: Андрей Самойлов <address@hidden>,address@hidden
  • Subject: Re: Algo keywords
  • Date: Mon, 21 Sep 2020 07:17:38 +0000

Hi,

It does not seem difficult to understand these macros by trials. I don't
understand what you have tried, but simply inputting \algo-if in TeXmacs, you
get something like

if ___ then
___

I think that it is just to make this pseudocode more convenient (than
inputting these words manually).

Best,
Frank

于 September 21, 2020 6:16:56 AM UTC, "Андрей Самойлов" <address@hidden> 写到:
>Oops, I've seen that file, but truly, it does not give much information
>
>on how to use them in the editor itself. I even tried to put
>algo-function directly into *.tm file, but couldn't make it work
>correctly. I was hoping the author or somebody from texmacs team would
>answer my question.
>
>On 21.09.2020 9:00, Frank wrote:
>> Hi,
>>
>> I cannot find a manuel containing these. However, since texmacs is
>open source, you can search in the source tree and get
>>
>>
>https://github.com/texmacs/texmacs/blob/master/TeXmacs/packages/environment/env-pseudo-code.ts
>>
>> It looks used to render pseudo-codes.
>>
>> Best,
>> Frank
>>
>> 于 September 20, 2020 5:55:38 PM UTC, "Андрей Самойлов"
><address@hidden> 写到:
>>> I am seeing from the binary of texmacs.exe that the program supports
>>> these keywords, some of them I have used. How do I find information
>>> about how to use them? Some manual, or how do I employ them in the
>app?
>>>
>>> algo-and
>>> algo-body
>>> algo-else
>>> algo-ensure
>>> algo-false
>>> algo-for
>>> algo-function
>>> algo-globals
>>> algo-if-else-if
>>> algo-inputs
>>> algo-loop
>>> algo-not
>>> algo-or
>>> algo-outputs
>>> algo-print
>>> algo-procedure
>>> algo-repeat
>>> algo-require
>>> algo-return
>>> algo-state
>>> algo-to
>>> algo-true
>>> algo-while
>>> algo-xor

--
使用 K-9 Mail 发送自我的Android设备。



Archive powered by MHonArc 2.6.19.

Top of Page