TikZ: Font nullfont has only 7 fontdimen parameters
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
For the following MWE:
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagelipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx,cellspace,calc,tcolorbox,tikz,calc,fmtcount,etoolbox,soul
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over begintikzpicture[baseline=-thedimexprfontdimen22textfont2relax]draw[-latex,line width=4pt] (0,0) -- ++(10mm,0);endtikzpicture%
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
, this error shows up when drawing the tikz arrow
Font nullfont has only 7 fontdimen parameters.
However, when removing the tikz drawing of the arrow in the footer
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over
endminipage%
%
the error disappers.
So, I have two questions:
1- What causes this error when drawing the arrow?
2- Why isn't the arrow vertically aligned with the inline text as shown below?
tikz-pgf header-footer exam
add a comment |Â
up vote
2
down vote
favorite
For the following MWE:
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagelipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx,cellspace,calc,tcolorbox,tikz,calc,fmtcount,etoolbox,soul
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over begintikzpicture[baseline=-thedimexprfontdimen22textfont2relax]draw[-latex,line width=4pt] (0,0) -- ++(10mm,0);endtikzpicture%
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
, this error shows up when drawing the tikz arrow
Font nullfont has only 7 fontdimen parameters.
However, when removing the tikz drawing of the arrow in the footer
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over
endminipage%
%
the error disappers.
So, I have two questions:
1- What causes this error when drawing the arrow?
2- Why isn't the arrow vertically aligned with the inline text as shown below?
tikz-pgf header-footer exam
2
why the low level primitive accessthedimexprfontdimen22textfont2relax
? that is accessing param 22 of nullfont which isn't defined.
– David Carlisle
3 hours ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
For the following MWE:
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagelipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx,cellspace,calc,tcolorbox,tikz,calc,fmtcount,etoolbox,soul
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over begintikzpicture[baseline=-thedimexprfontdimen22textfont2relax]draw[-latex,line width=4pt] (0,0) -- ++(10mm,0);endtikzpicture%
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
, this error shows up when drawing the tikz arrow
Font nullfont has only 7 fontdimen parameters.
However, when removing the tikz drawing of the arrow in the footer
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over
endminipage%
%
the error disappers.
So, I have two questions:
1- What causes this error when drawing the arrow?
2- Why isn't the arrow vertically aligned with the inline text as shown below?
tikz-pgf header-footer exam
For the following MWE:
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagelipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx,cellspace,calc,tcolorbox,tikz,calc,fmtcount,etoolbox,soul
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over begintikzpicture[baseline=-thedimexprfontdimen22textfont2relax]draw[-latex,line width=4pt] (0,0) -- ++(10mm,0);endtikzpicture%
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
, this error shows up when drawing the tikz arrow
Font nullfont has only 7 fontdimen parameters.
However, when removing the tikz drawing of the arrow in the footer
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over
endminipage%
%
the error disappers.
So, I have two questions:
1- What causes this error when drawing the arrow?
2- Why isn't the arrow vertically aligned with the inline text as shown below?
tikz-pgf header-footer exam
tikz-pgf header-footer exam
asked 4 hours ago
Diaa
2,38711643
2,38711643
2
why the low level primitive accessthedimexprfontdimen22textfont2relax
? that is accessing param 22 of nullfont which isn't defined.
– David Carlisle
3 hours ago
add a comment |Â
2
why the low level primitive accessthedimexprfontdimen22textfont2relax
? that is accessing param 22 of nullfont which isn't defined.
– David Carlisle
3 hours ago
2
2
why the low level primitive access
thedimexprfontdimen22textfont2relax
? that is accessing param 22 of nullfont which isn't defined.– David Carlisle
3 hours ago
why the low level primitive access
thedimexprfontdimen22textfont2relax
? that is accessing param 22 of nullfont which isn't defined.– David Carlisle
3 hours ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
Perhaps you want this
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagelipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx,cellspace,calc,tcolorbox,tikz,calc,fmtcount,etoolbox,soul
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over
$vcenterhboxbegintikzpicturedraw[-latex,line width=4pt] (0,0) -- ++(10mm,0);endtikzpicture$%
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
add a comment |Â
up vote
2
down vote
You need to ensure that the math fonts are correctly set up when you ask for fontdimen22textfont2
, which can be done by issuing check@mathfonts
.
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagetikz
usepackagelipsum
makeatletter
newcommandturnover%
check@mathfonts % ensure math fonts are defined
begintikzpicture[baseline=-thedimexprfontdimen22textfont2relax]
draw[-latex,line width=4pt] (0,0) -- ++(10mm,0);
endtikzpicture%
makeatother
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t]0.5textwidth
text
endminipage%
beginminipage[t]0.5textwidth
raggedleft
Page thepage of numpages\[baselineskip]
Please Turn Over turnover
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
Note that you should not use flushright
, but raggedleft
.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Perhaps you want this
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagelipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx,cellspace,calc,tcolorbox,tikz,calc,fmtcount,etoolbox,soul
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over
$vcenterhboxbegintikzpicturedraw[-latex,line width=4pt] (0,0) -- ++(10mm,0);endtikzpicture$%
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
add a comment |Â
up vote
2
down vote
Perhaps you want this
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagelipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx,cellspace,calc,tcolorbox,tikz,calc,fmtcount,etoolbox,soul
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over
$vcenterhboxbegintikzpicturedraw[-latex,line width=4pt] (0,0) -- ++(10mm,0);endtikzpicture$%
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Perhaps you want this
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagelipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx,cellspace,calc,tcolorbox,tikz,calc,fmtcount,etoolbox,soul
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over
$vcenterhboxbegintikzpicturedraw[-latex,line width=4pt] (0,0) -- ++(10mm,0);endtikzpicture$%
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
Perhaps you want this
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagelipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx,cellspace,calc,tcolorbox,tikz,calc,fmtcount,etoolbox,soul
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t][t]0.5textwidth
text
endminipage%
beginminipage[t][t]0.5textwidth
flushright Page thepage of numpages%
flushrightvspacebaselineskipPlease Turn Over
$vcenterhboxbegintikzpicturedraw[-latex,line width=4pt] (0,0) -- ++(10mm,0);endtikzpicture$%
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
answered 2 hours ago


jfbu
43.7k65142
43.7k65142
add a comment |Â
add a comment |Â
up vote
2
down vote
You need to ensure that the math fonts are correctly set up when you ask for fontdimen22textfont2
, which can be done by issuing check@mathfonts
.
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagetikz
usepackagelipsum
makeatletter
newcommandturnover%
check@mathfonts % ensure math fonts are defined
begintikzpicture[baseline=-thedimexprfontdimen22textfont2relax]
draw[-latex,line width=4pt] (0,0) -- ++(10mm,0);
endtikzpicture%
makeatother
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t]0.5textwidth
text
endminipage%
beginminipage[t]0.5textwidth
raggedleft
Page thepage of numpages\[baselineskip]
Please Turn Over turnover
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
Note that you should not use flushright
, but raggedleft
.
add a comment |Â
up vote
2
down vote
You need to ensure that the math fonts are correctly set up when you ask for fontdimen22textfont2
, which can be done by issuing check@mathfonts
.
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagetikz
usepackagelipsum
makeatletter
newcommandturnover%
check@mathfonts % ensure math fonts are defined
begintikzpicture[baseline=-thedimexprfontdimen22textfont2relax]
draw[-latex,line width=4pt] (0,0) -- ++(10mm,0);
endtikzpicture%
makeatother
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t]0.5textwidth
text
endminipage%
beginminipage[t]0.5textwidth
raggedleft
Page thepage of numpages\[baselineskip]
Please Turn Over turnover
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
Note that you should not use flushright
, but raggedleft
.
add a comment |Â
up vote
2
down vote
up vote
2
down vote
You need to ensure that the math fonts are correctly set up when you ask for fontdimen22textfont2
, which can be done by issuing check@mathfonts
.
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagetikz
usepackagelipsum
makeatletter
newcommandturnover%
check@mathfonts % ensure math fonts are defined
begintikzpicture[baseline=-thedimexprfontdimen22textfont2relax]
draw[-latex,line width=4pt] (0,0) -- ++(10mm,0);
endtikzpicture%
makeatother
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t]0.5textwidth
text
endminipage%
beginminipage[t]0.5textwidth
raggedleft
Page thepage of numpages\[baselineskip]
Please Turn Over turnover
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
Note that you should not use flushright
, but raggedleft
.
You need to ensure that the math fonts are correctly set up when you ask for fontdimen22textfont2
, which can be done by issuing check@mathfonts
.
documentclass[a4paper,12pt,addpoints]exam
usepackagegeometry
usepackagetikz
usepackagelipsum
makeatletter
newcommandturnover%
check@mathfonts % ensure math fonts are defined
begintikzpicture[baseline=-thedimexprfontdimen22textfont2relax]
draw[-latex,line width=4pt] (0,0) -- ++(10mm,0);
endtikzpicture%
makeatother
pagestyleheadandfoot
firstpagefooter%
%
%
hrulevspace2pt
beginminipage[t]0.5textwidth
text
endminipage%
beginminipage[t]0.5textwidth
raggedleft
Page thepage of numpages\[baselineskip]
Please Turn Over turnover
endminipage%
%
begindocument
beginquestions
question
lipsum
endquestions
enddocument
Note that you should not use flushright
, but raggedleft
.
answered 1 hour ago


egreg
693k8518443098
693k8518443098
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f457836%2ftikz-font-nullfont-has-only-7-fontdimen-parameters%23new-answer', 'question_page');
);
Post as a guest
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
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
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
2
why the low level primitive access
thedimexprfontdimen22textfont2relax
? that is accessing param 22 of nullfont which isn't defined.– David Carlisle
3 hours ago