Mastering Bold Writing in Latex to Using Number Signs for Emphasis

  • Context: LaTeX 
  • Thread starter Thread starter mech-eng
  • Start date Start date
  • Tags Tags
    Latex Writing
Click For Summary

Discussion Overview

The discussion revolves around the use of number signs for bold writing in LaTeX, specifically focusing on formatting two-word phrases and the functionality of various commands. Participants explore technical aspects of LaTeX syntax and its implications for text presentation.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant asks how to properly format a two-word phrase in bold using number signs, expressing frustration with the current method.
  • Another participant suggests using the command nsns\textrm{ I come }nsns to achieve the desired bold effect, but questions arise about the placement of the long arrow command.
  • Concerns are raised about the appearance of the long arrow command when used with number signs, with participants seeking clarification on its functionality.
  • A participant provides a correction, stating that the correct command for the long arrow is "\longrightarrow" and explains the shorthand notation for inline and display math in LaTeX.
  • Another suggestion is made to use nsnsI\ comensns to maintain the italic notation while achieving the bold effect, highlighting the nuances of spacing in LaTeX.

Areas of Agreement / Disagreement

Participants express differing views on the effectiveness and appearance of various LaTeX commands, indicating that there is no consensus on the best approach to achieve the desired formatting.

Contextual Notes

There are unresolved questions regarding the interaction between text and mathematical symbols in LaTeX, as well as the specific behavior of commands when combined with number signs.

mech-eng
Messages
826
Reaction score
13
Would you please explain
#: number sign shortly ns
1. How can I put a two-word phrase into bold type using number sign? I try to demonstrate it with using name of sign instead of sign itself.
nsns I come nsns

Above will appear as ## I come ## but I want it seem properly, abstract and all bold.
I know this nsns I nsns nsns come nssn but this is not practical.

Thank you.
 
Physics news on Phys.org
nsns\textrm{ I come }nsns ##\longrightarrow \textrm{ I come }##
 
  • Like
Likes   Reactions: mech-eng
fresh_42 said:
nsns\textrm{ I come }nsns ##\longrightarrow \textrm{ I come }##

upload_2017-4-16_21-30-5.png


But in the above you put longrightarrow code into ##, but longrightarrow appears out of it. Would you explain this?

Thank you.
 
mech-eng said:
View attachment 195062

But in the above you put longrightarrow code into ##, but longrightarrow appears out of it. Would you explain this?

Thank you.
It isn't out of it, it starts right before the arrow and ends after \textrm{ }. Since there are no other mathematical symbols, only text, it might appear as outside.
 
  • Like
Likes   Reactions: mech-eng
fresh_42 said:
nsns\textrm{ I come }nsns longrightarrow ##\ \textrm{ I come }##
fresh_42 said:
It isn't out of it, it starts right before the arrow and ends after \textrm{ }. Since there are no other mathematical symbols, only text, it might appear as outside.
Long arrow does not work now. Would you explain how this happens and function of the double #?

\longarrow ##\textrm{ I come }##[/QUOTE]

Thank you.
 
  • Like
Likes   Reactions: mech-eng
You can also write nsnsI\ comensns which gives ##I\ come##. The space remains when preceeded by a backslash but you still keep the italic (variable notation).
 
  • Like
Likes   Reactions: mech-eng

Similar threads

  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 23 ·
Replies
23
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
3
Views
331K
  • · Replies 2 ·
Replies
2
Views
46K