Page Layoutmisaligned underline of heading

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
loice
Posts: 1
Joined: Sun Oct 06, 2013 4:02 am

misaligned underline of heading

Post by loice »

I am trying to create my CV, and I have a few questions.

1) In the second page, it seems like the underline of heading goes to far right of the page. How can I fix so that it ends at the margin?

2) How can I have # of # pages in the first page, too? And the page number is not at the center of the foot. So how can I have it at the center?

Thank you.
J



Code: Select all

Code, edit and compile here:
\let\nofiles\relax
\documentclass[11pt,margin,line]{resume}
\usepackage[usenames,dvipsnames]{color}
\usepackage[table]{xcolor}
\usepackage{fancyhdr}
\usepackage{lastpage}
%\usepackage[left=.75in,top=0.9in,right=1.75in,bottom=.75in]{geometry}
\topmargin=-0.5in %length of margin at the top of the page (1 inch added by default)
\oddsidemargin=-0.3in %length of margin on sides for odd pages
\evensidemargin=-0.5in %length of margin on sides for even pages
\textwidth=6in %How wide you want your text to be
%\bottommargin=0.5in
\marginparwidth=-22.5in
\headheight=20pt %1in margins at top and bottom (1 inch is added to this value by default)
\headsep=5pt %Increase to increase white space in between headers and the top of the page
\textheight=9.0in
\itemsep=0in
\parsep=0in
%\fancyhead{}
%\fancyfoot{}
%\fancyhf{}
\renewcommand{\headrulewidth}{0.1pt}
\renewcommand{\footrulewidth}{0pt}
\fancyhfoffset{\sectionwidth}
\pagestyle{fancy}
\lhead{aa}
\rhead{Curriculum Vitae}
\cfoot{\thepage{}~of~\pageref{LastPage}}
%______________________________________________________________________________________________________________________
\begin{document}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Attachments
sample.tex
(5.66 KiB) Downloaded 311 times
sample.pdf
(119.37 KiB) Downloaded 266 times
Last edited by cgnieder on Sun Oct 06, 2013 1:18 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

mayankmi
Posts: 45
Joined: Sat Apr 20, 2013 7:52 pm

Re: misaligned underline of heading

Post by mayankmi »

you need to share resume.cls file also... so that anyone can answer..
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

misaligned underline of heading

Post by Johannes_B »

I guess the file resume.cls can be found here.

Nevertheless, please prepare a minimal working example (using the code button) to clearly show the problem.
By the way, there should only be one question per thread, so it would be best to split the topic.

Another often used package is moderncv.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply