Open cooknl opened 4 years ago
The formatting of "values" in various contexts has me scratching my head.
Plain text
299792458
299792458
Plain text scientific notation
2.99792458 x 10^8^
2.99792458 x 108
Inline math mode
\(299792458\)
Inline math mode scientific notation
\(2.99792458 \times 10^8\)
"Use \text{ } for units, commas, embedded qualifiers (e.g. \text{, where })" I think this only applies in display mode, not for inline mode. For inline mode, you can just exit math inline mode and type normal text.
The formatting of "values" in various contexts has me scratching my head.
Plain text
299792458
299792458Plain text scientific notation
2.99792458 x 10^8^
2.99792458 x 108Inline math mode
\(299792458\)
Inline math mode scientific notation
\(2.99792458 \times 10^8\)
I like the look of math mode over plain text, but that's an aesthetic opinion.
I'm attempting to clarify when to use inline math mode and when not.
I think the link is broken.
Concur with both the aesthetic choice and the inline "mode toggle" statements above.
@rwstanfo
On Sat, Mar 14, 2020, 18:21 flighttestfact notifications@github.com wrote:
https://github.com/Society-of-Flight-Test-Engineers/handbook-2013/wiki/Handbook-Markdown-Style-Guide#math-mode http://url
I'm attempting to clarify when to use inline math mode and when not.
I think the link is broken.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Society-of-Flight-Test-Engineers/handbook-2013/issues/199#issuecomment-599146856, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHBHY73YSWKVPE25NO357DRHQGOLANCNFSM4LJJOS5Q .
Link fixed
Actually, there are times when toggling doesn't work, for example:
\(\psi = \atan \left( X\), \(Y \right) \)
doesn't render because the \left(
is unmatched inside of the inline delimiters.
You can use commas inside math mode.
On Sat, Mar 14, 2020, 8:26 PM CAPN notifications@github.com wrote:
Actually, there are times when toggling doesn't work, for example: (\psi = \atan \left( X), (Y \right) ) doesn't render because the \left( is unmatched inside of the inline delimiters.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Society-of-Flight-Test-Engineers/handbook-2013/issues/199#issuecomment-599155509, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYB2DFHCA27G3D7NMOPE6DRHQVGBANCNFSM4LJJOS5Q .
Valid, but the spacing is jacked
On Sat, Mar 14, 2020, 20:37 Mark Jones Jr. notifications@github.com wrote:
You can use commas inside math mode.
On Sat, Mar 14, 2020, 8:26 PM CAPN notifications@github.com wrote:
Actually, there are times when toggling doesn't work, for example: (\psi = \atan \left( X), (Y \right) ) doesn't render because the \left( is unmatched inside of the inline delimiters.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/Society-of-Flight-Test-Engineers/handbook-2013/issues/199#issuecomment-599155509 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABYB2DFHCA27G3D7NMOPE6DRHQVGBANCNFSM4LJJOS5Q
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Society-of-Flight-Test-Engineers/handbook-2013/issues/199#issuecomment-599156139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHBHY2CVIITMJH2OIFFTCLRHQWNNANCNFSM4LJJOS5Q .
I concur with using math mode for values in the text. I've reviewed the math mode style guide and have no issues with it. I will need to circle back and apply some of the guidance to sections I've worked on however.
If you can spare the time to go back, that would be helpful.
Also, we are learning as we go, adding items to the style guide, and I expect to be going back at the end to do a final style scrub.
One comment on... comments. The block syntax is a bit cumbersome for small comments. I've been using the following syntax, which is only marginally better.
“<!--- comment here --->”
Haven't found a better way yet for dropping quick comments. Any thoughts?
I concur that they are a tad on the cumbersome side.
Intent is to avoid embedding HTML in the markdown, if at all possible.
It's not a major foul at this point, and it's not something I'm going to fall in my sword over.
One comment on... comments. The block syntax is a bit cumbersome for small comments. I've been using the following syntax, which is only marginally better.
Haven't found a better way yet for dropping quick comments. Any thoughts?
I'm not seeing an alternate syntax for comments...am I missing something?
Now you should be able to the comment syntax in my above post. GitHub interpreted it as an actual comment when I didn’t use surrounding quotation marks
...because GitHub uses "GitHub-flavored" Markdown in all its text fields!
@cooknl can you be more specific for the desired “degree” sign and how to generate it? Are you using an html tag to render it or some other method? When I look through the source code for the style guide page it still just appears as a rendered degree sign.
The style guide recommends a triple back tick "block" comment. Ryan had been using an HTML style comment (which was ironically hidden until he put it in quotes).
Regarding the degree symbol, it's a Unicode symbol that I copied and pasted directly from search results in a browser to my text editor. I haven't looked closely at how to use alternative representations for it to render.
Almost all modern text editors support UTF-8 encodings directly.
Okay, to summarize:
\text{ }
for embedded "regular words", noting that in some inline cases, the math mode can be "toggled" before and after text.Closing arguments? Unmentioned concerns?
https://github.com/Society-of-Flight-Test-Engineers/handbook-2013/wiki/Handbook-Markdown-Style-Guide#math-mode
I'm attempting to clarify when to use inline math mode and when not.