1

For my weekly meetings I like to create a live script to show to my advisor. This week I decided to try and export to LaTeX

I started with these equations using the MATLAB's equation editor as I could not do it with the the built in LaTeX editor.

Start Picture

When it is transported over to LaTeX it looks like this

\begin{par}
$$A=\text{â}\left\lbrack \begin{array}{cc}
\varepsilon_1  & 1\\
\varepsilon_1  & 1\\
\ldotp \ldotp \ldotp  & 1\\
\varepsilon_n  & 1
\end{array}\right\rbrack$$
\end{par}

\begin{par}
$$x=\left\lbrack \begin{array}{c}
a\left(\lambda \right)\\
b\left(\lambda \right)
\end{array}\right\rbrack$$
\end{par}

\begin{par}
$$Î=\left\lbrack \begin{array}{c}
L_{1\left(\lambda \right)} \\
L_{2\left(\lambda \right)} \\
\ldotp \ldotp \ldotp \\
L_{n\left(\lambda \right)} 
\end{array}\right\rbrack$$
\end{par}

Which obviously gives me error messages due to the symbols.

! Package inputenc Error: Unicode char â (U+2009) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation.

My question is what is going on here? In texmaker it errors on me and in texWorks it just skips it. Is there any way to fix it or will I have to create the matricies again in LaTeX?

4

1 回答 1

1

â位于第二行和Î最后一条语句的字符\begin会给您带来问题,因为它们是 Unicode。您可能希望删除\text{â}代码中的块并更改Î为 ASCII 的其他内容...例如B图像中的字母。顺便说一句,当我通过QuickLaTeX在线呈现它时,此代码不会出错。

完成这些更改后,我会得到以下信息:

在此处输入图像描述

小注

第二行A可能是错字。您可能希望将第一列的下标更改为 2,而不是 1。

于 2017-06-22T15:28:01.893 回答