Search found 46 matches

by yaozhao
Tue Oct 08, 2019 12:56 am
Forum: Fonts & Character Sets
Topic: How to set single space and font size 12?
Replies: 1
Views: 104

How to set single space and font size 12?

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \begin{document}
  2. \fontsize{12}{12}%
  3. \selectfont
  4. \linespread{1}\selectfont


Am I correct?

Many thanks in advance!
by yaozhao
Mon Sep 23, 2019 11:37 pm
Forum: Graphics, Figures & Tables
Topic: How to make my table prettier?
Replies: 2
Views: 122

How to make my table prettier?

\documentclass{article} \usepackage[utf8]{inputenc} \begin{center} \begin{tabular}{ |c|c|c| } \hline {} & \multicolumn{2}{|c|}{Decision Conclusion from hypothesis test)} \\ \hline True Population State (Unknown) & Reject $H_0$ & Retain $H_0$ \\ \hline Means are equal ($H...
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: 109

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: 92

How to leave some space between number and text?

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  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: 176

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: 176

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: 122

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: 122

Why is command \textendash invalid in math mode?

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  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: 101

How to align equation when it includes texts?

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  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: 501

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?

Go to advanced search