怎么知道texlive安装成功了吗?

2020-02-27 20:38发布

我看了下 https://www.bilibili.com/video/av46184147?from=search&seid=5450536851460495244 发现我的相照应操作完全没办法完成...

我看了下 https://www.bilibili.com/video/av46184147?from=search&seid=5450536851460495244 发现我的相照应操作完全没办法完成,只有显示如下的情况![](https://pics.latexstudio.net/data/images/202002/4c82e3f89d0658a.png) 而且我按照 file:///E:/Install-LaTeX.pdf 操作是时,没有问题 ![](https://pics.latexstudio.net/data/images/202002/edf5238baeeff82.png) 但是换成别的tex文件就不行了, 内容如下: ```tex \documentclass[12pt]{article} \usepackage[margin=1.25in]{geometry} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{prop}[theorem]{Proposition} \newtheorem{cor}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{claim}[theorem]{Claim} \newtheorem{remark}[theorem]{Remark} \newtheorem{question}{Question} \newtheorem{problem}{Problem}[section] \newtheorem*{fact}{Fact} \newtheorem{example}[theorem]{Example} \newtheorem{exercise}{}[section] \newtheorem*{solution}{Solution} \newtheorem*{asolution}{Alternative Solution} \begin{document} \title{Introduction to \LaTeX} \author{Jude Gao} \date{2019} \maketitle \section{Introduction} Hello, world! $5x=100$ Then we get $$x^{22} + y^2 = z^2 + s_{111}$$ $$ \underbrace{\bar{f}(n)}_{\ne 0} := \sqrt { \sum_{i = 0}^{\lg n} 4^i \left(\frac{n_0}{2^i}\right)^\theta } $$ \section{Results about positive integers} \begin{theorem} \label{inf_ints} There are infinitely many positive integers. \begin{proof} Assume for contradiction that there are only finitely many positive integers. Let $x$ be the largest positive integer. But then $x+1$ is a larger positive integer, contradiction. \end{proof} \end{theorem} The proof of Theorem \ref{inf_ints} uses a technique called proof by contradiction. \subsection{Lists} \begin{enumerate} \item \underline{ordered list} \begin{itemize} \item Jude \item Gao \end{itemize} \item unordered list \end{enumerate} \begin{itemize} \item ordered list \begin{itemize} \item \textbf {Jude} \item \textit {Gao} \end{itemize} \item unordered list \end{itemize} \subsection{Alignment} \begin{align*} y &= 4x_1 + 5x_2 - 3x_1 +2x_2 \\ &= (4-3)x_1 + (5+2)x_2 \\ &= x_1 + 7x_2 \end{align*} $$ \begin{bmatrix} 1 &0 &-1 \\ 0 &1 &33 \\ 22 &-1 & 22 \end{bmatrix} $$ $$ f(x) = \begin{cases} 1 &\text{if $x$ is rational} \\ 0 &\text{if $x$ is irrational} \end{cases} $$ \end{document} ``` 结果如下: ![](https://pics.latexstudio.net/data/images/202002/f81ab0faf5d1565.png) 求解?
1条回答
下一次你最好学一下怎么用网站编辑器的代码块。 你可能需要升级全部宏包,命令行执行: ``` tlmgr update --all --self ``` 另外别把文件放中文路径下,容易出事。 如果上面那个命令不行,试试看 ``` tlmgr install ifxetex ```

一周热门 更多>