How Do I Use A Small Font Size In Questions And Answers?

3 views (last 30 days)
Is there any way to use a small font size in questions or answers? That is, for the purpose of minor and possibly irrelevant information?
I've checked the Markdown syntax but couldn't find anything. However, I feel I've seen it on the site somewhere...I have seen a website Fonts Monster in which I see very different types of font styles but I can't find the smallest font in this very type of font but.......

Answers (1)

Walter Roberson
Walter Roberson on 29 Oct 2021
No there is no support for that.
At the moment the smallest font available is by placing text in an "example code" section. That is slightly to the right of the middle of the toolbar. I am on mobile at the moment so I cannot currently describe exactly where.
Example code sections are colorized like matlab code, but are not executed with the Run feature.
  1 Comment
DGM
DGM on 29 Oct 2021
Edited: DGM on 29 Oct 2021
Learn something new every day. I wondered what that was for.
Formatted code that can be run in-browser:
refpict = imread('tire.tif');
outpict = imnoise(refpict,'gaussian');
% calculate NMSE
mse = immse(refpict,outpict);
energy = sum(refpict(:).^2);
nmse = (mse/energy) % normalize
Tiny example code:
refpict = imread('tire.tif');
outpict = imnoise(refpict,'gaussian');
% calculate NMSE
mse = immse(refpict,outpict);
energy = sum(refpict(:).^2);
nmse = (mse/energy) % normalize

Sign in to comment.

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!