Re: [Orgmode] Combination of =code= and Description
Hi Rainer, Rainer M Krug r.m.k...@gmail.com writes: I would like to have a description as follow: - first :: some text - second :: some more text - =code= :: some additional text but =code= is not formatted as bold. If I say - \bold{=code=} :: some additional text I get, as one could expect, =code= in bold. Is it possible to get code in bold? Yes. For now it produces: , | \begin{description} | \item[first]some text | \item[second]some more text | \item[\texttt{code}]some additional text | \end{description} ` where \texttt{code} is not taken into account. But \item[{\texttt code}]some additional text would do the job. I don't know what are the LaTeX conventions regarding the use of {\texttt ...} vs. \texttt{...} constructs. Any LaTeX guru here? -- Bastien ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Combination of =code= and Description
Bastien wrote: Hi Rainer, Rainer M Krug r.m.k...@gmail.com writes: I would like to have a description as follow: - first :: some text - second :: some more text - =code= :: some additional text but =code= is not formatted as bold. If I say - \bold{=code=} :: some additional text I get, as one could expect, =code= in bold. Is it possible to get code in bold? Yes. For now it produces: , | \begin{description} | \item[first]some text | \item[second]some more text | \item[\texttt{code}]some additional text | \end{description} ` where \texttt{code} is not taken into account. But \item[{\texttt code}]some additional text would do the job. I don't know what are the LaTeX conventions regarding the use of {\texttt ...} vs. \texttt{...} constructs. Any LaTeX guru here? Certainly not a guru, but if you look at the zoomed-in PDF output of your second attempt above: \item[{\texttt code}]some additional text, you'll see that only the first letter 'c' is written in typewriter font, and the rest are bold. This is because you did not use brackets to group the argument, so it only passes the first letter it sees. So if you do use brackets, you'll note that you only get typewriter font, and not in bold: why is this? I believe that, http://www.tex.ac.uk/cgi-bin/texfaq2html?label=bold-extras explains that Computer Modern fonts do not come with a bold teletype font. The page offers some solutions for you if you want this. This is what I believe is happening anyway, and would be happy to be corrected by a true guru! --Erik Iverson ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Combination of =code= and Description
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I would like to have a description as follow: - - first :: some text - - second :: some more text - - =code= :: some additional text but =code= is not formatted as bold. If I say - - \bold{=code=} :: some additional text I get, as one could expect, =code= in bold. Is it possible to get code in bold? Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0B/0wACgkQoYgNqgF2egp63gCfaAkADwvJobTVcjmhY8JSnEO1 MpIAnj/SHyA84dm4aM+kVH0RlLb4tdlL =v6du -END PGP SIGNATURE- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode