Search found 44 matches

by yaozhao
Wed Sep 04, 2019 2:13 am
Forum: Math & Science
Topic: How to realize such two columns (one column text and the other figure)?
Replies: 1
Views: 87

How to realize such two columns (one column text and the other figure)?

How to realize such two columns (one column text and the other figure)?

Please see the attached photo.
by yaozhao
Tue Sep 03, 2019 11:39 pm
Forum: Math & Science
Topic: How to leave some space between number and text?
Replies: 1
Views: 75

How to leave some space between number and text?

  1. \usepackage{amsmath}
  2. \[P_E=5,000 \text{cents} \]


5000cents

I want 5000 cents.

Many thanks in advance!
by yaozhao
Mon Sep 02, 2019 2:28 pm
Forum: Math & Science
Topic: Why is command \textendash invalid in math mode?
Replies: 3
Views: 113

Why is command \textendash invalid in math mode?

Not the same question. The problems are different.
by yaozhao
Mon Sep 02, 2019 1:22 pm
Forum: Math & Science
Topic: Why is command \textendash invalid in math mode?
Replies: 3
Views: 113

Why is command \textendash invalid in math mode?

\documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} Q_O^D &= 75 – 5 P_O + P_C + 2I \\ Q_O^D &= 75 – 5 P_O + 5 + (2\times 10) \end{align*} \end{document} Overleaf gives command \textendash invalid in math mode on input line 34. (34 is the line of \end{align*}...
by yaozhao
Mon Sep 02, 2019 1:14 pm
Forum: Math & Science
Topic: Why is command \textendash invalid in math mode?
Replies: 3
Views: 93

Why is command \textendash invalid in math mode?

I see. Yes, after using your code, the warning message disappeared. But how to type minus in my Mac?
by yaozhao
Mon Sep 02, 2019 5:02 am
Forum: Math & Science
Topic: Why is command \textendash invalid in math mode?
Replies: 3
Views: 93

Why is command \textendash invalid in math mode?

  1. \[Q_O^D = 75 – 5 P_O + P_C + 2I\]


Overleaf gives command \textendash invalid in math mode on input line 34.
(34 is the line of this code in my file)

But it can still give my pdf. Why is this warning? What's the meaning? Should I just ignore it?
by yaozhao
Mon Sep 02, 2019 3:52 am
Forum: Math & Science
Topic: How to align equation when it includes texts?
Replies: 1
Views: 84

How to align equation when it includes texts?

  1. 10. a. The inverse supply is
  2. \[P =\frac{Q^S}{10}\]
  3. whereas the inverse demand is
  4. \[P = 20 – \frac{1}{5}Q^D\]
  5. The graph is shown below.


I want that two = align. How to do this? I know how to do when there are no texts (by using \begin{align*} and &).
by yaozhao
Mon Aug 05, 2019 4:49 pm
Forum: TeXworks
Topic: How to edit this math formula?
Replies: 3
Views: 362

How to edit this math formula?

Thank you so much. Instead, I am using TeXworks. So you suggest I should never use $$ or $$ $$ to edit math?
by yaozhao
Sat Aug 03, 2019 6:36 am
Forum: TeXworks
Topic: How to edit this math formula?
Replies: 3
Views: 362

How to edit this math formula?

  1. $$max U(z) such that \Sigma p_i z_i \leq I$$


There should have 2 improvements.

1st: Between max U(z) and such that should have some whitespace, how to do that?

2nd: I want to add a letter 'z' below max U(z). How to do?

Many thanks in advance!
by yaozhao
Thu May 09, 2019 1:43 pm
Forum: TeXworks
Topic: How to debug this code?
Replies: 3
Views: 711

How to debug this code?

Q1: I know where the problem is. | should be coded as \mid. What's the difference? I can also type | usually in TeXworks. Q2: Another problem is that yesterday you told me the tilde in LaTeX is an unbreakable space. Thus, I tried to use this idea in my code: multiple linear regression model $S_i = \...

Go to advanced search