Shade/Black a Square: Get Help from Peter

  • MHB
  • Thread starter Math Amateur
  • Start date
  • Tags
    Square
In summary: You are correct that we use Mathjax here. To answer your question, no, I do not believe so. We can add some extensions on the backend (and we have - the cancel command for example), but you can't load other packages simply by running \usepackage at the beginning of your $\LaTeX$. My guess is that Evgeny.Makarov was giving Peter a way to do this in his own editor, not on MHB.
  • #1
Math Amateur
Gold Member
MHB
3,998
48
I recently posted a suggested proof to a theorem and wish to mark the finish of the proof with a filled-in or shaded/black square as some texts do ...

I typed in \square as a guess and got an unshaded square ... how to do get a shaded or black square?

Hope someone can help ...

Peter
 
Physics news on Phys.org
  • #2
With your title I was thinking about Peano curves. :) I believe there's a \blacksquare command in LaTeX.
 
  • #3
Fantini said:
With your title I was thinking about Peano curves. :) I believe there's a \blacksquare command in LaTeX.

Hi Fantini ... sadly, nothing so interesting ... :)

However ... ... thanks for your help ...

Peter
 
  • #4
Yes, there is a math mode [m]\blacksquare[/m] command defined in the amssymb package, I believe. You can also use [m]\rule{1ex}{1ex}[/m], which creates a line with width and height 1ex. To put the mark at the end of the last line of a paragraph you can finish it with [m]\hfill\$\blacksquare\$[/m]. However, I recommend using the [m]ntheorem[/m] package, which defined various environments for theorems and proofs. It has some subtleties, though, so you should read the documentation. For example, enabling proof end marks requires package option [m][thmmarks][/m], and compatibility with [m]amsmath[/m] is achieved by option [m][amsmath][/m], for example,

\usepackage[amsmath,thmmarks]{ntheorem}

Another package for theorems is [m]amsthm[/m].
 
  • #5
Evgeny.Makarov said:
Yes, there is a math mode [m]\blacksquare[/m] command defined in the amssymb package, I believe. You can also use [m]\rule{1ex}{1ex}[/m], which creates a line with width and height 1ex. To put the mark at the end of the last line of a paragraph you can finish it with [m]\hfill\$\blacksquare\$[/m]. However, I recommend using the [m]ntheorem[/m] package, which defined various environments for theorems and proofs. It has some subtleties, though, so you should read the documentation. For example, enabling proof end marks requires package option [m][thmmarks][/m], and compatibility with [m]amsmath[/m] is achieved by option [m][amsmath][/m], for example,

\usepackage[amsmath,thmmarks]{ntheorem}

Another package for theorems is [m]amsthm[/m].

Thanks Evgeny ...

Mind you, I think your solutions are a bit too sophisticated for me though :) ... however, probably good solutions for other users ...

Peter
 
  • #6
Evgeny.Makarov said:
Yes, there is a math mode [m]\blacksquare[/m] command defined in the amssymb package, I believe. You can also use [m]\rule{1ex}{1ex}[/m], which creates a line with width and height 1ex. To put the mark at the end of the last line of a paragraph you can finish it with [m]\hfill\$\blacksquare\$[/m]. However, I recommend using the [m]ntheorem[/m] package, which defined various environments for theorems and proofs. It has some subtleties, though, so you should read the documentation. For example, enabling proof end marks requires package option [m][thmmarks][/m], and compatibility with [m]amsmath[/m] is achieved by option [m][amsmath][/m], for example,

\usepackage[amsmath,thmmarks]{ntheorem}

Another package for theorems is [m]amsthm[/m].

I think we use MATHJAX on this website. So, the main question coming in my mind is : Can we really use additional packages on this website with the \usepackage command?
 
  • #7
phymat said:
I think we use MATHJAX on this website. So, the main question coming in my mind is : Can we really use additional packages on this website with the \usepackage command?

You are correct that we use Mathjax here. To answer your question, no, I do not believe so. We can add some extensions on the backend (and we have - the cancel command for example), but you can't load other packages simply by running \usepackage at the beginning of your $\LaTeX$.

My guess is that Evgeny.Makarov was giving Peter a way to do this in his own editor, not on MHB.
 

FAQ: Shade/Black a Square: Get Help from Peter

What is "Shade/Black a Square: Get Help from Peter"?

"Shade/Black a Square: Get Help from Peter" is a scientific experiment designed to test the effects of shading or blackening a square on a white background. It involves the participation of a scientist named Peter who will provide assistance and guidance throughout the experiment.

What is the purpose of this experiment?

The purpose of this experiment is to observe and measure the changes in temperature and light absorption of a shaded or blackened square compared to an unaltered white square. This can give insight into the role of color and shading in heat absorption and retention.

How is the experiment conducted?

The experiment involves placing a white square and a shaded or blackened square in direct sunlight for a set period of time. Temperature and light readings will be taken at regular intervals using scientific equipment. Peter will provide guidance on proper placement and measurement techniques.

What materials are needed for this experiment?

The materials needed for this experiment include: a white square, a shaded or blackened square, scientific equipment for measuring temperature and light, and assistance from Peter. Additional materials may be needed depending on the specific design of the experiment.

What are the expected outcomes of this experiment?

The expected outcomes of this experiment may vary depending on the specific design and variables. However, it is expected that the shaded or blackened square will absorb and retain more heat and light compared to the unaltered white square. This experiment may also provide insight into the effects of color and shading on heat absorption and retention.

Back
Top