Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    latex这个代码怎么省略

    C斯达克
    3
    4
    396
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 李东岳
      李东岳 管理员 last edited by

      就是写公式那个:

      \begin{equation}
      ddd
      \end{equation}
      

      怎么能简化成类似下种:

      \xx
      ddd
      \xx
      

      或者

      \begin{e}
      ddd
      \end{e}
      

      也行

      CFD高性能服务器 http://dyfluid.com/servers.html

      1 Reply Last reply Reply Quote
      • F
        Fu last edited by

        可以用newcommand

        \newcommand\xx{\begin{equation}} 
        \newcommand\xxx{\end{equation}} 
        
        \xx
        1+1=2
        \xxx
        

        输出:
        5a6a14f7-d257-49a0-a34f-5e23d564f0de-1637654905(1).png

        李东岳 1 Reply Last reply Reply Quote
        • 李东岳
          李东岳 管理员 @Fu last edited by

          @fu 多谢大佬大佬!!

          CFD高性能服务器 http://dyfluid.com/servers.html

          1 Reply Last reply Reply Quote
          • L
            Leon Zhao last edited by

            mark 一下

            Carpe Diem

            1 Reply Last reply Reply Quote
            • First post
              Last post

            CFD中文网 | 东岳流体 | 京ICP备15017992号-2
            论坛登录问题反馈可联系 li.dy@dyfluid.com