Tagged Questions
14
votes
1answer
149 views
Why does a color meant for the first typeset line *only* (with package magaz) affect the *entire* document?
I am trying to make a nice layout that gives a different style to the first line in a section using the package magaz. All examples I have seen feature some variation of small caps
{\scshape text}
or ...
20
votes
3answers
4k views
How to highlight an entire paragraph?
I'd like to highlight paragraphs such that the highlight color appears as one whole rectangle underlying the entire paragraph. I have looked around but nothing gives me the desired effect so far.
For ...
4
votes
1answer
878 views
Change paragraph font and background color
I'm submitting a project that involves blocks of code.
I figured a nice way to present it by be that paragraphs of code are black text on a light gray background, in courier font.
I'm wondering if ...
6
votes
3answers
356 views
New paragraph style for newbie
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 ...
10
votes
3answers
2k views
How to colour multiple paragraphs?
I have a set of commands in my document's preamble that look like this:
\newcommand{\nathaniel}[1]{\textcolor{blue}{[#1]}}
\newcommand{\anotherAuthor}[1]{\textcolor{darkgreen}{[#1]}}
They are to ...
8
votes
1answer
767 views
Is it possible to have multiple paragraphs inside a multicolumn using xcolor or a replacement?
I am getting information written by users in many lines, paragraphs, and I have to put those inside a table, I would like to know if it is possible to instruct LaTeX to accept paragraphs inside a ...
4
votes
1answer
4k views
Change text background within paragraph (with automatic linebreaks)
How do I change the text color as well as the text background color for e.g. a sentence within a paragraph? I know \textcolor for coloring the font and \colorbox for background coloring ...