Mimicking Latex Style
up vote
0
down vote
favorite
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
New contributor
add a comment |
up vote
0
down vote
favorite
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
New contributor
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
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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
New contributor
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
margins geometry rules mdframed
New contributor
New contributor
edited yesterday
New contributor
asked yesterday
Nick
11
11
New contributor
New contributor
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
add a comment |
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
add a comment |
active
oldest
votes
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.
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.
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%2f460239%2fmimicking-latex-style%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
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