Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equation in 01-3.md doesn't render #75

Closed
titusjgr opened this issue Feb 27, 2020 · 6 comments
Closed

Equation in 01-3.md doesn't render #75

titusjgr opened this issue Feb 27, 2020 · 6 comments

Comments

@titusjgr
Copy link
Contributor

The Katex code in the markdown file of 01-3 doesn't render.

$$
\label{nonlinear_transform}
    f(x) = tanh\bigg(\begin{bmatrix} s & 0 \\ 0 & s \end{bmatrix} \bigg)
$$
@ebetica
Copy link
Collaborator

ebetica commented Feb 27, 2020

Should work if you get rid of the \label line.

@Atcold
Copy link
Owner

Atcold commented Feb 28, 2020

Any update, @titusjgr?

@titusjgr
Copy link
Contributor Author

What was the \label line for?

@ebetica
Copy link
Collaborator

ebetica commented Feb 28, 2020

In Latex, it's so you can \ref{label_name} in a future section, but I don't see it used anywhere else so the student probably just inserted it by mistake.

@titusjgr
Copy link
Contributor Author

Some lines are referencing equations using numbers. Should I manually \tag those referenced?

@Atcold
Copy link
Owner

Atcold commented Feb 29, 2020

I confirm that removing the label and adding one empty line before and after the equation gets the equation rendered.
So, just go with what currently is done in 01-3.md.

Next, we visualize the following transformation:

$$
f(x) = \tanh\bigg(\begin{bmatrix} s & 0 \\ 0 & s \end{bmatrix} \bigg)
$$

Recall, the graph of $\tanh(\cdot)$ in Fig. 4.

Screenshot 2020-02-29 03 16 28

@Atcold Atcold closed this as completed Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants