This question may have already been asked, but with all of my searching, I couldn’t find it.
I am new to LaTeX and after a few rough starts, I am finding my way. I am using this tool to create consistency in the user manuals that I have to maintain. I am converting them from MS word, since that is what my predecessors used.
My question in this, in our manuals we often make reference to the company specifications. The typeface of them really has to stand out. I want to create a macro, command or environment to encapsulate the quotations from our specification books.
Currently, in our manuals, the specification is called out with the canned text of “Except from Awesome Company Specification Item 123.456 02 G/H. Creative Spec Name: “ This heading is bold, italicized, blue, and not indented. It is also set to use a different font from the rest of the document.
This is then followed by an expert of the specification text using a different
font then the rest of the document. Which is also different from the spec title.
Is this possible? My thoughts are to begin a new environment in the manual body. The {parameters}
would be the spec Item number, and the Spec Name. This would then be followed by the body of specification text.
Best Answer
Here is a basic example that defines the
companyquote
environment:The
companyquote
environment takes three arguments, the first of which is optional.\parindent
;I've added some gaps between the title and the other main text via
\bigskip
. More can be done, of course, with more information.xcolor
provides colour choices (blue!80
= 80% blue), whilelipsum
provides dummy text, Lorem Ipsum style.lmodern
allows for font-requirements (bold, italicized font).