Re: A question of displaying an equation

Vincent Chen

VIncent

Re: A question of displaying an equation

Delmar Larsen <dlarsen@...>

highlight and erase formatting and see if it fixes itself.

You will note that I revamped section 1.1. That is the general format I want you to follow (irrespective of the typesetting of the original content).

Delmar

On 3/29/2019 12:35 PM, Vincent Chen wrote:
I have a question displaying an equation, and I have no diea. Can anyone help me with this?
Here is my code:

And here is the display:

How this happens?

Re: regarding left and right align

Delmar Larsen <dlarsen@...>

I would use a standard HTML table via the editor toolbar instead of using mathjax to render the table.

On 3/23/2019 9:10 PM, Jing Yue Chen wrote:
Hello, I've attached an image of what I am having trouble with coding below, but in short I'm having trouble achieving both left and right alignment using \hfill.

thank you!
--
Delmar Larsen, Ph.D.
Founder and Director of the LibreTexts libraries

regarding left and right align

Jing Yue Chen <djychen@...>

Hello, I've attached an image of what I am having trouble with coding below, but in short I'm having trouble achieving both left and right alignment using \hfill.

thank you!

Re: trouble getting rid of parenthetical references at the end of multiline equations

Seeburger, Paul (Mathematics)

​You can use the \begin{align*} and \end{align*} version to align without the equation numbering.

Paul Seeburger

Professor of Mathematics

Monroe Community College

1000 E. Henrietta Rd.

Rochester, NY  14623

585-292-2946

www.monroecc.edu/wusers/pseeburger  (Faculty webpage)

https://sites.monroecc.edu/multivariablecalculus/ (NSF Project website)

www.monroecc.edu/faculty/paulseeburger/calcnsf/CalcPlot3D/ (NSF Project Visualization JavaScript App)

From: Libretexts-ConstructionForum@groups.io <Libretexts-ConstructionForum@groups.io> on behalf of Jing Yue Chen <djychen@...>
Sent: Monday, March 11, 2019 4:17 PM
To: Libretexts-ConstructionForum@groups.io
Subject: [Libretexts-ConstructionForum] trouble getting rid of parenthetical references at the end of multiline equations

Warning: This email did not originate from the MCC Employee Email system. Please do not open attachments, click on links, or provide your credentials if the source is suspicious.

Hi all,

I am having trouble with trouble getting rid of parenthetical references at the end of multiline equations. I am using the \begin{align} and \end{align} format for these multiline equations so I can align them by the equal signs on each line, but I can't get rid of the references and I thought that wasn't supposed to happen as long as I use the  format??

Re: trouble getting rid of parenthetical references at the end of multiline equations

Delmar Larsen <dlarsen@...>

try adding \nonumber or \notag to the latex code

On 3/11/2019 1:17 PM, Jing Yue Chen wrote:
Hi all,

I am having trouble with trouble getting rid of parenthetical references at the end of multiline equations. I am using the \begin{align} and \end{align} format for these multiline equations so I can align them by the equal signs on each line, but I can't get rid of the references and I thought that wasn't supposed to happen as long as I use the  format??

trouble getting rid of parenthetical references at the end of multiline equations

Jing Yue Chen <djychen@...>

Hi all,

I am having trouble with trouble getting rid of parenthetical references at the end of multiline equations. I am using the \begin{align} and \end{align} format for these multiline equations so I can align them by the equal signs on each line, but I can't get rid of the references and I thought that wasn't supposed to happen as long as I use the  format??

Re: autonum & Templates

Hi Bob,

a) The formatting difference is because the automatic numbering uses the format from the title. The first example you use has the (correct) title format "11.2: Ion-Dipole Forces" while the second one has a - instead of a . : "14-4: Integrated Rate Law"
Fix the title and the numbering format will be consistent.

b) I can only answer this partially: Yes, you need a label because that is how the equation is referenced. So for example:
$E=mc^2 \label{EinsteinEq}$
To reference this equation you have to use the command \ref like this: See equation \ref{EinsteinEq}

Someone else will have to answer the part about referencing across pages, I don't know.

c) No, you do not need to add anything

Re: display error

Also note that \displaystye should not be used here, find details on when to use that code here (section "when editing math pages")

Re: display error

Hi Diana,
The (%) confuses things, I think. I am not sure what you goal is but try
$\text{Output Gap (%)} = \frac {Y - Y_P}{Y_P} \times \:100$
and let me know if that is what you are after

autonum & Templates

Robert Belford

I have some questions dealing with autonum and thought I'd post them to the forum.
(a) Why does the first page below show the Figure format of 11.2.2 ,
https://chem.libretexts.org/Courses/University_of_Arkansas_Little_Rock/Chem_1403%3A_General_Chemistry_2/Chapters/11._Intermolecular_Forces_and_Liquids/11.2%3A_Ion-Dipole_Forces
https://chem.libretexts.org/Courses/University_of_Arkansas_Little_Rock/Chem_1403%3A_General_Chemistry_2/Chapters/14%3A_Rates_of_Chemical_Reactions/14-4%3A_Integrated_Rate_Law

That is one page is #-#.# . while the other is #.#.#

(b)  if we want to link to an equation, do we still need \label{}, if the numbers are being autonumbered anyways?  .... So how do you link to an eq?  Especially if the link is from a different chapter?

(c) The  Template:BoxExercise states: "Add text here. For the automatic number to work, you need to add the "AutoNum" template (preferably at the end) to the page.", is this still needed?
Is there a tutorial on the use of the templates?
Cheers,
Bob

Bob

display error

djychen@...

Hello,

I am having trouble getting an equation to display correctly, and I don't know whether it's a site error or my own mistake in the code. I have attached images of my code and the display below. Thank you!

my code:
$\text{Output Gap}(%) = \displaystyle\frac {Y - Y_P}{Y_P} \times \:100$

view the image for the displayed code.

Respectfully,
Diana

Re: Bordermatrix Function

Hi Alexandra,
Try this:
\begin{array}{lrl} {} & {b} & {c} \\ {1} & {(2} & {3)}\end{array}

Dorte

Re: Bordermatrix Function

Delmar Larsen <dlarsen@...>

Alexandra:

This may help:

Delmar

On 3/4/2019 2:28 PM, aamilkey@... wrote:
Does the LibreText site have a way to label columns and rows on matrices? The site didn't seem to support the version of the bordermatrix function that I found online:

\bordermatrix{ ~ & b & c \cr
1 & 2 & 3 }

Based on what I found online, it should produce a matrix that looks like this.

Thank you!

Alexandra

--
Delmar Larsen, Ph.D.
Founder and Director of the LibreTexts libraries

Bordermatrix Function

aamilkey@...

Does the LibreText site have a way to label columns and rows on matrices? The site didn't seem to support the version of the bordermatrix function that I found online:

\bordermatrix{ ~ & b & c \cr
1 & 2 & 3 }

Based on what I found online, it should produce a matrix that looks like this.

Thank you!

Alexandra

Re: latex/mathjax formatting hint

aamilkey@...

Thank you!

Re: latex/mathjax formatting hint

Josh Halpern

Try

\left|    \right\rangle as in

\left| \dfrac{a}{b} \right\rangle

Josh Halpern

On 2019-02-22 14:25, aamilkey@... wrote:

Is there a way to make /left and /right work for Dirac braket notation instead of using \big?

Re: latex/mathjax formatting hint

aamilkey@...

Is there a way to make /left and /right work for Dirac braket notation instead of using \big?

latex/mathjax formatting hint

Delmar Larsen <dlarsen@...>

Another typesetting right.

In mathjax/latex, instead of using \bigg for surrounding expressions, it is best to user \left and \right.

For example, use

$\left[ \theta + \frac{ \pi}{2} \right]$

$\bigg[ \theta + \frac{ \pi}{2} \bigg]$

This is because \bigg doesn't scale very well to different sizes.

Regards,

Delmar
--
Delmar Larsen, Ph.D.
Founder and Director of the LibreTexts libraries

Re: Page Indexing Error

Delmar Larsen <dlarsen@...>

That is because the page is not rendered correct below. All that white space means your HTML is screwy and thus mathjax does not render properly (even if written correctly) above.

On 2/19/2019 9:56 PM, qdnguy@... wrote:
My page index is returning an error even though the title appears to be normally formatted. I recall a message about this issue, but the solution included in the previous message isn't solving the issue.

https://med.libretexts.org/Bookshelves/Anatomy_and_Physiology/Book%3A_Anatomy_and_Physiology_(OpenStax)/Unit_1%3A_Levels_of_Organization/2%3A_The_Chemical_Level_of_Organization/2.03%3A_Chemical_Reactions
--
Delmar Larsen, Ph.D.
Founder and Director of the LibreTexts libraries

 761 - 780 of 792