Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting the font size in the Command, Results, Review, Variables and Properties windows in eg profile.do

    Hi
    The font size in my Command, Results, Review, Variables and Properties windows changes randomly when open versions of Stata.
    Is there a setting or command that locks the font size to eg 9?
    I can't find anything in the manual.

    Looking forward to hear from you.
    Kind regards

    nhb

  • #2
    Hello Niels, I think your best bet is to start with:

    Code:
    Manage window preferences
    
            window manage prefs {load "prefname"|save "prefname"|default}
    I don't think you can easily tweak font size from the commands, though it is a setting in the preferences (stored in the registry).
    But most of the time the chaos is caused by adding a second monitor, or similar staff, so you can have preferences for home/office/etc with some logic for selection of one.

    See help here: https://www.stata.com/manuals13/gsw17.pdf

    Hope this helps. Best, Sergiy

    Comment


    • #3
      Hi Sergiy
      Thank you for the tip.
      Regrettably there does not seem to be options for font sizes in the prefs.
      Kind regards

      nhb

      Comment


      • #4
        It must be there. Check again. The idea is that you configure the Stata interface through dialogs interactively, then save the snapshot of configuration, which you can load later through the above command.

        Comment


        • #5
          I'm sorry to say it is not
          Kind regards

          nhb

          Comment


          • #6
            Any chance that the issue has been solved in Stata16 ? I have the same annoying problem and have to resize the character preferences for all the windows (main, command, variables, etc) . The problem does not seem to apply to the do.file screen

            Comment


            • #7
              Hello everybody,
              the thread is a bit old, but since I just encountered the same problem I may try to clarify:
              What Sergiy Radyakin suggests is the following procedure:
              1. You configure font sizes in the windows (output, variables etc.) manually by right-clicking.
              2. Then you use the following code to store these settings under "prefname"
              Code:
               window manage prefs save "prefname"
              so you can load them later with
              Code:
               window manage prefs load "prefname"
              This works perfectly fine for me.
              Best
              Boris
              Last edited by Boris Ivanov; 25 Jan 2021, 04:12.

              Comment


              • #8
                Dear Boris
                Thank you very much.
                I'll test this.
                Kind regards
                nhb
                Kind regards

                nhb

                Comment

                Working...
                X