Mimicking Latex Style











up vote
0
down vote

favorite
1












I recently stumbled across the mathematics textbook Numerical Analysis 9th edition by Burden and Faires and I thoroughly enjoyed the style of it. I was able to find a link too here: https://fac.ksu.edu.sa/sites/default/files/numerical_analysis_9th.pdf. I was wondering if someone could help me with trying to mimic the style.



Since the style of the book seems rather broad, I will start by trying to tackle these parts first:




  • Theorems, tables, ect. in the margin notes section and aligning them with content in the body section


    • I have some starter code for this using the marginnote package and using reversemarginpar to get the notes in the left margin but I was curious if someone could do better or improve on this



  • Spanning blue bars over each of the section headers that span the left margin notes and body section


    • Unsure of how to do this as current attempts produce lines spanning the body section and right margin notes



  • Having graphs and images in centered style formats in the blue frame boxes


    • I am pretty sure that the mdframed package can handle this but I just wanted to see what others may say




If anyone needs any further information or examples from me, I would be happy to provide it. Thank you for your time and help!



Sample code for the margin notes:



usepackage{geometry}
usepackage{marginnote}

geometry{
a4paper,
left=2in,
right=1in,
marginparwidth=1.75in,
marginparsep=.25in
}
reversemarginpar

% Setup counters for side margins
newcounter{TheoremCounter}[section]
newcounter{DefinitionCounter}[section]
newcounter{ExampleCounter}[section]
newcounter{FigureCounter}[section]
newcounter{TableCounter}[section]

newcommand{side}[1]{{marginnote{
color[HTML]{156EC7} large textbf{ #1
thesection.thenumexprvalue{#1Counter}+1relax}}}
stepcounter{#1Counter}}

begin{document}
% example how I have used it
side{Theorem}
end{document}









share|improve this question









New contributor




Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2




    Welcome to Tex.SE. I see a couple of questions. Try one at a time with the MWE code that you have tried.
    – nidhin
    yesterday










  • @nidhin I have added an MWE for the marginnotes section. Hopefully that makes it more clear. Unfortunately I have yet to get the spanning section header working so I am at a loss there.
    – Nick
    yesterday






  • 1




    It might be a stretch, but have you tried calling the publishers of the book to see if they'd be willing to share their style files with you?
    – Anonymous Reindeer
    yesterday















up vote
0
down vote

favorite
1












I recently stumbled across the mathematics textbook Numerical Analysis 9th edition by Burden and Faires and I thoroughly enjoyed the style of it. I was able to find a link too here: https://fac.ksu.edu.sa/sites/default/files/numerical_analysis_9th.pdf. I was wondering if someone could help me with trying to mimic the style.



Since the style of the book seems rather broad, I will start by trying to tackle these parts first:




  • Theorems, tables, ect. in the margin notes section and aligning them with content in the body section


    • I have some starter code for this using the marginnote package and using reversemarginpar to get the notes in the left margin but I was curious if someone could do better or improve on this



  • Spanning blue bars over each of the section headers that span the left margin notes and body section


    • Unsure of how to do this as current attempts produce lines spanning the body section and right margin notes



  • Having graphs and images in centered style formats in the blue frame boxes


    • I am pretty sure that the mdframed package can handle this but I just wanted to see what others may say




If anyone needs any further information or examples from me, I would be happy to provide it. Thank you for your time and help!



Sample code for the margin notes:



usepackage{geometry}
usepackage{marginnote}

geometry{
a4paper,
left=2in,
right=1in,
marginparwidth=1.75in,
marginparsep=.25in
}
reversemarginpar

% Setup counters for side margins
newcounter{TheoremCounter}[section]
newcounter{DefinitionCounter}[section]
newcounter{ExampleCounter}[section]
newcounter{FigureCounter}[section]
newcounter{TableCounter}[section]

newcommand{side}[1]{{marginnote{
color[HTML]{156EC7} large textbf{ #1
thesection.thenumexprvalue{#1Counter}+1relax}}}
stepcounter{#1Counter}}

begin{document}
% example how I have used it
side{Theorem}
end{document}









share|improve this question









New contributor




Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2




    Welcome to Tex.SE. I see a couple of questions. Try one at a time with the MWE code that you have tried.
    – nidhin
    yesterday










  • @nidhin I have added an MWE for the marginnotes section. Hopefully that makes it more clear. Unfortunately I have yet to get the spanning section header working so I am at a loss there.
    – Nick
    yesterday






  • 1




    It might be a stretch, but have you tried calling the publishers of the book to see if they'd be willing to share their style files with you?
    – Anonymous Reindeer
    yesterday













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I recently stumbled across the mathematics textbook Numerical Analysis 9th edition by Burden and Faires and I thoroughly enjoyed the style of it. I was able to find a link too here: https://fac.ksu.edu.sa/sites/default/files/numerical_analysis_9th.pdf. I was wondering if someone could help me with trying to mimic the style.



Since the style of the book seems rather broad, I will start by trying to tackle these parts first:




  • Theorems, tables, ect. in the margin notes section and aligning them with content in the body section


    • I have some starter code for this using the marginnote package and using reversemarginpar to get the notes in the left margin but I was curious if someone could do better or improve on this



  • Spanning blue bars over each of the section headers that span the left margin notes and body section


    • Unsure of how to do this as current attempts produce lines spanning the body section and right margin notes



  • Having graphs and images in centered style formats in the blue frame boxes


    • I am pretty sure that the mdframed package can handle this but I just wanted to see what others may say




If anyone needs any further information or examples from me, I would be happy to provide it. Thank you for your time and help!



Sample code for the margin notes:



usepackage{geometry}
usepackage{marginnote}

geometry{
a4paper,
left=2in,
right=1in,
marginparwidth=1.75in,
marginparsep=.25in
}
reversemarginpar

% Setup counters for side margins
newcounter{TheoremCounter}[section]
newcounter{DefinitionCounter}[section]
newcounter{ExampleCounter}[section]
newcounter{FigureCounter}[section]
newcounter{TableCounter}[section]

newcommand{side}[1]{{marginnote{
color[HTML]{156EC7} large textbf{ #1
thesection.thenumexprvalue{#1Counter}+1relax}}}
stepcounter{#1Counter}}

begin{document}
% example how I have used it
side{Theorem}
end{document}









share|improve this question









New contributor




Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I recently stumbled across the mathematics textbook Numerical Analysis 9th edition by Burden and Faires and I thoroughly enjoyed the style of it. I was able to find a link too here: https://fac.ksu.edu.sa/sites/default/files/numerical_analysis_9th.pdf. I was wondering if someone could help me with trying to mimic the style.



Since the style of the book seems rather broad, I will start by trying to tackle these parts first:




  • Theorems, tables, ect. in the margin notes section and aligning them with content in the body section


    • I have some starter code for this using the marginnote package and using reversemarginpar to get the notes in the left margin but I was curious if someone could do better or improve on this



  • Spanning blue bars over each of the section headers that span the left margin notes and body section


    • Unsure of how to do this as current attempts produce lines spanning the body section and right margin notes



  • Having graphs and images in centered style formats in the blue frame boxes


    • I am pretty sure that the mdframed package can handle this but I just wanted to see what others may say




If anyone needs any further information or examples from me, I would be happy to provide it. Thank you for your time and help!



Sample code for the margin notes:



usepackage{geometry}
usepackage{marginnote}

geometry{
a4paper,
left=2in,
right=1in,
marginparwidth=1.75in,
marginparsep=.25in
}
reversemarginpar

% Setup counters for side margins
newcounter{TheoremCounter}[section]
newcounter{DefinitionCounter}[section]
newcounter{ExampleCounter}[section]
newcounter{FigureCounter}[section]
newcounter{TableCounter}[section]

newcommand{side}[1]{{marginnote{
color[HTML]{156EC7} large textbf{ #1
thesection.thenumexprvalue{#1Counter}+1relax}}}
stepcounter{#1Counter}}

begin{document}
% example how I have used it
side{Theorem}
end{document}






margins geometry rules mdframed






share|improve this question









New contributor




Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday





















New contributor




Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Nick

11




11




New contributor




Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 2




    Welcome to Tex.SE. I see a couple of questions. Try one at a time with the MWE code that you have tried.
    – nidhin
    yesterday










  • @nidhin I have added an MWE for the marginnotes section. Hopefully that makes it more clear. Unfortunately I have yet to get the spanning section header working so I am at a loss there.
    – Nick
    yesterday






  • 1




    It might be a stretch, but have you tried calling the publishers of the book to see if they'd be willing to share their style files with you?
    – Anonymous Reindeer
    yesterday














  • 2




    Welcome to Tex.SE. I see a couple of questions. Try one at a time with the MWE code that you have tried.
    – nidhin
    yesterday










  • @nidhin I have added an MWE for the marginnotes section. Hopefully that makes it more clear. Unfortunately I have yet to get the spanning section header working so I am at a loss there.
    – Nick
    yesterday






  • 1




    It might be a stretch, but have you tried calling the publishers of the book to see if they'd be willing to share their style files with you?
    – Anonymous Reindeer
    yesterday








2




2




Welcome to Tex.SE. I see a couple of questions. Try one at a time with the MWE code that you have tried.
– nidhin
yesterday




Welcome to Tex.SE. I see a couple of questions. Try one at a time with the MWE code that you have tried.
– nidhin
yesterday












@nidhin I have added an MWE for the marginnotes section. Hopefully that makes it more clear. Unfortunately I have yet to get the spanning section header working so I am at a loss there.
– Nick
yesterday




@nidhin I have added an MWE for the marginnotes section. Hopefully that makes it more clear. Unfortunately I have yet to get the spanning section header working so I am at a loss there.
– Nick
yesterday




1




1




It might be a stretch, but have you tried calling the publishers of the book to see if they'd be willing to share their style files with you?
– Anonymous Reindeer
yesterday




It might be a stretch, but have you tried calling the publishers of the book to see if they'd be willing to share their style files with you?
– Anonymous Reindeer
yesterday















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',
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
});


}
});






Nick is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460239%2fmimicking-latex-style%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Nick is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Nick is a new contributor. Be nice, and check out our Code of Conduct.













Nick is a new contributor. Be nice, and check out our Code of Conduct.












Nick is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460239%2fmimicking-latex-style%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

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt