Storing several macros in one command when they start with `makeatletter`Compilation error when a command argument contains a math formula with a bracket ]Beamer: How to do src highlighting when src is split with only<> command?error when patching with etoolbox apptocmd: “the patching command seems to be nested in the argument to some other command”Problem when imitating one-sided printing with double-sided printing in Memoir ClassError: could not start the command in Texmaker when I run makeindexTexStudio gives 'Could not start command' with my custom build scriptLaTeX beamer: pagenumbering appendixThe contents of an overfull [ ] environment affects if my document runs, when combined with custom commandHow to replace a command with a dummy one?Overlay of edges of a tree created with one command

What does "tick" mean in this sentence?

Can I cause damage to electrical appliances by unplugging them when they are turned on?

Unable to disable Microsoft Store in domain environment

Possible Eco thriller, man invents a device to remove rain from glass

Sigmoid with a slope but no asymptotes?

Telemetry for feature health

How do you justify more code being written by following clean code practices?

The Digit Triangles

Should I warn a new PhD Student?

When and why was runway 07/25 at Kai Tak removed?

Is there a reason to prefer HFS+ over APFS for disk images in High Sierra and/or Mojave?

Would this string work as string?

How to test the sharpness of a knife?

Check if object is null and return null

Does Doodling or Improvising on the Piano Have Any Benefits?

How do I Interface a PS/2 Keyboard without Modern Techniques?

Typing CO_2 easily

Grepping string, but include all non-blank lines following each grep match

Ways of geometrical multiplication

Make a Bowl of Alphabet Soup

Can I say "fingers" when referring to toes?

Should I assume I have passed probation?

How to leave product feedback on macOS?

How do I prevent inappropriate ads from appearing in my game?



Storing several macros in one command when they start with `makeatletter`


Compilation error when a command argument contains a math formula with a bracket ]Beamer: How to do src highlighting when src is split with only<> command?error when patching with etoolbox apptocmd: “the patching command seems to be nested in the argument to some other command”Problem when imitating one-sided printing with double-sided printing in Memoir ClassError: could not start the command in Texmaker when I run makeindexTexStudio gives 'Could not start command' with my custom build scriptLaTeX beamer: pagenumbering appendixThe contents of an overfull [ ] environment affects if my document runs, when combined with custom commandHow to replace a command with a dummy one?Overlay of edges of a tree created with one command













0















I want to create beamer slides but I frequently need to change the margins of my frames using the commands



% Page wide frame
makeatletter
defGm@lmarginwidthTextMarginLeftPageWide%
defGm@rmarginwidthTextMarginRightPageWide%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidth
columnwidthtextwidth
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
makeatother


I tried to store it in a shorter form as follows



newcommandframePageWide<the code above>


But I get the error "@Gm does not match its definition"



documentclass[aspectratio=169, xcolor=x11names]beamer

usecolorthemeseahorse
useouterthemesplit
useinnerthemeinmargin

newlengthwidthTextMarginLeftPageWide
setlengthwidthTextMarginLeftPageWide5mm
newlengthwidthTextMarginRightPageWide
setlengthwidthTextMarginRightPageWide5mm

newcommandframePageWide

begindocument



% Page wide frame
makeatletter
defGm@lmarginwidthTextMarginLeftPageWide%
defGm@rmarginwidthTextMarginRightPageWide%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidth
columnwidthtextwidth
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
makeatother

beginframe
frametitleMinipages in beamer

ruletextwidth1pt

begincolumns[T,onlytextwidth]

column0.45textwidth
ruletextwidth1pt

column0.45textwidth
ruletextwidth1pt

endcolumns

endframe




enddocument








share


























    0















    I want to create beamer slides but I frequently need to change the margins of my frames using the commands



    % Page wide frame
    makeatletter
    defGm@lmarginwidthTextMarginLeftPageWide%
    defGm@rmarginwidthTextMarginRightPageWide%
    textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
    hsizetextwidth
    columnwidthtextwidth
    hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
    makeatother


    I tried to store it in a shorter form as follows



    newcommandframePageWide<the code above>


    But I get the error "@Gm does not match its definition"



    documentclass[aspectratio=169, xcolor=x11names]beamer

    usecolorthemeseahorse
    useouterthemesplit
    useinnerthemeinmargin

    newlengthwidthTextMarginLeftPageWide
    setlengthwidthTextMarginLeftPageWide5mm
    newlengthwidthTextMarginRightPageWide
    setlengthwidthTextMarginRightPageWide5mm

    newcommandframePageWide

    begindocument



    % Page wide frame
    makeatletter
    defGm@lmarginwidthTextMarginLeftPageWide%
    defGm@rmarginwidthTextMarginRightPageWide%
    textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
    hsizetextwidth
    columnwidthtextwidth
    hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
    makeatother

    beginframe
    frametitleMinipages in beamer

    ruletextwidth1pt

    begincolumns[T,onlytextwidth]

    column0.45textwidth
    ruletextwidth1pt

    column0.45textwidth
    ruletextwidth1pt

    endcolumns

    endframe




    enddocument








    share
























      0












      0








      0








      I want to create beamer slides but I frequently need to change the margins of my frames using the commands



      % Page wide frame
      makeatletter
      defGm@lmarginwidthTextMarginLeftPageWide%
      defGm@rmarginwidthTextMarginRightPageWide%
      textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
      hsizetextwidth
      columnwidthtextwidth
      hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
      makeatother


      I tried to store it in a shorter form as follows



      newcommandframePageWide<the code above>


      But I get the error "@Gm does not match its definition"



      documentclass[aspectratio=169, xcolor=x11names]beamer

      usecolorthemeseahorse
      useouterthemesplit
      useinnerthemeinmargin

      newlengthwidthTextMarginLeftPageWide
      setlengthwidthTextMarginLeftPageWide5mm
      newlengthwidthTextMarginRightPageWide
      setlengthwidthTextMarginRightPageWide5mm

      newcommandframePageWide

      begindocument



      % Page wide frame
      makeatletter
      defGm@lmarginwidthTextMarginLeftPageWide%
      defGm@rmarginwidthTextMarginRightPageWide%
      textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
      hsizetextwidth
      columnwidthtextwidth
      hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
      makeatother

      beginframe
      frametitleMinipages in beamer

      ruletextwidth1pt

      begincolumns[T,onlytextwidth]

      column0.45textwidth
      ruletextwidth1pt

      column0.45textwidth
      ruletextwidth1pt

      endcolumns

      endframe




      enddocument








      share














      I want to create beamer slides but I frequently need to change the margins of my frames using the commands



      % Page wide frame
      makeatletter
      defGm@lmarginwidthTextMarginLeftPageWide%
      defGm@rmarginwidthTextMarginRightPageWide%
      textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
      hsizetextwidth
      columnwidthtextwidth
      hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
      makeatother


      I tried to store it in a shorter form as follows



      newcommandframePageWide<the code above>


      But I get the error "@Gm does not match its definition"



      documentclass[aspectratio=169, xcolor=x11names]beamer

      usecolorthemeseahorse
      useouterthemesplit
      useinnerthemeinmargin

      newlengthwidthTextMarginLeftPageWide
      setlengthwidthTextMarginLeftPageWide5mm
      newlengthwidthTextMarginRightPageWide
      setlengthwidthTextMarginRightPageWide5mm

      newcommandframePageWide

      begindocument



      % Page wide frame
      makeatletter
      defGm@lmarginwidthTextMarginLeftPageWide%
      defGm@rmarginwidthTextMarginRightPageWide%
      textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
      hsizetextwidth
      columnwidthtextwidth
      hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
      makeatother

      beginframe
      frametitleMinipages in beamer

      ruletextwidth1pt

      begincolumns[T,onlytextwidth]

      column0.45textwidth
      ruletextwidth1pt

      column0.45textwidth
      ruletextwidth1pt

      endcolumns

      endframe




      enddocument






      beamer errors margins





      share












      share










      share



      share










      asked 2 mins ago









      Al-Motasem AldaoudeyehAl-Motasem Aldaoudeyeh

      1,760414




      1,760414




















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "85"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480608%2fstoring-several-macros-in-one-command-when-they-start-with-makeatletter%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480608%2fstoring-several-macros-in-one-command-when-they-start-with-makeatletter%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

          Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

          Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm