数学中国

 找回密码
 注册
搜索
热搜: 活动 交友 discuz
楼主: 乘简

TeX/LaTeX文本数学公式简易教程

  [复制链接]
发表于 2022-7-19 15:41 | 显示全部楼层
LATEX 模板:
\documentclass[12pt, a4paper, oneside,fleqn]{article}
\newcommand{\probability}{P}
\renewcommand{\theequation}{\arabic{section}.\arabic{subsection}.\arabic{equation}}
\makeatletter
\@addtoreset{equation}{section}
\@addtoreset{equation}{subsection}
\makeatother
\usepackage{ctex}
\usepackage{amsmath, amsthm, amssymb, graphicx}
\title{}
\title{论文题目}
\author{中国 成都 作者单位  姓名}
\date{\today}
\newtheorem{mythmm}{定理}[subsection]
\newtheorem{definition}[mythmm]{定义}
\newtheorem{lemma}[mythmm]{引理}
\newtheorem{corollary}[mythmm]{推理}
\newtheorem{example}[mythmm]{例如}
\newtheorem{proposition}[mythmm]{命题}
\newtheorem{conjecture}[mythmm]{猜想}
\newtheorem{axiom}[mythmm]{公理}
\begin{document}
\maketitle
\noindent
摘要\hspace{1em} 内容。  
\par\noindent\textbf{关键字: } 关键字1,关键字2,,,,关键字6
\par\noindent\textbf{数学学科分类号: } 6008
       
                \section{第1章$\hspace{1em}$名称}
        \subsection{节名称}
        \subsubsection{小节名称}

\end{document}

\subsubsection{概}
\begin{equation*}
\hspace{-2.5em}
\end{equation*}
\begin{equation}\label{}{公式}
\hspace{-2.5em}
\end{equation}

\begin{definition}\label{}{定义}
\rm
\end{definition}

\begin{mythmm}\label{}{定理}
\rm
\end{mythmm}

\begin{lemma}\label{}{引理}
\rm
\end{lemma}

\begin{example}\label{}{例如}
\rm
\end{example}

\begin{corollary}\label{}{推理}
\rm
\end{corollary}

\begin{conjecture}\label{}{猜想}
\rm
\end{conjecture}

\begin{proposition}\label{}{命题}
\rm
\end{proposition}

\begin{axiom}\label{}{公理}
\rm
\end{axiom}
回复 支持 反对

使用道具 举报

发表于 2022-7-19 20:34 | 显示全部楼层
本帖最后由 njzz_yy 于 2022-7-19 20:51 编辑

经验1:有时第一次排版,引用的公式编号是(??),找不到错误,再排版,就正常了。
经验2:第1次排版有错,修改后,不能正常排版,删除.TEX以外的文件,再排版,就正常了。
回复 支持 反对

使用道具 举报

发表于 2022-7-25 17:23 | 显示全部楼层
本帖最后由 数学小白新 于 2022-7-25 17:30 编辑

如何输入长一点圆弧符号?比如:\[\overset{\LARGE{\frown}}{AB}\] 是这样,如果我想输圆弧ACDB,但那个圆弧还是原来那么长:
\[\overset{\LARGE{\frown}}{ACDB}\]
回复 支持 1 反对 0

使用道具 举报

发表于 2022-9-27 23:34 | 显示全部楼层
LATEX模板,修改再排版
经验1:有时第一次排版,引用的公式编号是(??),找不到错误,再排版,就正常了。
经验2:第1次排版有错,修改后,删除.TEX以外的文件,再排版,就正常了。
经验3:指明错误排数,找不到错,在该排前加:\end{document},再排版,如正常,说明错误在该排后;如错误在前,再前移:\end{document},删除.TEX以外的文件,,再排版,........,不断缩小搜索范围,......,再人工小范围查找错误,
经验4:指明错误在某定义(或定理,引理,推理,公理,猜想,公式)之中,将\end{definition}   \end{document},放在该定义某位置,排版正确,说明错误在后,否则,错误在前,再前移该两语句:.不断缩小搜索范围,.....
回复 支持 反对

使用道具 举报

发表于 2022-11-1 10:07 | 显示全部楼层
数学小白新 发表于 2022-7-25 17:23
如何输入长一点圆弧符号?比如:\[\overset{\LARGE{\frown}}{AB}\] 是这样,如果我想输圆弧ACDB,但那个圆 ...


重大测试成功!!!

\(\overset{\Huge\frown}{ABC}\)

  1. \(\overset{\Huge\frown}{ABC}\)
复制代码
回复 支持 反对

使用道具 举报

发表于 2023-2-24 18:36 | 显示全部楼层
本帖最后由 数学小白新 于 2023-2-24 18:45 编辑

\(\overset{\Huge\frown}{ABCD}\)
回复 支持 反对

使用道具 举报

发表于 2023-3-20 16:41 | 显示全部楼层
数学小白新 发表于 2023-2-24 18:36
\(\overset{\Huge\frown}{ABCD}\)

如果不介意外观的话,这个也不错

\(\widehat{abcde}\)
回复 支持 反对

使用道具 举报

发表于 2023-3-26 23:29 | 显示全部楼层
\left\{\begin{matrix}   x=a + r\text{cos}\theta \\    y=b + r\text{sin}\theta \end{matrix}\right.
回复 支持 反对

使用道具 举报

发表于 2023-3-27 00:15 | 显示全部楼层
数学小白新 发表于 2023-3-26 23:29
\left\{\begin{matrix}   x=a + r\text{cos}\theta \\    y=b + r\text{sin}\theta \end{matrix}\right.

\(\left\{ {\begin{array}{*{20}{c}}
{x = a + r\cos \theta }\\
{y = b + r\sin \theta }
\end{array}} \right.\)

  1. \(\left\{ {\begin{array}{*{20}{c}}
  2. {x = a + r\cos \theta }\\
  3. {y = b + r\sin \theta }
  4. \end{array}} \right.\)
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|数学中国 ( 京ICP备05040119号 )

GMT+8, 2025-4-27 14:35 , Processed in 0.087859 second(s), 14 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表