How to achieve the following in memoir class: The Next CEO of Stack OverflowHow to change looks of margin notes using memoir?Setting up the appendix with memoirEnforcing writing across full width of page whilst using the res document classTop margin, memoir class and geometry packageHow to show margin distances in mmSetting Margins Exactly - Geometry PackageMemoir class endnotes reverse order of idtextinnotes and printpageinnotesTufte Class | Marginnotes on left and right side, having a different size (width)Defining new geometry (running arbitrary code) in memoir page stylesSide notes adjust options. Can I “liberate” all the margin for sidenotes?

Why does standard notation not preserve intervals (visually)

Is a distribution that is normal, but highly skewed considered Gaussian?

Should I tutor a student who I know has cheated on their homework?

What was the first Unix version to run on a microcomputer?

Make solar eclipses exceedingly rare, but still have new moons

RigExpert AA-35 - Interpreting The Information

Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?

When you upcast Blindness/Deafness, do all targets suffer the same effect?

Why the difference in type-inference over the as-pattern in two similar function definitions?

How to get from Geneva Airport to Metabief, Doubs, France by public transport?

Dominated convergence theorem - what sequence?

How to check if all elements of 1 list are in the *same quantity* and in any order, in the list2?

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Why isn't acceleration always zero whenever velocity is zero, such as the moment a ball bounces off a wall?

Is it convenient to ask the journal's editor for two additional days to complete a review?

Would a completely good Muggle be able to use a wand?

Can we say or write : "No, it'sn't"?

Math-accent symbol over parentheses enclosing accented symbol (amsmath)

Prepend last line of stdin to entire stdin

Is micro rebar a better way to reinforce concrete than rebar?

Chain wire methods together in Lightning Web Components

0 rank tensor vs 1D vector

A small doubt about the dominated convergence theorem

Rotate a column



How to achieve the following in memoir class:



The Next CEO of Stack OverflowHow to change looks of margin notes using memoir?Setting up the appendix with memoirEnforcing writing across full width of page whilst using the res document classTop margin, memoir class and geometry packageHow to show margin distances in mmSetting Margins Exactly - Geometry PackageMemoir class endnotes reverse order of idtextinnotes and printpageinnotesTufte Class | Marginnotes on left and right side, having a different size (width)Defining new geometry (running arbitrary code) in memoir page stylesSide notes adjust options. Can I “liberate” all the margin for sidenotes?










1















Consider the example attached below, taken from the memoir package documentation.



I would like to be able to replicate how the words "lines" and "nearest" appear in the margins. For example, say I am defining Coulomb's Law, I would like "Coulomb's Law" to appear in the margin in a similar fashion when I write about it in the main body text.



EDIT: I would like to achieve this without the use of a list environment, which for example @Vinccool96 has provided.



EDIT 2: I would like the command to apply to a specific word in a body of text, and produce result as shown in the screenshot, while also retaining the word in the body of text without necessarily altering its in text appearance, just adding the word again in the margin with the texttt font.



Example of what I would like to achieve










share|improve this question
























  • You are not by chance just looking for marginpar?

    – marmot
    6 hours ago











  • I don't believe so. I would like for example to do the following: commandword and have the word appear both as in the screenshot provided in as well as in the body of text.

    – Alexander H. R.
    6 hours ago







  • 1





    documentclassarticle usepackagelipsum newcommandmykeyword[1]reversemarginparmarginpartexttt#1texttt#1 begindocument bla bla mykeywordword bla lipsum[1-7] bla bla mykeywordanother word bla lipsum[8-12] enddocument

    – marmot
    6 hours ago















1















Consider the example attached below, taken from the memoir package documentation.



I would like to be able to replicate how the words "lines" and "nearest" appear in the margins. For example, say I am defining Coulomb's Law, I would like "Coulomb's Law" to appear in the margin in a similar fashion when I write about it in the main body text.



EDIT: I would like to achieve this without the use of a list environment, which for example @Vinccool96 has provided.



EDIT 2: I would like the command to apply to a specific word in a body of text, and produce result as shown in the screenshot, while also retaining the word in the body of text without necessarily altering its in text appearance, just adding the word again in the margin with the texttt font.



Example of what I would like to achieve










share|improve this question
























  • You are not by chance just looking for marginpar?

    – marmot
    6 hours ago











  • I don't believe so. I would like for example to do the following: commandword and have the word appear both as in the screenshot provided in as well as in the body of text.

    – Alexander H. R.
    6 hours ago







  • 1





    documentclassarticle usepackagelipsum newcommandmykeyword[1]reversemarginparmarginpartexttt#1texttt#1 begindocument bla bla mykeywordword bla lipsum[1-7] bla bla mykeywordanother word bla lipsum[8-12] enddocument

    – marmot
    6 hours ago













1












1








1








Consider the example attached below, taken from the memoir package documentation.



I would like to be able to replicate how the words "lines" and "nearest" appear in the margins. For example, say I am defining Coulomb's Law, I would like "Coulomb's Law" to appear in the margin in a similar fashion when I write about it in the main body text.



EDIT: I would like to achieve this without the use of a list environment, which for example @Vinccool96 has provided.



EDIT 2: I would like the command to apply to a specific word in a body of text, and produce result as shown in the screenshot, while also retaining the word in the body of text without necessarily altering its in text appearance, just adding the word again in the margin with the texttt font.



Example of what I would like to achieve










share|improve this question
















Consider the example attached below, taken from the memoir package documentation.



I would like to be able to replicate how the words "lines" and "nearest" appear in the margins. For example, say I am defining Coulomb's Law, I would like "Coulomb's Law" to appear in the margin in a similar fashion when I write about it in the main body text.



EDIT: I would like to achieve this without the use of a list environment, which for example @Vinccool96 has provided.



EDIT 2: I would like the command to apply to a specific word in a body of text, and produce result as shown in the screenshot, while also retaining the word in the body of text without necessarily altering its in text appearance, just adding the word again in the margin with the texttt font.



Example of what I would like to achieve







margins memoir






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 5 hours ago









Kurt

40.2k850164




40.2k850164










asked 7 hours ago









Alexander H. R.Alexander H. R.

175




175












  • You are not by chance just looking for marginpar?

    – marmot
    6 hours ago











  • I don't believe so. I would like for example to do the following: commandword and have the word appear both as in the screenshot provided in as well as in the body of text.

    – Alexander H. R.
    6 hours ago







  • 1





    documentclassarticle usepackagelipsum newcommandmykeyword[1]reversemarginparmarginpartexttt#1texttt#1 begindocument bla bla mykeywordword bla lipsum[1-7] bla bla mykeywordanother word bla lipsum[8-12] enddocument

    – marmot
    6 hours ago

















  • You are not by chance just looking for marginpar?

    – marmot
    6 hours ago











  • I don't believe so. I would like for example to do the following: commandword and have the word appear both as in the screenshot provided in as well as in the body of text.

    – Alexander H. R.
    6 hours ago







  • 1





    documentclassarticle usepackagelipsum newcommandmykeyword[1]reversemarginparmarginpartexttt#1texttt#1 begindocument bla bla mykeywordword bla lipsum[1-7] bla bla mykeywordanother word bla lipsum[8-12] enddocument

    – marmot
    6 hours ago
















You are not by chance just looking for marginpar?

– marmot
6 hours ago





You are not by chance just looking for marginpar?

– marmot
6 hours ago













I don't believe so. I would like for example to do the following: commandword and have the word appear both as in the screenshot provided in as well as in the body of text.

– Alexander H. R.
6 hours ago






I don't believe so. I would like for example to do the following: commandword and have the word appear both as in the screenshot provided in as well as in the body of text.

– Alexander H. R.
6 hours ago





1




1





documentclassarticle usepackagelipsum newcommandmykeyword[1]reversemarginparmarginpartexttt#1texttt#1 begindocument bla bla mykeywordword bla lipsum[1-7] bla bla mykeywordanother word bla lipsum[8-12] enddocument

– marmot
6 hours ago





documentclassarticle usepackagelipsum newcommandmykeyword[1]reversemarginparmarginpartexttt#1texttt#1 begindocument bla bla mykeywordword bla lipsum[1-7] bla bla mykeywordanother word bla lipsum[8-12] enddocument

– marmot
6 hours ago










2 Answers
2






active

oldest

votes


















1














It seems you simple want to write an important word into the margin of your document.



Please see the following MWE (important code marked with <=====)



documentclassarticle 

usepackageblindtext % <========================= to create dummy text
usepackageshowframe % <========= to visualize typing area and margins
newcommandmyimportant[1]%
marginpartexttt#1#1% <========= text in margin same text in text



begindocument
blindtext
blafasel myimportantword % <=========================================
blub blindtext

enddocument


and its result:



text in margin



Be careful: too many myimportant commands near to each other can result in ugly output ...






share|improve this answer


















  • 1





    I suggested almost the same in my comment but the OP seems not to like it.

    – marmot
    5 hours ago











  • @marmot Ups, sorry, I opend that question for later and finished first another work to come back to add an answer. I'm not so fast in writing in english ...

    – Kurt
    5 hours ago


















0














I uses the itemize environment with custom labels, the text is made with the texttt command:



documentclassarticle

begindocument

beginitemize
item[textttlines] This is similar to textttclassic, but results in a
smaller final value.
item[textttnearest] The calculated value is the nearest to the given value
while still maintaining the relationship
enditemize

enddocument







share|improve this answer























  • How would I do this without the itemize environment, say when I am in text?

    – Alexander H. R.
    7 hours ago











  • You asked how the memoir package creators did it, no? I looked at the .tex file they used to produce their documentation and gave you their source code (found here, it's the memman.tex file)

    – Vinccool96
    7 hours ago











  • Yes, I did ask how to replicate it, but mentioned that I would like to do this within the main body of text. I have added a clarification as my original question could be misleading.

    – Alexander H. R.
    7 hours ago












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%2f482309%2fhow-to-achieve-the-following-in-memoir-class%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














It seems you simple want to write an important word into the margin of your document.



Please see the following MWE (important code marked with <=====)



documentclassarticle 

usepackageblindtext % <========================= to create dummy text
usepackageshowframe % <========= to visualize typing area and margins
newcommandmyimportant[1]%
marginpartexttt#1#1% <========= text in margin same text in text



begindocument
blindtext
blafasel myimportantword % <=========================================
blub blindtext

enddocument


and its result:



text in margin



Be careful: too many myimportant commands near to each other can result in ugly output ...






share|improve this answer


















  • 1





    I suggested almost the same in my comment but the OP seems not to like it.

    – marmot
    5 hours ago











  • @marmot Ups, sorry, I opend that question for later and finished first another work to come back to add an answer. I'm not so fast in writing in english ...

    – Kurt
    5 hours ago















1














It seems you simple want to write an important word into the margin of your document.



Please see the following MWE (important code marked with <=====)



documentclassarticle 

usepackageblindtext % <========================= to create dummy text
usepackageshowframe % <========= to visualize typing area and margins
newcommandmyimportant[1]%
marginpartexttt#1#1% <========= text in margin same text in text



begindocument
blindtext
blafasel myimportantword % <=========================================
blub blindtext

enddocument


and its result:



text in margin



Be careful: too many myimportant commands near to each other can result in ugly output ...






share|improve this answer


















  • 1





    I suggested almost the same in my comment but the OP seems not to like it.

    – marmot
    5 hours ago











  • @marmot Ups, sorry, I opend that question for later and finished first another work to come back to add an answer. I'm not so fast in writing in english ...

    – Kurt
    5 hours ago













1












1








1







It seems you simple want to write an important word into the margin of your document.



Please see the following MWE (important code marked with <=====)



documentclassarticle 

usepackageblindtext % <========================= to create dummy text
usepackageshowframe % <========= to visualize typing area and margins
newcommandmyimportant[1]%
marginpartexttt#1#1% <========= text in margin same text in text



begindocument
blindtext
blafasel myimportantword % <=========================================
blub blindtext

enddocument


and its result:



text in margin



Be careful: too many myimportant commands near to each other can result in ugly output ...






share|improve this answer













It seems you simple want to write an important word into the margin of your document.



Please see the following MWE (important code marked with <=====)



documentclassarticle 

usepackageblindtext % <========================= to create dummy text
usepackageshowframe % <========= to visualize typing area and margins
newcommandmyimportant[1]%
marginpartexttt#1#1% <========= text in margin same text in text



begindocument
blindtext
blafasel myimportantword % <=========================================
blub blindtext

enddocument


and its result:



text in margin



Be careful: too many myimportant commands near to each other can result in ugly output ...







share|improve this answer












share|improve this answer



share|improve this answer










answered 5 hours ago









KurtKurt

40.2k850164




40.2k850164







  • 1





    I suggested almost the same in my comment but the OP seems not to like it.

    – marmot
    5 hours ago











  • @marmot Ups, sorry, I opend that question for later and finished first another work to come back to add an answer. I'm not so fast in writing in english ...

    – Kurt
    5 hours ago












  • 1





    I suggested almost the same in my comment but the OP seems not to like it.

    – marmot
    5 hours ago











  • @marmot Ups, sorry, I opend that question for later and finished first another work to come back to add an answer. I'm not so fast in writing in english ...

    – Kurt
    5 hours ago







1




1





I suggested almost the same in my comment but the OP seems not to like it.

– marmot
5 hours ago





I suggested almost the same in my comment but the OP seems not to like it.

– marmot
5 hours ago













@marmot Ups, sorry, I opend that question for later and finished first another work to come back to add an answer. I'm not so fast in writing in english ...

– Kurt
5 hours ago





@marmot Ups, sorry, I opend that question for later and finished first another work to come back to add an answer. I'm not so fast in writing in english ...

– Kurt
5 hours ago











0














I uses the itemize environment with custom labels, the text is made with the texttt command:



documentclassarticle

begindocument

beginitemize
item[textttlines] This is similar to textttclassic, but results in a
smaller final value.
item[textttnearest] The calculated value is the nearest to the given value
while still maintaining the relationship
enditemize

enddocument







share|improve this answer























  • How would I do this without the itemize environment, say when I am in text?

    – Alexander H. R.
    7 hours ago











  • You asked how the memoir package creators did it, no? I looked at the .tex file they used to produce their documentation and gave you their source code (found here, it's the memman.tex file)

    – Vinccool96
    7 hours ago











  • Yes, I did ask how to replicate it, but mentioned that I would like to do this within the main body of text. I have added a clarification as my original question could be misleading.

    – Alexander H. R.
    7 hours ago
















0














I uses the itemize environment with custom labels, the text is made with the texttt command:



documentclassarticle

begindocument

beginitemize
item[textttlines] This is similar to textttclassic, but results in a
smaller final value.
item[textttnearest] The calculated value is the nearest to the given value
while still maintaining the relationship
enditemize

enddocument







share|improve this answer























  • How would I do this without the itemize environment, say when I am in text?

    – Alexander H. R.
    7 hours ago











  • You asked how the memoir package creators did it, no? I looked at the .tex file they used to produce their documentation and gave you their source code (found here, it's the memman.tex file)

    – Vinccool96
    7 hours ago











  • Yes, I did ask how to replicate it, but mentioned that I would like to do this within the main body of text. I have added a clarification as my original question could be misleading.

    – Alexander H. R.
    7 hours ago














0












0








0







I uses the itemize environment with custom labels, the text is made with the texttt command:



documentclassarticle

begindocument

beginitemize
item[textttlines] This is similar to textttclassic, but results in a
smaller final value.
item[textttnearest] The calculated value is the nearest to the given value
while still maintaining the relationship
enditemize

enddocument







share|improve this answer













I uses the itemize environment with custom labels, the text is made with the texttt command:



documentclassarticle

begindocument

beginitemize
item[textttlines] This is similar to textttclassic, but results in a
smaller final value.
item[textttnearest] The calculated value is the nearest to the given value
while still maintaining the relationship
enditemize

enddocument








share|improve this answer












share|improve this answer



share|improve this answer










answered 7 hours ago









Vinccool96Vinccool96

42211




42211












  • How would I do this without the itemize environment, say when I am in text?

    – Alexander H. R.
    7 hours ago











  • You asked how the memoir package creators did it, no? I looked at the .tex file they used to produce their documentation and gave you their source code (found here, it's the memman.tex file)

    – Vinccool96
    7 hours ago











  • Yes, I did ask how to replicate it, but mentioned that I would like to do this within the main body of text. I have added a clarification as my original question could be misleading.

    – Alexander H. R.
    7 hours ago


















  • How would I do this without the itemize environment, say when I am in text?

    – Alexander H. R.
    7 hours ago











  • You asked how the memoir package creators did it, no? I looked at the .tex file they used to produce their documentation and gave you their source code (found here, it's the memman.tex file)

    – Vinccool96
    7 hours ago











  • Yes, I did ask how to replicate it, but mentioned that I would like to do this within the main body of text. I have added a clarification as my original question could be misleading.

    – Alexander H. R.
    7 hours ago

















How would I do this without the itemize environment, say when I am in text?

– Alexander H. R.
7 hours ago





How would I do this without the itemize environment, say when I am in text?

– Alexander H. R.
7 hours ago













You asked how the memoir package creators did it, no? I looked at the .tex file they used to produce their documentation and gave you their source code (found here, it's the memman.tex file)

– Vinccool96
7 hours ago





You asked how the memoir package creators did it, no? I looked at the .tex file they used to produce their documentation and gave you their source code (found here, it's the memman.tex file)

– Vinccool96
7 hours ago













Yes, I did ask how to replicate it, but mentioned that I would like to do this within the main body of text. I have added a clarification as my original question could be misleading.

– Alexander H. R.
7 hours ago






Yes, I did ask how to replicate it, but mentioned that I would like to do this within the main body of text. I have added a clarification as my original question could be misleading.

– Alexander H. R.
7 hours ago


















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%2f482309%2fhow-to-achieve-the-following-in-memoir-class%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

Wikipedia:Contact us Navigation menu Navigation menuLeave a Reply Cancel reply Post navigationRecent PostsRecent CommentsArchivesCategoriesMeta

Farafra Inhaltsverzeichnis Geschichte | Badr-Museum Farafra | Nationalpark Weiße Wüste (as-Sahra al-baida) | Literatur | Weblinks | Navigationsmenü27° 3′ N, 27° 58′ OCommons: Farafra

Tórshavn Kliima | Partnerstääden | Luke uk diar | Nawigatsjuun62° 1′ N, 6° 46′ W62° 1′ 0″ N, 6° 46′ 0″ WWMOTórshavn