Wolfram Computation Meets Knowledge

You can change the font used for input and output cells in all notebooks to your preferred one, such as Courier, by evaluating the following:

    CurrentValue[$FrontEnd, {StyleHints, "CodeFont"}] = "Courier"    

This will undo these changes.

   CurrentValue[$FrontEnd, {StyleHints, "CodeFont"}] = Inherited     

Note that the fonts used in mathematics typesetting are the supplied MathFonts. This setting cannot be changed.

To alter the styling of a given font, edit the input or output cell style in a stylesheet.

Here we demonstrate the procedure for input cells. The procedure for output cells is the same.

  1. From the menu bar, select FormatEdit Stylesheet. A blank stylesheet opens.
  2. Under Choose a style, select the Input cell style and make sure the Input cell bracket is highlighted.


  3. Use the Format menu selection to edit the characteristics (FormatFace or Background Color, for example). Here we change the font face to italic:

  4. Click the upper-right button, Install Stylesheet. An install dialog appears. Enter the stylesheet name and select who the users will be. Click OK to confirm.

Now this stylesheet is available under FormatStylesheet.

You may wish to make this stylesheet the default one for your Mathematica.

Была ли эта статья для вас полезной?
Да
Нет

Хотите оставить комментарий?

Спасибо за ваш отзыв.

Отправить

Обратиться в службу поддержки

Если у вас есть вопросы о ценах и оплате, активации или сомнения по техническим темам, мы готовы вам помочь.

1-800-WOLFRAM (+1-217-398-0700 для международных звонков)

Служба поддержки

Понедельник-пятница
с 08:00 до 17:00 по центральному времени США

  • Регистрация или активация продукта
  • Предпродажная информация и заказ
  • Помощь в установке и первом запуске

Расширенная техническая поддержка (для правомочных клиентов)

Понедельник-четверг
с 08:00 до 19:00 по центральному времени США

Пятница
с 08:30 до 10:00 и с 11:00 до 17:00 по центральному времени США

  • Приоритетная техническая поддержка
  • Поддержка по продуктам от экспертов Wolfram
  • Помощь специалистов по программированию на Wolfram Language
  • Расширенная поддержка установки