1. I want to extend the horizontal line and the colored box all the way to the end of the page, however using \hrulefill (instead of \hline, screws up the format.)

    This is my code: http://pastebin.com/Xd1jWqBb and this is what it looks like:

enter image description here

  1. Also, how do i reduce the gap between the colorbox and the start of the text within it?

  2. If I were to use Answer 2 (located in my code) i get this:

enter image description here

however the heading should be shifted towards the left. If I do that, how do i extend the color and the line all the way to the end.

So ultimately i want

enter image description here

but with the colorbox extended as well.

I posted a similar question and the above problems are the by products of the answers given from the other post. (Ref: How to edit the length of a color box?)

  • Please edit your question to add minimal working example (MWE) on this site. A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). – jub0bs May 24 '13 at 9:12
  • Maybe you could use and \indent at the beginning of "Seeking a Full Time..." instead? – Mario S. E. May 24 '13 at 10:00
  • This appears to be the identical question to your previous one? – David Carlisle May 24 '13 at 10:51
  • @David: No it wasnt identical, but as i said similar. this was a problem which was a byproduct of that – Karan May 26 '13 at 5:11

For such a color box problem I would recommend a color box package like mdframed or tcolorbox.

A tcolorbox solution would be:

\usepackage{tcolorbox}%  preamble AFTER \usepackage[usenames,dvipsnames]{color} 


  \begin{tcolorbox}[enlarge left by=-15pt,width=\linewidth+15pt,

Seeking a Full Time position in the area of balh blah blah blah.

\school {University of Latex}{Latex U.S.A.}{May 2013}{Masters of Science in Latex}{Adviser: }{GPA: xxxx}

This gives the following result (with your output in comparison):

enter image description here

You can shift OBJECTIVE by adjusting the left=6pt option value.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.