General ⇒ How does he do this???
-
- Posts: 28
- Joined: Fri Apr 13, 2007 11:17 am
How does he do this???
Hi all,
I downloaded a file called LATEX for Complete Novices by Nicola L. C. Talbot.
(It can be found here: http://theoval.cmp.uea.ac.uk/~nlct/late ... ces_a4.pdf
Note that this will start a download!!)
All over the file there a colored words in the right margin to mark CODE, INPUT, OUTPUT, sometimes even with a nice limiting arrow. How does he do that???
I'm hoping someone can help me out with this...
Many thanks,
bjorn
I downloaded a file called LATEX for Complete Novices by Nicola L. C. Talbot.
(It can be found here: http://theoval.cmp.uea.ac.uk/~nlct/late ... ces_a4.pdf
Note that this will start a download!!)
All over the file there a colored words in the right margin to mark CODE, INPUT, OUTPUT, sometimes even with a nice limiting arrow. How does he do that???
I'm hoping someone can help me out with this...
Many thanks,
bjorn
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How does he do this???
I think she can explain best. Just take a look at the source code of this document. It is the first one in the LaTeX section on her personal web site [1]. Copy the relevant parts of the code and that's it.
[1] Dr. Nicola Talbot - LaTeX Related Information
Best regards
Thorsten
[1] Dr. Nicola Talbot - LaTeX Related Information
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 28
- Joined: Fri Apr 13, 2007 11:17 am
How does he do this???
Oops... If she ever reads this: I apologize.localghost wrote:I think she can explain best.
Thorsten: thank you!
Bjorn
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How does he do this???
The probability is quite high. She's a member of this board.bjorn victor wrote:[...] Oops... If she ever reads this: I apologize. [...]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 28
- Joined: Fri Apr 13, 2007 11:17 am
Re: How does he do this???
Well, in that case I hope she does, because I will need her help...
1) the document class is called novices, so I guess she wrote it herself.
2) One of the things I'm looking for is called \begin{codeS}, but I cannot find any info on that commands in the preamble... I guess the info in the documentclass file?
Bjorn
1) the document class is called novices, so I guess she wrote it herself.
2) One of the things I'm looking for is called \begin{codeS}, but I cannot find any info on that commands in the preamble... I guess the info in the documentclass file?
Bjorn
-
- Posts: 28
- Joined: Fri Apr 13, 2007 11:17 am
Re: How does he do this???
Hang on!! I found the .cls file! Looking into it now...
-
- Posts: 28
- Joined: Fri Apr 13, 2007 11:17 am
Re: How does he do this???
no... I give up.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How does he do this???
The codeS environment is defined in line 530 of the class file. Use the search function of your editor to find other relevant parts.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
How does he do this???
Not to worry, it often happens.bjorn victor wrote:Oops... If she ever reads this: I apologize.localghost wrote:I think she can explain best.
Regards
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/