Storing several macros in one command when they start with `makeatletter`
I want to create beamer
slides but I frequently need to change the margins of my frames using the commands (thanks to samcarter for providing the original code)
% Page wide frame
makeatletter
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
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
newcommand{framePageWide}{<the code above>}
But I get the error "@Gm does not match its definition"
documentclass[aspectratio=169, xcolor={x11names}]{beamer}
usecolortheme{seahorse}
useoutertheme{split}
useinnertheme{inmargin}
newlength{widthTextMarginLeftPageWide}
setlength{widthTextMarginLeftPageWide}{5mm}
newlength{widthTextMarginRightPageWide}
setlength{widthTextMarginRightPageWide}{5mm}
newcommand{framePageWide}{}
begin{document}
{
% Page wide frame
makeatletter
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidth
columnwidthtextwidth
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
makeatother
begin{frame}
frametitle{Minipages in beamer}
rule{textwidth}{1pt}
begin{columns}[T,onlytextwidth]
column{0.45textwidth}
rule{textwidth}{1pt}
column{0.45textwidth}
rule{textwidth}{1pt}
end{columns}
end{frame}
}
end{document}
beamer errors margins
|
show 2 more comments
I want to create beamer
slides but I frequently need to change the margins of my frames using the commands (thanks to samcarter for providing the original code)
% Page wide frame
makeatletter
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
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
newcommand{framePageWide}{<the code above>}
But I get the error "@Gm does not match its definition"
documentclass[aspectratio=169, xcolor={x11names}]{beamer}
usecolortheme{seahorse}
useoutertheme{split}
useinnertheme{inmargin}
newlength{widthTextMarginLeftPageWide}
setlength{widthTextMarginLeftPageWide}{5mm}
newlength{widthTextMarginRightPageWide}
setlength{widthTextMarginRightPageWide}{5mm}
newcommand{framePageWide}{}
begin{document}
{
% Page wide frame
makeatletter
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidth
columnwidthtextwidth
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
makeatother
begin{frame}
frametitle{Minipages in beamer}
rule{textwidth}{1pt}
begin{columns}[T,onlytextwidth]
column{0.45textwidth}
rule{textwidth}{1pt}
column{0.45textwidth}
rule{textwidth}{1pt}
end{columns}
end{frame}
}
end{document}
beamer errors margins
Hopefully you placed themakeatletter
andmakeatother
OUTSIDE of thenewcommand{framePageWide}{...}
definition, and not inside the braces.
– Steven B. Segletes
2 hours ago
Even with that, it does not work
– Al-Motasem Aldaoudeyeh
2 hours ago
2
I confirm what @StevenB.Segletes is saying: if you domakeatletter newcommand{framePageWide}{defGm@lmargin{widthTextMarginLeftPageWide}% defGm@rmargin{widthTextMarginRightPageWide}% textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax hsizetextwidth columnwidthtextwidth hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax} makeatother
then there is no problem.
– marmot
2 hours ago
I definedframePageWide
withoutmakeatletter
andmakeatother
around it, but then usedmakeatletter
andmakeatother
in the text itself after the command has been defined. It is merely misunderstanding. I should have placedmakeatletter
andmakeatother
to enclose the new command in the preamble, not at my attempt to call it
– Al-Motasem Aldaoudeyeh
2 hours ago
1
Thank you @marmot for the consideration.
– Steven B. Segletes
1 hour ago
|
show 2 more comments
I want to create beamer
slides but I frequently need to change the margins of my frames using the commands (thanks to samcarter for providing the original code)
% Page wide frame
makeatletter
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
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
newcommand{framePageWide}{<the code above>}
But I get the error "@Gm does not match its definition"
documentclass[aspectratio=169, xcolor={x11names}]{beamer}
usecolortheme{seahorse}
useoutertheme{split}
useinnertheme{inmargin}
newlength{widthTextMarginLeftPageWide}
setlength{widthTextMarginLeftPageWide}{5mm}
newlength{widthTextMarginRightPageWide}
setlength{widthTextMarginRightPageWide}{5mm}
newcommand{framePageWide}{}
begin{document}
{
% Page wide frame
makeatletter
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidth
columnwidthtextwidth
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
makeatother
begin{frame}
frametitle{Minipages in beamer}
rule{textwidth}{1pt}
begin{columns}[T,onlytextwidth]
column{0.45textwidth}
rule{textwidth}{1pt}
column{0.45textwidth}
rule{textwidth}{1pt}
end{columns}
end{frame}
}
end{document}
beamer errors margins
I want to create beamer
slides but I frequently need to change the margins of my frames using the commands (thanks to samcarter for providing the original code)
% Page wide frame
makeatletter
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
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
newcommand{framePageWide}{<the code above>}
But I get the error "@Gm does not match its definition"
documentclass[aspectratio=169, xcolor={x11names}]{beamer}
usecolortheme{seahorse}
useoutertheme{split}
useinnertheme{inmargin}
newlength{widthTextMarginLeftPageWide}
setlength{widthTextMarginLeftPageWide}{5mm}
newlength{widthTextMarginRightPageWide}
setlength{widthTextMarginRightPageWide}{5mm}
newcommand{framePageWide}{}
begin{document}
{
% Page wide frame
makeatletter
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidth
columnwidthtextwidth
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
makeatother
begin{frame}
frametitle{Minipages in beamer}
rule{textwidth}{1pt}
begin{columns}[T,onlytextwidth]
column{0.45textwidth}
rule{textwidth}{1pt}
column{0.45textwidth}
rule{textwidth}{1pt}
end{columns}
end{frame}
}
end{document}
beamer errors margins
beamer errors margins
edited 2 hours ago
Al-Motasem Aldaoudeyeh
asked 2 hours ago
Al-Motasem AldaoudeyehAl-Motasem Aldaoudeyeh
1,765414
1,765414
Hopefully you placed themakeatletter
andmakeatother
OUTSIDE of thenewcommand{framePageWide}{...}
definition, and not inside the braces.
– Steven B. Segletes
2 hours ago
Even with that, it does not work
– Al-Motasem Aldaoudeyeh
2 hours ago
2
I confirm what @StevenB.Segletes is saying: if you domakeatletter newcommand{framePageWide}{defGm@lmargin{widthTextMarginLeftPageWide}% defGm@rmargin{widthTextMarginRightPageWide}% textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax hsizetextwidth columnwidthtextwidth hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax} makeatother
then there is no problem.
– marmot
2 hours ago
I definedframePageWide
withoutmakeatletter
andmakeatother
around it, but then usedmakeatletter
andmakeatother
in the text itself after the command has been defined. It is merely misunderstanding. I should have placedmakeatletter
andmakeatother
to enclose the new command in the preamble, not at my attempt to call it
– Al-Motasem Aldaoudeyeh
2 hours ago
1
Thank you @marmot for the consideration.
– Steven B. Segletes
1 hour ago
|
show 2 more comments
Hopefully you placed themakeatletter
andmakeatother
OUTSIDE of thenewcommand{framePageWide}{...}
definition, and not inside the braces.
– Steven B. Segletes
2 hours ago
Even with that, it does not work
– Al-Motasem Aldaoudeyeh
2 hours ago
2
I confirm what @StevenB.Segletes is saying: if you domakeatletter newcommand{framePageWide}{defGm@lmargin{widthTextMarginLeftPageWide}% defGm@rmargin{widthTextMarginRightPageWide}% textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax hsizetextwidth columnwidthtextwidth hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax} makeatother
then there is no problem.
– marmot
2 hours ago
I definedframePageWide
withoutmakeatletter
andmakeatother
around it, but then usedmakeatletter
andmakeatother
in the text itself after the command has been defined. It is merely misunderstanding. I should have placedmakeatletter
andmakeatother
to enclose the new command in the preamble, not at my attempt to call it
– Al-Motasem Aldaoudeyeh
2 hours ago
1
Thank you @marmot for the consideration.
– Steven B. Segletes
1 hour ago
Hopefully you placed the
makeatletter
and makeatother
OUTSIDE of the newcommand{framePageWide}{...}
definition, and not inside the braces.– Steven B. Segletes
2 hours ago
Hopefully you placed the
makeatletter
and makeatother
OUTSIDE of the newcommand{framePageWide}{...}
definition, and not inside the braces.– Steven B. Segletes
2 hours ago
Even with that, it does not work
– Al-Motasem Aldaoudeyeh
2 hours ago
Even with that, it does not work
– Al-Motasem Aldaoudeyeh
2 hours ago
2
2
I confirm what @StevenB.Segletes is saying: if you do
makeatletter newcommand{framePageWide}{defGm@lmargin{widthTextMarginLeftPageWide}% defGm@rmargin{widthTextMarginRightPageWide}% textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax hsizetextwidth columnwidthtextwidth hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax} makeatother
then there is no problem.– marmot
2 hours ago
I confirm what @StevenB.Segletes is saying: if you do
makeatletter newcommand{framePageWide}{defGm@lmargin{widthTextMarginLeftPageWide}% defGm@rmargin{widthTextMarginRightPageWide}% textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax hsizetextwidth columnwidthtextwidth hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax} makeatother
then there is no problem.– marmot
2 hours ago
I defined
framePageWide
without makeatletter
and makeatother
around it, but then used makeatletter
and makeatother
in the text itself after the command has been defined. It is merely misunderstanding. I should have placed makeatletter
and makeatother
to enclose the new command in the preamble, not at my attempt to call it– Al-Motasem Aldaoudeyeh
2 hours ago
I defined
framePageWide
without makeatletter
and makeatother
around it, but then used makeatletter
and makeatother
in the text itself after the command has been defined. It is merely misunderstanding. I should have placed makeatletter
and makeatother
to enclose the new command in the preamble, not at my attempt to call it– Al-Motasem Aldaoudeyeh
2 hours ago
1
1
Thank you @marmot for the consideration.
– Steven B. Segletes
1 hour ago
Thank you @marmot for the consideration.
– Steven B. Segletes
1 hour ago
|
show 2 more comments
1 Answer
1
active
oldest
votes
As I indicated in my original comment, the makeatletter
and makeatother
surround the actual definition, rather than surrounding the content of the definition. That is to say,
YES:
makeatletternewcommandframePageWide{...}makeatother
NO:
newcommandframePageWide{makeatletter...makeatother}
The MWE
documentclass[aspectratio=169, xcolor={x11names}]{beamer}
usecolortheme{seahorse}
useoutertheme{split}
useinnertheme{inmargin}
newlength{widthTextMarginLeftPageWide}
setlength{widthTextMarginLeftPageWide}{5mm}
newlength{widthTextMarginRightPageWide}
setlength{widthTextMarginRightPageWide}{5mm}
makeatletter
newcommand{framePageWide}{%
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidthrelax
columnwidthtextwidthrelax
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
}
makeatother
begin{document}
{framePageWide
% Page wide frame
begin{frame}
frametitle{Minipages in beamer}
rule{textwidth}{1pt}
begin{columns}[T,onlytextwidth]
column{0.45textwidth}
rule{textwidth}{1pt}
column{0.45textwidth}
rule{textwidth}{1pt}
end{columns}
end{frame}
}
end{document}
Without the framePageWide
, one gets
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As I indicated in my original comment, the makeatletter
and makeatother
surround the actual definition, rather than surrounding the content of the definition. That is to say,
YES:
makeatletternewcommandframePageWide{...}makeatother
NO:
newcommandframePageWide{makeatletter...makeatother}
The MWE
documentclass[aspectratio=169, xcolor={x11names}]{beamer}
usecolortheme{seahorse}
useoutertheme{split}
useinnertheme{inmargin}
newlength{widthTextMarginLeftPageWide}
setlength{widthTextMarginLeftPageWide}{5mm}
newlength{widthTextMarginRightPageWide}
setlength{widthTextMarginRightPageWide}{5mm}
makeatletter
newcommand{framePageWide}{%
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidthrelax
columnwidthtextwidthrelax
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
}
makeatother
begin{document}
{framePageWide
% Page wide frame
begin{frame}
frametitle{Minipages in beamer}
rule{textwidth}{1pt}
begin{columns}[T,onlytextwidth]
column{0.45textwidth}
rule{textwidth}{1pt}
column{0.45textwidth}
rule{textwidth}{1pt}
end{columns}
end{frame}
}
end{document}
Without the framePageWide
, one gets
add a comment |
As I indicated in my original comment, the makeatletter
and makeatother
surround the actual definition, rather than surrounding the content of the definition. That is to say,
YES:
makeatletternewcommandframePageWide{...}makeatother
NO:
newcommandframePageWide{makeatletter...makeatother}
The MWE
documentclass[aspectratio=169, xcolor={x11names}]{beamer}
usecolortheme{seahorse}
useoutertheme{split}
useinnertheme{inmargin}
newlength{widthTextMarginLeftPageWide}
setlength{widthTextMarginLeftPageWide}{5mm}
newlength{widthTextMarginRightPageWide}
setlength{widthTextMarginRightPageWide}{5mm}
makeatletter
newcommand{framePageWide}{%
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidthrelax
columnwidthtextwidthrelax
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
}
makeatother
begin{document}
{framePageWide
% Page wide frame
begin{frame}
frametitle{Minipages in beamer}
rule{textwidth}{1pt}
begin{columns}[T,onlytextwidth]
column{0.45textwidth}
rule{textwidth}{1pt}
column{0.45textwidth}
rule{textwidth}{1pt}
end{columns}
end{frame}
}
end{document}
Without the framePageWide
, one gets
add a comment |
As I indicated in my original comment, the makeatletter
and makeatother
surround the actual definition, rather than surrounding the content of the definition. That is to say,
YES:
makeatletternewcommandframePageWide{...}makeatother
NO:
newcommandframePageWide{makeatletter...makeatother}
The MWE
documentclass[aspectratio=169, xcolor={x11names}]{beamer}
usecolortheme{seahorse}
useoutertheme{split}
useinnertheme{inmargin}
newlength{widthTextMarginLeftPageWide}
setlength{widthTextMarginLeftPageWide}{5mm}
newlength{widthTextMarginRightPageWide}
setlength{widthTextMarginRightPageWide}{5mm}
makeatletter
newcommand{framePageWide}{%
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidthrelax
columnwidthtextwidthrelax
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
}
makeatother
begin{document}
{framePageWide
% Page wide frame
begin{frame}
frametitle{Minipages in beamer}
rule{textwidth}{1pt}
begin{columns}[T,onlytextwidth]
column{0.45textwidth}
rule{textwidth}{1pt}
column{0.45textwidth}
rule{textwidth}{1pt}
end{columns}
end{frame}
}
end{document}
Without the framePageWide
, one gets
As I indicated in my original comment, the makeatletter
and makeatother
surround the actual definition, rather than surrounding the content of the definition. That is to say,
YES:
makeatletternewcommandframePageWide{...}makeatother
NO:
newcommandframePageWide{makeatletter...makeatother}
The MWE
documentclass[aspectratio=169, xcolor={x11names}]{beamer}
usecolortheme{seahorse}
useoutertheme{split}
useinnertheme{inmargin}
newlength{widthTextMarginLeftPageWide}
setlength{widthTextMarginLeftPageWide}{5mm}
newlength{widthTextMarginRightPageWide}
setlength{widthTextMarginRightPageWide}{5mm}
makeatletter
newcommand{framePageWide}{%
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidthrelax
columnwidthtextwidthrelax
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax
}
makeatother
begin{document}
{framePageWide
% Page wide frame
begin{frame}
frametitle{Minipages in beamer}
rule{textwidth}{1pt}
begin{columns}[T,onlytextwidth]
column{0.45textwidth}
rule{textwidth}{1pt}
column{0.45textwidth}
rule{textwidth}{1pt}
end{columns}
end{frame}
}
end{document}
Without the framePageWide
, one gets
answered 1 hour ago
Steven B. SegletesSteven B. Segletes
159k9204411
159k9204411
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Hopefully you placed the
makeatletter
andmakeatother
OUTSIDE of thenewcommand{framePageWide}{...}
definition, and not inside the braces.– Steven B. Segletes
2 hours ago
Even with that, it does not work
– Al-Motasem Aldaoudeyeh
2 hours ago
2
I confirm what @StevenB.Segletes is saying: if you do
makeatletter newcommand{framePageWide}{defGm@lmargin{widthTextMarginLeftPageWide}% defGm@rmargin{widthTextMarginRightPageWide}% textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax hsizetextwidth columnwidthtextwidth hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftPageWiderelax} makeatother
then there is no problem.– marmot
2 hours ago
I defined
framePageWide
withoutmakeatletter
andmakeatother
around it, but then usedmakeatletter
andmakeatother
in the text itself after the command has been defined. It is merely misunderstanding. I should have placedmakeatletter
andmakeatother
to enclose the new command in the preamble, not at my attempt to call it– Al-Motasem Aldaoudeyeh
2 hours ago
1
Thank you @marmot for the consideration.
– Steven B. Segletes
1 hour ago