# [SOLVED]LaTeX resizing

#### Prove It

##### Well-known member
MHB Math Helper
Hi all,

I posted a reply to this thread, and have found that when the image generated by the LaTeX compiler appears, if the image is too wide, it is simply cut off.

On the forbidden site (MHF), if this happens, the image resizes itself to fit the entire image on the page.

Could this please be applied here?

Thanks

Hayden

#### dwsmith

##### Well-known member
Hi all,

I posted a reply to this thread, and have found that when the image generated by the LaTeX compiler appears, if the image is too wide, it is simply cut off.

On the forbidden site (MHF), if this happens, the image resizes itself to fit the entire image on the page.

Could this please be applied here?

Thanks

Hayden
All $$\LaTeX$$ compilers will run code off the edge of any document we create. This is just how it operates. Just like when you write a document, you have to be cognizant of over filled horizontal boxes same here. Hacking the system doesn't seem smart. New members or people being lazy may just type long drawn out code that would scale down to be un-readable. If that happens, it would be un-necessary strain on the moderates to fix those post. We have the ability to preview our post before we submit. This feature should be utilized to avoid hfill issues.

MHB Math Helper

#### Opalg

##### MHB Oldtimer
Staff member
Hi all,

I posted a reply to this thread, and have found that when the image generated by the LaTeX compiler appears, if the image is too wide, it is simply cut off.

On the forbidden site (MHF), if this happens, the image resizes itself to fit the entire image on the page.

Could this please be applied here?

Thanks

Hayden
What I found with my browser (Safari, on an iMac) is that if the browser window is wide enough then the whole formula appears. If I make the window narrower then the text wraps but the LaTeX formula does not. Instead, a horizontal scroll bar appears, but it is not set sufficiently wide to enable the whole LaTeX formula to be seen. Even if I scroll as far as possible to the right, the last part of the formula gets cut off. Maybe there is some parameter that can be reset to avoid this happening?

#### Jameson

Staff member
What I found with my browser (Safari, on an iMac) is that if the browser window is wide enough then the whole formula appears. If I make the window narrower then the text wraps but the LaTeX formula does not. Instead, a horizontal scroll bar appears, but it is not set sufficiently wide to enable the whole LaTeX formula to be seen. Even if I scroll as far as possible to the right, the last part of the formula gets cut off. Maybe there is some parameter that can be reset to avoid this happening?
I cannot reproduce this. Could you please take a screen shot of what's going on for me?

#### Opalg

##### MHB Oldtimer
Staff member
I cannot reproduce this. Could you please take a screen shot of what's going on for me?
Here is a screenshot of the window. You can see that although it is scrolled all the way to the right, two lines of the LaTeX display have been clipped short.

#### Jameson

Staff member
Can anyone who was experiencing this issue take a look now? I may have found a setting to stop equations from being clipped due to the window size. The code I found is already running so if it works it should be working now.

#### Evgeny.Makarov

##### Well-known member
MHB Math Scholar
Testing.

$\binom n p = \frac{n(n-1)(n-2)\cdots(n-p+1)}{p!}=\frac{k(n-1)(n-2)\cdots(n-p+1)}{(p-1)!}\not\equiv 0 \pmod{n}$

Seems to work, at least in the preview.

#### MarkFL

$$\displaystyle 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+$$