How to fix underfull hbox in a template The 2019 Stack Overflow Developer Survey Results Are...
Are there any other methods to apply to solving simultaneous equations?
Can someone be penalized for an "unlawful" act if no penalty is specified?
What is the meaning of Triage in Cybersec world?
Identify boardgame from Big movie
Why not take a picture of a closer black hole?
Can you compress metal and what would be the consequences?
How to type this arrow in math mode?
How to notate time signature switching consistently every measure
How to deal with fear of taking dependencies
Did Section 31 appear in Star Trek: The Next Generation?
Have you ever entered Singapore using a different passport or name?
What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?
One word riddle: Vowel in the middle
Why do we hear so much about the Trump administration deciding to impose and then remove tariffs?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
Delete all lines which don't have n characters before delimiter
Protecting Dualbooting Windows from dangerous code (like rm -rf)
Geography at the pixel level
What do the Banks children have against barley water?
A poker game description that does not feel gimmicky
Return to UK after being refused entry years previously
Why is the maximum length of OpenWrt’s root password 8 characters?
Pokemon Turn Based battle (Python)
Is "plugging out" electronic devices an American expression?
How to fix underfull hbox in a template
The 2019 Stack Overflow Developer Survey Results Are InAlign itemize bullet to first line of cventryTemplate for a German CV with moderncvUse different titles for moderncv resume and cover letterLots of errors in default friggeri resumé cvI cannot seem to get a part of moderncv's example template to render in my preexisting CVErrors with the moderncv template used with w32texresume template and small capsA too big line jump in moderncv classLooking for a plain-looking XeLaTeX thesis template, for transfer from ClassicThesis templateHow to move the contact details in the “Moderncv Oldstyle” templateChanging position of text and detail infos on european CV
I am using the following template for a resume (https://www.overleaf.com/latex/examples/curriculum-vitae/ztykfkztnqfh) with class moderncv
, style banking
. The problem is, there is an underfull hbox
error that causes an extra line to be inserted in the title between the address and phone number line.
How can I fix this problem? I am a beginner in LaTeX, and I tried accessing the template file to redefine the title, but I was unable to do so.
Thanks for helping.
templates moderncv line-spacing resume
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am using the following template for a resume (https://www.overleaf.com/latex/examples/curriculum-vitae/ztykfkztnqfh) with class moderncv
, style banking
. The problem is, there is an underfull hbox
error that causes an extra line to be inserted in the title between the address and phone number line.
How can I fix this problem? I am a beginner in LaTeX, and I tried accessing the template file to redefine the title, but I was unable to do so.
Thanks for helping.
templates moderncv line-spacing resume
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Welcome to TeX.SX! Underfull boxes are no errors, but warnings and you may treat them as such (ignore if there is no visible problem). If you want to remove them nevertheless, please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
Oct 12 '18 at 6:54
Your question is not clear: in particular, I cannot see how an underfull hbox can cause “an extra line to be inserted”. We need to see your source code and the exact transcript of the warnings (and possibly, error messages) issued by LaTeX.
– GuM
Oct 12 '18 at 10:43
If you like my answer and it was helpful, please consider upvoting (by clicking on the arrows next to the score) and/or marking it as the accepted answer (by clicking on the checkmark ✓).
– Kurt
Dec 28 '18 at 12:20
add a comment |
I am using the following template for a resume (https://www.overleaf.com/latex/examples/curriculum-vitae/ztykfkztnqfh) with class moderncv
, style banking
. The problem is, there is an underfull hbox
error that causes an extra line to be inserted in the title between the address and phone number line.
How can I fix this problem? I am a beginner in LaTeX, and I tried accessing the template file to redefine the title, but I was unable to do so.
Thanks for helping.
templates moderncv line-spacing resume
I am using the following template for a resume (https://www.overleaf.com/latex/examples/curriculum-vitae/ztykfkztnqfh) with class moderncv
, style banking
. The problem is, there is an underfull hbox
error that causes an extra line to be inserted in the title between the address and phone number line.
How can I fix this problem? I am a beginner in LaTeX, and I tried accessing the template file to redefine the title, but I was unable to do so.
Thanks for helping.
templates moderncv line-spacing resume
templates moderncv line-spacing resume
edited Oct 12 '18 at 13:37
Kurt
41k950164
41k950164
asked Oct 12 '18 at 6:31
latexbeginnerlatexbeginner
61
61
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Welcome to TeX.SX! Underfull boxes are no errors, but warnings and you may treat them as such (ignore if there is no visible problem). If you want to remove them nevertheless, please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
Oct 12 '18 at 6:54
Your question is not clear: in particular, I cannot see how an underfull hbox can cause “an extra line to be inserted”. We need to see your source code and the exact transcript of the warnings (and possibly, error messages) issued by LaTeX.
– GuM
Oct 12 '18 at 10:43
If you like my answer and it was helpful, please consider upvoting (by clicking on the arrows next to the score) and/or marking it as the accepted answer (by clicking on the checkmark ✓).
– Kurt
Dec 28 '18 at 12:20
add a comment |
Welcome to TeX.SX! Underfull boxes are no errors, but warnings and you may treat them as such (ignore if there is no visible problem). If you want to remove them nevertheless, please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
Oct 12 '18 at 6:54
Your question is not clear: in particular, I cannot see how an underfull hbox can cause “an extra line to be inserted”. We need to see your source code and the exact transcript of the warnings (and possibly, error messages) issued by LaTeX.
– GuM
Oct 12 '18 at 10:43
If you like my answer and it was helpful, please consider upvoting (by clicking on the arrows next to the score) and/or marking it as the accepted answer (by clicking on the checkmark ✓).
– Kurt
Dec 28 '18 at 12:20
Welcome to TeX.SX! Underfull boxes are no errors, but warnings and you may treat them as such (ignore if there is no visible problem). If you want to remove them nevertheless, please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
Oct 12 '18 at 6:54
Welcome to TeX.SX! Underfull boxes are no errors, but warnings and you may treat them as such (ignore if there is no visible problem). If you want to remove them nevertheless, please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
Oct 12 '18 at 6:54
Your question is not clear: in particular, I cannot see how an underfull hbox can cause “an extra line to be inserted”. We need to see your source code and the exact transcript of the warnings (and possibly, error messages) issued by LaTeX.
– GuM
Oct 12 '18 at 10:43
Your question is not clear: in particular, I cannot see how an underfull hbox can cause “an extra line to be inserted”. We need to see your source code and the exact transcript of the warnings (and possibly, error messages) issued by LaTeX.
– GuM
Oct 12 '18 at 10:43
If you like my answer and it was helpful, please consider upvoting (by clicking on the arrows next to the score) and/or marking it as the accepted answer (by clicking on the checkmark ✓).
– Kurt
Dec 28 '18 at 12:20
If you like my answer and it was helpful, please consider upvoting (by clicking on the arrows next to the score) and/or marking it as the accepted answer (by clicking on the checkmark ✓).
– Kurt
Dec 28 '18 at 12:20
add a comment |
1 Answer
1
active
oldest
votes
The extra line to be inserted in the title between the address and phone number line is part of the layout for style banking
in moderncv
v2.0.0.
To change this add the following patch in your preamble:
makeatletter % <=======================================================
patchcmd{makehead}{%search
flushmakeheaddetails@firstmakeheaddetailselementtrue\null}{%replace
flushmakeheaddetails@firstmakeheaddetailselementtrue\vspace{-
baselineskip}null}{%success
}{%failure
}
makeatother % <========================================================
So with the complete MWE
%% start of file `template.tex'.
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
documentclass[11pt,a4paper,sans]{moderncv}
% modern themes
moderncvstyle{banking}
moderncvcolor{blue}
% character encoding
usepackage[utf8]{inputenc}
% adjust the page margins
usepackage[scale=0.75]{geometry}
usepackage{import} % <======================================= WHY?
makeatletter % <=======================================================
patchcmd{makehead}{%search
flushmakeheaddetails@firstmakeheaddetailselementtrue\null}{%replace
flushmakeheaddetails@firstmakeheaddetailselementtrue\vspace{-
baselineskip}null}{%success
}{%failure
}
makeatother % <========================================================
% personal data
name{My}{Name}
title{Curriculum Vitae}
address{my address, line 1, line 2, line 3, postcode}{}{}
phone[mobile]{+44 12345 12345}
phone[fixed]{01234 123456}
email{myname@hotmail.co.uk}
homepage{www.myname.webs.com}
begin{document}
%----- resume ---------------------------------------------------------
makecvtitle
small{Undergraduate electrical and electronic engineer completing the final year of a master's degree. Passionate about science, with strong technical, business, and interpersonal skills for working in a team and successfully completing a project.}
section{Previous Employment}
vspace{6pt}
begin{itemize}
item{cventry{July 2013--August 2013}{Construction Site Operative}{Eurogold Groundworks and Civil Engineering}{Moston}{}{vspace{3pt}I was responsible for the administrative duties and the tidiness and general order of the site. I worked in a safety-oriented manner, often working alongside construction plant and machinery. At the end of my work with the company my colleagues praised my work ethic.}}
vspace{6pt}
item{cventry{2009--2011}{Waiter, Catering and Banqueting}{Lavender Best Western Park Hall Hotel}{Charnock Richard}{}{vspace{3pt}I worked for three years as a team leader providing silver service at weddings, stag/hen nights, and business conferences. I was often trusted with other jobs such as setting up conference rooms, moving beds around the hotel, and guiding big groups of customers to their rooms. As a team leader I would delegate tasks to a team of about 5 people, often new staff who needed training, and lead the group to service. During this time I worked in a highly professional manner and was focused to provide excellent customer service, even during high stress functions and events.}}
vspace{6pt}
item{cventry{January 2008}{Assistant Electrician}{Ryan Electricals}{Southport}{}{vspace{3pt}I spent a week working as an assistant electrician as part of my high school work experience. My roles included wiring plugs, tidying, and assisting with household electrical repairs and fittings.}}
end{itemize}
section{Education}
vspace{5pt}
subsection{Academic Qualifications}
vspace{5pt}
begin{itemize}
item{cventry{2011--2015}{Meng (Hons) Electrical and Electronic Engineering }{Lancaster University}{Lancaster}{textit{Predicted First Class}}{}}
item{cventry{2009--2011}{A levels}{Runshaw College}{Leyland}{textit{ICT (A) Physics (B) Maths (B)}}{}} % arguments 3 to 6 can be left empty
item{cventry{2002--2009}{11 GCSEs}{Southlands High School}{Chorley}{textit{A* to B Including Maths and English}}{}}
end{itemize}
vspace{2pt}
subsection{Notable Projects}
vspace{5pt}
begin{itemize}
item{textbf{Masters Project (Ongoing):} textit{'Development of an Intelligent Humanoid Robot'}
vspace{3pt}
small{I am part of a team developing a 5ft autonomous humanoid robot. This ambitious project requires strong team-working skills and high technical ability. I work well as part of the team, contributing in group discussions and taking initiative to set myself tasks when the next stage of the project is not clear. Given the role of electronics supervisor I am responsible for setting goals and ensuring all the electronic system designs are realised on time and meet the specifications of the project.}}
newpage
item{textbf{3rd year individual project:} textit{'Artificial Neural Network Approach to Source Localisation in Radiation Portal Monitoring'}
vspace{3pt}
small{This challenging project took place over the entirety of my third year. It required excellent planning and organisational skills, and the ability to teach myself an entirely new and complex subject. The project was a success, with the system being able to localise a radioactive source down to $ 3 cm$ within a $ 600 m^3$ sensor array. This project has been suggested for publication by my supervisor.}}
vspace{6pt}
item{textbf{Industrial Project with Leyland Motors Ltd:}textit{'Development of a Facility to Ensure the Achievement of Torque Parameters for a Specific Axle Configuration'}
vspace{3pt}
small{In the 3rd year of my course I spent a week completing an industrial project for Leyland Motors. I worked with a team operating as consultants for a particular problem the company was having. During this project I was working in a professional environment, and co-operating with various managers and engineers to create a design that met the requirements of the problem.}}
end{itemize}
section{Technical and Personal skills}
vspace{6pt}
begin{itemize}
item textbf{Programming Languages:} Proficient in: C, C++, Python, Matlab, Arduino, TeX \ Also basic ability with: Assembly, VBA, VHDL.
vspace{6pt}
item textbf{Industry Software Skills:} SolidWorks (Advanced), Matlab (Advanced), Ansys (Intermediate), LTspice (Intermediate), Most MS Office products including MS project and MS access (Advanced).
vspace{6pt}
item textbf{General Business Skills:} Good presentation skills, Works well in a team.
vspace{6pt}
item textbf{Other:} Good soldering and spot welding skills, Can write well organised and structured reports.
end{itemize}
section{Interests and extra-curricular activity}
vspace{6pt}
begin{itemize}
item{I was a "fresher representative" in my 2nd and 3rd years of university, this required me to guide, look after, and ensure that a particular flat of first years have a good time in their first week, and feel consoled in what for most of them is there first time living away from home. We were responsible for the safety and wellbeing of the group of first years during the first week, and during this time I made good friends with all of them.}
vspace{6pt}
item{I am a member of a number of university societies. I was also the vice president and co-founder of the flash mob society. My roles in this included recruiting members, in which during "fresher's fair" we enlisted over 200 new members. This was regarded as very successful, considering other societies averaged around 50. I also appeared in an interview on the university television station, set up a society bank account, and helped organise the events. One of these events was featured in the local newspaper.}
vspace{6pt}
item{I am also an avid hiker, having completed the national 3 peaks challenge last summer. Other interest include guitar, which I am self-taught, and home brewing.}
end{itemize}
section{References}
vspace{6pt}
begin{itemize}
item{Up to 4 references available on request}
end{itemize}
end{document}
you get the following header:
BTW: You are using item
before cventry
. Please have a look to my answer https://tex.stackexchange.com/a/418629/16550 to get a better right margin ...
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f454864%2fhow-to-fix-underfull-hbox-in-a-template%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The extra line to be inserted in the title between the address and phone number line is part of the layout for style banking
in moderncv
v2.0.0.
To change this add the following patch in your preamble:
makeatletter % <=======================================================
patchcmd{makehead}{%search
flushmakeheaddetails@firstmakeheaddetailselementtrue\null}{%replace
flushmakeheaddetails@firstmakeheaddetailselementtrue\vspace{-
baselineskip}null}{%success
}{%failure
}
makeatother % <========================================================
So with the complete MWE
%% start of file `template.tex'.
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
documentclass[11pt,a4paper,sans]{moderncv}
% modern themes
moderncvstyle{banking}
moderncvcolor{blue}
% character encoding
usepackage[utf8]{inputenc}
% adjust the page margins
usepackage[scale=0.75]{geometry}
usepackage{import} % <======================================= WHY?
makeatletter % <=======================================================
patchcmd{makehead}{%search
flushmakeheaddetails@firstmakeheaddetailselementtrue\null}{%replace
flushmakeheaddetails@firstmakeheaddetailselementtrue\vspace{-
baselineskip}null}{%success
}{%failure
}
makeatother % <========================================================
% personal data
name{My}{Name}
title{Curriculum Vitae}
address{my address, line 1, line 2, line 3, postcode}{}{}
phone[mobile]{+44 12345 12345}
phone[fixed]{01234 123456}
email{myname@hotmail.co.uk}
homepage{www.myname.webs.com}
begin{document}
%----- resume ---------------------------------------------------------
makecvtitle
small{Undergraduate electrical and electronic engineer completing the final year of a master's degree. Passionate about science, with strong technical, business, and interpersonal skills for working in a team and successfully completing a project.}
section{Previous Employment}
vspace{6pt}
begin{itemize}
item{cventry{July 2013--August 2013}{Construction Site Operative}{Eurogold Groundworks and Civil Engineering}{Moston}{}{vspace{3pt}I was responsible for the administrative duties and the tidiness and general order of the site. I worked in a safety-oriented manner, often working alongside construction plant and machinery. At the end of my work with the company my colleagues praised my work ethic.}}
vspace{6pt}
item{cventry{2009--2011}{Waiter, Catering and Banqueting}{Lavender Best Western Park Hall Hotel}{Charnock Richard}{}{vspace{3pt}I worked for three years as a team leader providing silver service at weddings, stag/hen nights, and business conferences. I was often trusted with other jobs such as setting up conference rooms, moving beds around the hotel, and guiding big groups of customers to their rooms. As a team leader I would delegate tasks to a team of about 5 people, often new staff who needed training, and lead the group to service. During this time I worked in a highly professional manner and was focused to provide excellent customer service, even during high stress functions and events.}}
vspace{6pt}
item{cventry{January 2008}{Assistant Electrician}{Ryan Electricals}{Southport}{}{vspace{3pt}I spent a week working as an assistant electrician as part of my high school work experience. My roles included wiring plugs, tidying, and assisting with household electrical repairs and fittings.}}
end{itemize}
section{Education}
vspace{5pt}
subsection{Academic Qualifications}
vspace{5pt}
begin{itemize}
item{cventry{2011--2015}{Meng (Hons) Electrical and Electronic Engineering }{Lancaster University}{Lancaster}{textit{Predicted First Class}}{}}
item{cventry{2009--2011}{A levels}{Runshaw College}{Leyland}{textit{ICT (A) Physics (B) Maths (B)}}{}} % arguments 3 to 6 can be left empty
item{cventry{2002--2009}{11 GCSEs}{Southlands High School}{Chorley}{textit{A* to B Including Maths and English}}{}}
end{itemize}
vspace{2pt}
subsection{Notable Projects}
vspace{5pt}
begin{itemize}
item{textbf{Masters Project (Ongoing):} textit{'Development of an Intelligent Humanoid Robot'}
vspace{3pt}
small{I am part of a team developing a 5ft autonomous humanoid robot. This ambitious project requires strong team-working skills and high technical ability. I work well as part of the team, contributing in group discussions and taking initiative to set myself tasks when the next stage of the project is not clear. Given the role of electronics supervisor I am responsible for setting goals and ensuring all the electronic system designs are realised on time and meet the specifications of the project.}}
newpage
item{textbf{3rd year individual project:} textit{'Artificial Neural Network Approach to Source Localisation in Radiation Portal Monitoring'}
vspace{3pt}
small{This challenging project took place over the entirety of my third year. It required excellent planning and organisational skills, and the ability to teach myself an entirely new and complex subject. The project was a success, with the system being able to localise a radioactive source down to $ 3 cm$ within a $ 600 m^3$ sensor array. This project has been suggested for publication by my supervisor.}}
vspace{6pt}
item{textbf{Industrial Project with Leyland Motors Ltd:}textit{'Development of a Facility to Ensure the Achievement of Torque Parameters for a Specific Axle Configuration'}
vspace{3pt}
small{In the 3rd year of my course I spent a week completing an industrial project for Leyland Motors. I worked with a team operating as consultants for a particular problem the company was having. During this project I was working in a professional environment, and co-operating with various managers and engineers to create a design that met the requirements of the problem.}}
end{itemize}
section{Technical and Personal skills}
vspace{6pt}
begin{itemize}
item textbf{Programming Languages:} Proficient in: C, C++, Python, Matlab, Arduino, TeX \ Also basic ability with: Assembly, VBA, VHDL.
vspace{6pt}
item textbf{Industry Software Skills:} SolidWorks (Advanced), Matlab (Advanced), Ansys (Intermediate), LTspice (Intermediate), Most MS Office products including MS project and MS access (Advanced).
vspace{6pt}
item textbf{General Business Skills:} Good presentation skills, Works well in a team.
vspace{6pt}
item textbf{Other:} Good soldering and spot welding skills, Can write well organised and structured reports.
end{itemize}
section{Interests and extra-curricular activity}
vspace{6pt}
begin{itemize}
item{I was a "fresher representative" in my 2nd and 3rd years of university, this required me to guide, look after, and ensure that a particular flat of first years have a good time in their first week, and feel consoled in what for most of them is there first time living away from home. We were responsible for the safety and wellbeing of the group of first years during the first week, and during this time I made good friends with all of them.}
vspace{6pt}
item{I am a member of a number of university societies. I was also the vice president and co-founder of the flash mob society. My roles in this included recruiting members, in which during "fresher's fair" we enlisted over 200 new members. This was regarded as very successful, considering other societies averaged around 50. I also appeared in an interview on the university television station, set up a society bank account, and helped organise the events. One of these events was featured in the local newspaper.}
vspace{6pt}
item{I am also an avid hiker, having completed the national 3 peaks challenge last summer. Other interest include guitar, which I am self-taught, and home brewing.}
end{itemize}
section{References}
vspace{6pt}
begin{itemize}
item{Up to 4 references available on request}
end{itemize}
end{document}
you get the following header:
BTW: You are using item
before cventry
. Please have a look to my answer https://tex.stackexchange.com/a/418629/16550 to get a better right margin ...
add a comment |
The extra line to be inserted in the title between the address and phone number line is part of the layout for style banking
in moderncv
v2.0.0.
To change this add the following patch in your preamble:
makeatletter % <=======================================================
patchcmd{makehead}{%search
flushmakeheaddetails@firstmakeheaddetailselementtrue\null}{%replace
flushmakeheaddetails@firstmakeheaddetailselementtrue\vspace{-
baselineskip}null}{%success
}{%failure
}
makeatother % <========================================================
So with the complete MWE
%% start of file `template.tex'.
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
documentclass[11pt,a4paper,sans]{moderncv}
% modern themes
moderncvstyle{banking}
moderncvcolor{blue}
% character encoding
usepackage[utf8]{inputenc}
% adjust the page margins
usepackage[scale=0.75]{geometry}
usepackage{import} % <======================================= WHY?
makeatletter % <=======================================================
patchcmd{makehead}{%search
flushmakeheaddetails@firstmakeheaddetailselementtrue\null}{%replace
flushmakeheaddetails@firstmakeheaddetailselementtrue\vspace{-
baselineskip}null}{%success
}{%failure
}
makeatother % <========================================================
% personal data
name{My}{Name}
title{Curriculum Vitae}
address{my address, line 1, line 2, line 3, postcode}{}{}
phone[mobile]{+44 12345 12345}
phone[fixed]{01234 123456}
email{myname@hotmail.co.uk}
homepage{www.myname.webs.com}
begin{document}
%----- resume ---------------------------------------------------------
makecvtitle
small{Undergraduate electrical and electronic engineer completing the final year of a master's degree. Passionate about science, with strong technical, business, and interpersonal skills for working in a team and successfully completing a project.}
section{Previous Employment}
vspace{6pt}
begin{itemize}
item{cventry{July 2013--August 2013}{Construction Site Operative}{Eurogold Groundworks and Civil Engineering}{Moston}{}{vspace{3pt}I was responsible for the administrative duties and the tidiness and general order of the site. I worked in a safety-oriented manner, often working alongside construction plant and machinery. At the end of my work with the company my colleagues praised my work ethic.}}
vspace{6pt}
item{cventry{2009--2011}{Waiter, Catering and Banqueting}{Lavender Best Western Park Hall Hotel}{Charnock Richard}{}{vspace{3pt}I worked for three years as a team leader providing silver service at weddings, stag/hen nights, and business conferences. I was often trusted with other jobs such as setting up conference rooms, moving beds around the hotel, and guiding big groups of customers to their rooms. As a team leader I would delegate tasks to a team of about 5 people, often new staff who needed training, and lead the group to service. During this time I worked in a highly professional manner and was focused to provide excellent customer service, even during high stress functions and events.}}
vspace{6pt}
item{cventry{January 2008}{Assistant Electrician}{Ryan Electricals}{Southport}{}{vspace{3pt}I spent a week working as an assistant electrician as part of my high school work experience. My roles included wiring plugs, tidying, and assisting with household electrical repairs and fittings.}}
end{itemize}
section{Education}
vspace{5pt}
subsection{Academic Qualifications}
vspace{5pt}
begin{itemize}
item{cventry{2011--2015}{Meng (Hons) Electrical and Electronic Engineering }{Lancaster University}{Lancaster}{textit{Predicted First Class}}{}}
item{cventry{2009--2011}{A levels}{Runshaw College}{Leyland}{textit{ICT (A) Physics (B) Maths (B)}}{}} % arguments 3 to 6 can be left empty
item{cventry{2002--2009}{11 GCSEs}{Southlands High School}{Chorley}{textit{A* to B Including Maths and English}}{}}
end{itemize}
vspace{2pt}
subsection{Notable Projects}
vspace{5pt}
begin{itemize}
item{textbf{Masters Project (Ongoing):} textit{'Development of an Intelligent Humanoid Robot'}
vspace{3pt}
small{I am part of a team developing a 5ft autonomous humanoid robot. This ambitious project requires strong team-working skills and high technical ability. I work well as part of the team, contributing in group discussions and taking initiative to set myself tasks when the next stage of the project is not clear. Given the role of electronics supervisor I am responsible for setting goals and ensuring all the electronic system designs are realised on time and meet the specifications of the project.}}
newpage
item{textbf{3rd year individual project:} textit{'Artificial Neural Network Approach to Source Localisation in Radiation Portal Monitoring'}
vspace{3pt}
small{This challenging project took place over the entirety of my third year. It required excellent planning and organisational skills, and the ability to teach myself an entirely new and complex subject. The project was a success, with the system being able to localise a radioactive source down to $ 3 cm$ within a $ 600 m^3$ sensor array. This project has been suggested for publication by my supervisor.}}
vspace{6pt}
item{textbf{Industrial Project with Leyland Motors Ltd:}textit{'Development of a Facility to Ensure the Achievement of Torque Parameters for a Specific Axle Configuration'}
vspace{3pt}
small{In the 3rd year of my course I spent a week completing an industrial project for Leyland Motors. I worked with a team operating as consultants for a particular problem the company was having. During this project I was working in a professional environment, and co-operating with various managers and engineers to create a design that met the requirements of the problem.}}
end{itemize}
section{Technical and Personal skills}
vspace{6pt}
begin{itemize}
item textbf{Programming Languages:} Proficient in: C, C++, Python, Matlab, Arduino, TeX \ Also basic ability with: Assembly, VBA, VHDL.
vspace{6pt}
item textbf{Industry Software Skills:} SolidWorks (Advanced), Matlab (Advanced), Ansys (Intermediate), LTspice (Intermediate), Most MS Office products including MS project and MS access (Advanced).
vspace{6pt}
item textbf{General Business Skills:} Good presentation skills, Works well in a team.
vspace{6pt}
item textbf{Other:} Good soldering and spot welding skills, Can write well organised and structured reports.
end{itemize}
section{Interests and extra-curricular activity}
vspace{6pt}
begin{itemize}
item{I was a "fresher representative" in my 2nd and 3rd years of university, this required me to guide, look after, and ensure that a particular flat of first years have a good time in their first week, and feel consoled in what for most of them is there first time living away from home. We were responsible for the safety and wellbeing of the group of first years during the first week, and during this time I made good friends with all of them.}
vspace{6pt}
item{I am a member of a number of university societies. I was also the vice president and co-founder of the flash mob society. My roles in this included recruiting members, in which during "fresher's fair" we enlisted over 200 new members. This was regarded as very successful, considering other societies averaged around 50. I also appeared in an interview on the university television station, set up a society bank account, and helped organise the events. One of these events was featured in the local newspaper.}
vspace{6pt}
item{I am also an avid hiker, having completed the national 3 peaks challenge last summer. Other interest include guitar, which I am self-taught, and home brewing.}
end{itemize}
section{References}
vspace{6pt}
begin{itemize}
item{Up to 4 references available on request}
end{itemize}
end{document}
you get the following header:
BTW: You are using item
before cventry
. Please have a look to my answer https://tex.stackexchange.com/a/418629/16550 to get a better right margin ...
add a comment |
The extra line to be inserted in the title between the address and phone number line is part of the layout for style banking
in moderncv
v2.0.0.
To change this add the following patch in your preamble:
makeatletter % <=======================================================
patchcmd{makehead}{%search
flushmakeheaddetails@firstmakeheaddetailselementtrue\null}{%replace
flushmakeheaddetails@firstmakeheaddetailselementtrue\vspace{-
baselineskip}null}{%success
}{%failure
}
makeatother % <========================================================
So with the complete MWE
%% start of file `template.tex'.
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
documentclass[11pt,a4paper,sans]{moderncv}
% modern themes
moderncvstyle{banking}
moderncvcolor{blue}
% character encoding
usepackage[utf8]{inputenc}
% adjust the page margins
usepackage[scale=0.75]{geometry}
usepackage{import} % <======================================= WHY?
makeatletter % <=======================================================
patchcmd{makehead}{%search
flushmakeheaddetails@firstmakeheaddetailselementtrue\null}{%replace
flushmakeheaddetails@firstmakeheaddetailselementtrue\vspace{-
baselineskip}null}{%success
}{%failure
}
makeatother % <========================================================
% personal data
name{My}{Name}
title{Curriculum Vitae}
address{my address, line 1, line 2, line 3, postcode}{}{}
phone[mobile]{+44 12345 12345}
phone[fixed]{01234 123456}
email{myname@hotmail.co.uk}
homepage{www.myname.webs.com}
begin{document}
%----- resume ---------------------------------------------------------
makecvtitle
small{Undergraduate electrical and electronic engineer completing the final year of a master's degree. Passionate about science, with strong technical, business, and interpersonal skills for working in a team and successfully completing a project.}
section{Previous Employment}
vspace{6pt}
begin{itemize}
item{cventry{July 2013--August 2013}{Construction Site Operative}{Eurogold Groundworks and Civil Engineering}{Moston}{}{vspace{3pt}I was responsible for the administrative duties and the tidiness and general order of the site. I worked in a safety-oriented manner, often working alongside construction plant and machinery. At the end of my work with the company my colleagues praised my work ethic.}}
vspace{6pt}
item{cventry{2009--2011}{Waiter, Catering and Banqueting}{Lavender Best Western Park Hall Hotel}{Charnock Richard}{}{vspace{3pt}I worked for three years as a team leader providing silver service at weddings, stag/hen nights, and business conferences. I was often trusted with other jobs such as setting up conference rooms, moving beds around the hotel, and guiding big groups of customers to their rooms. As a team leader I would delegate tasks to a team of about 5 people, often new staff who needed training, and lead the group to service. During this time I worked in a highly professional manner and was focused to provide excellent customer service, even during high stress functions and events.}}
vspace{6pt}
item{cventry{January 2008}{Assistant Electrician}{Ryan Electricals}{Southport}{}{vspace{3pt}I spent a week working as an assistant electrician as part of my high school work experience. My roles included wiring plugs, tidying, and assisting with household electrical repairs and fittings.}}
end{itemize}
section{Education}
vspace{5pt}
subsection{Academic Qualifications}
vspace{5pt}
begin{itemize}
item{cventry{2011--2015}{Meng (Hons) Electrical and Electronic Engineering }{Lancaster University}{Lancaster}{textit{Predicted First Class}}{}}
item{cventry{2009--2011}{A levels}{Runshaw College}{Leyland}{textit{ICT (A) Physics (B) Maths (B)}}{}} % arguments 3 to 6 can be left empty
item{cventry{2002--2009}{11 GCSEs}{Southlands High School}{Chorley}{textit{A* to B Including Maths and English}}{}}
end{itemize}
vspace{2pt}
subsection{Notable Projects}
vspace{5pt}
begin{itemize}
item{textbf{Masters Project (Ongoing):} textit{'Development of an Intelligent Humanoid Robot'}
vspace{3pt}
small{I am part of a team developing a 5ft autonomous humanoid robot. This ambitious project requires strong team-working skills and high technical ability. I work well as part of the team, contributing in group discussions and taking initiative to set myself tasks when the next stage of the project is not clear. Given the role of electronics supervisor I am responsible for setting goals and ensuring all the electronic system designs are realised on time and meet the specifications of the project.}}
newpage
item{textbf{3rd year individual project:} textit{'Artificial Neural Network Approach to Source Localisation in Radiation Portal Monitoring'}
vspace{3pt}
small{This challenging project took place over the entirety of my third year. It required excellent planning and organisational skills, and the ability to teach myself an entirely new and complex subject. The project was a success, with the system being able to localise a radioactive source down to $ 3 cm$ within a $ 600 m^3$ sensor array. This project has been suggested for publication by my supervisor.}}
vspace{6pt}
item{textbf{Industrial Project with Leyland Motors Ltd:}textit{'Development of a Facility to Ensure the Achievement of Torque Parameters for a Specific Axle Configuration'}
vspace{3pt}
small{In the 3rd year of my course I spent a week completing an industrial project for Leyland Motors. I worked with a team operating as consultants for a particular problem the company was having. During this project I was working in a professional environment, and co-operating with various managers and engineers to create a design that met the requirements of the problem.}}
end{itemize}
section{Technical and Personal skills}
vspace{6pt}
begin{itemize}
item textbf{Programming Languages:} Proficient in: C, C++, Python, Matlab, Arduino, TeX \ Also basic ability with: Assembly, VBA, VHDL.
vspace{6pt}
item textbf{Industry Software Skills:} SolidWorks (Advanced), Matlab (Advanced), Ansys (Intermediate), LTspice (Intermediate), Most MS Office products including MS project and MS access (Advanced).
vspace{6pt}
item textbf{General Business Skills:} Good presentation skills, Works well in a team.
vspace{6pt}
item textbf{Other:} Good soldering and spot welding skills, Can write well organised and structured reports.
end{itemize}
section{Interests and extra-curricular activity}
vspace{6pt}
begin{itemize}
item{I was a "fresher representative" in my 2nd and 3rd years of university, this required me to guide, look after, and ensure that a particular flat of first years have a good time in their first week, and feel consoled in what for most of them is there first time living away from home. We were responsible for the safety and wellbeing of the group of first years during the first week, and during this time I made good friends with all of them.}
vspace{6pt}
item{I am a member of a number of university societies. I was also the vice president and co-founder of the flash mob society. My roles in this included recruiting members, in which during "fresher's fair" we enlisted over 200 new members. This was regarded as very successful, considering other societies averaged around 50. I also appeared in an interview on the university television station, set up a society bank account, and helped organise the events. One of these events was featured in the local newspaper.}
vspace{6pt}
item{I am also an avid hiker, having completed the national 3 peaks challenge last summer. Other interest include guitar, which I am self-taught, and home brewing.}
end{itemize}
section{References}
vspace{6pt}
begin{itemize}
item{Up to 4 references available on request}
end{itemize}
end{document}
you get the following header:
BTW: You are using item
before cventry
. Please have a look to my answer https://tex.stackexchange.com/a/418629/16550 to get a better right margin ...
The extra line to be inserted in the title between the address and phone number line is part of the layout for style banking
in moderncv
v2.0.0.
To change this add the following patch in your preamble:
makeatletter % <=======================================================
patchcmd{makehead}{%search
flushmakeheaddetails@firstmakeheaddetailselementtrue\null}{%replace
flushmakeheaddetails@firstmakeheaddetailselementtrue\vspace{-
baselineskip}null}{%success
}{%failure
}
makeatother % <========================================================
So with the complete MWE
%% start of file `template.tex'.
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
documentclass[11pt,a4paper,sans]{moderncv}
% modern themes
moderncvstyle{banking}
moderncvcolor{blue}
% character encoding
usepackage[utf8]{inputenc}
% adjust the page margins
usepackage[scale=0.75]{geometry}
usepackage{import} % <======================================= WHY?
makeatletter % <=======================================================
patchcmd{makehead}{%search
flushmakeheaddetails@firstmakeheaddetailselementtrue\null}{%replace
flushmakeheaddetails@firstmakeheaddetailselementtrue\vspace{-
baselineskip}null}{%success
}{%failure
}
makeatother % <========================================================
% personal data
name{My}{Name}
title{Curriculum Vitae}
address{my address, line 1, line 2, line 3, postcode}{}{}
phone[mobile]{+44 12345 12345}
phone[fixed]{01234 123456}
email{myname@hotmail.co.uk}
homepage{www.myname.webs.com}
begin{document}
%----- resume ---------------------------------------------------------
makecvtitle
small{Undergraduate electrical and electronic engineer completing the final year of a master's degree. Passionate about science, with strong technical, business, and interpersonal skills for working in a team and successfully completing a project.}
section{Previous Employment}
vspace{6pt}
begin{itemize}
item{cventry{July 2013--August 2013}{Construction Site Operative}{Eurogold Groundworks and Civil Engineering}{Moston}{}{vspace{3pt}I was responsible for the administrative duties and the tidiness and general order of the site. I worked in a safety-oriented manner, often working alongside construction plant and machinery. At the end of my work with the company my colleagues praised my work ethic.}}
vspace{6pt}
item{cventry{2009--2011}{Waiter, Catering and Banqueting}{Lavender Best Western Park Hall Hotel}{Charnock Richard}{}{vspace{3pt}I worked for three years as a team leader providing silver service at weddings, stag/hen nights, and business conferences. I was often trusted with other jobs such as setting up conference rooms, moving beds around the hotel, and guiding big groups of customers to their rooms. As a team leader I would delegate tasks to a team of about 5 people, often new staff who needed training, and lead the group to service. During this time I worked in a highly professional manner and was focused to provide excellent customer service, even during high stress functions and events.}}
vspace{6pt}
item{cventry{January 2008}{Assistant Electrician}{Ryan Electricals}{Southport}{}{vspace{3pt}I spent a week working as an assistant electrician as part of my high school work experience. My roles included wiring plugs, tidying, and assisting with household electrical repairs and fittings.}}
end{itemize}
section{Education}
vspace{5pt}
subsection{Academic Qualifications}
vspace{5pt}
begin{itemize}
item{cventry{2011--2015}{Meng (Hons) Electrical and Electronic Engineering }{Lancaster University}{Lancaster}{textit{Predicted First Class}}{}}
item{cventry{2009--2011}{A levels}{Runshaw College}{Leyland}{textit{ICT (A) Physics (B) Maths (B)}}{}} % arguments 3 to 6 can be left empty
item{cventry{2002--2009}{11 GCSEs}{Southlands High School}{Chorley}{textit{A* to B Including Maths and English}}{}}
end{itemize}
vspace{2pt}
subsection{Notable Projects}
vspace{5pt}
begin{itemize}
item{textbf{Masters Project (Ongoing):} textit{'Development of an Intelligent Humanoid Robot'}
vspace{3pt}
small{I am part of a team developing a 5ft autonomous humanoid robot. This ambitious project requires strong team-working skills and high technical ability. I work well as part of the team, contributing in group discussions and taking initiative to set myself tasks when the next stage of the project is not clear. Given the role of electronics supervisor I am responsible for setting goals and ensuring all the electronic system designs are realised on time and meet the specifications of the project.}}
newpage
item{textbf{3rd year individual project:} textit{'Artificial Neural Network Approach to Source Localisation in Radiation Portal Monitoring'}
vspace{3pt}
small{This challenging project took place over the entirety of my third year. It required excellent planning and organisational skills, and the ability to teach myself an entirely new and complex subject. The project was a success, with the system being able to localise a radioactive source down to $ 3 cm$ within a $ 600 m^3$ sensor array. This project has been suggested for publication by my supervisor.}}
vspace{6pt}
item{textbf{Industrial Project with Leyland Motors Ltd:}textit{'Development of a Facility to Ensure the Achievement of Torque Parameters for a Specific Axle Configuration'}
vspace{3pt}
small{In the 3rd year of my course I spent a week completing an industrial project for Leyland Motors. I worked with a team operating as consultants for a particular problem the company was having. During this project I was working in a professional environment, and co-operating with various managers and engineers to create a design that met the requirements of the problem.}}
end{itemize}
section{Technical and Personal skills}
vspace{6pt}
begin{itemize}
item textbf{Programming Languages:} Proficient in: C, C++, Python, Matlab, Arduino, TeX \ Also basic ability with: Assembly, VBA, VHDL.
vspace{6pt}
item textbf{Industry Software Skills:} SolidWorks (Advanced), Matlab (Advanced), Ansys (Intermediate), LTspice (Intermediate), Most MS Office products including MS project and MS access (Advanced).
vspace{6pt}
item textbf{General Business Skills:} Good presentation skills, Works well in a team.
vspace{6pt}
item textbf{Other:} Good soldering and spot welding skills, Can write well organised and structured reports.
end{itemize}
section{Interests and extra-curricular activity}
vspace{6pt}
begin{itemize}
item{I was a "fresher representative" in my 2nd and 3rd years of university, this required me to guide, look after, and ensure that a particular flat of first years have a good time in their first week, and feel consoled in what for most of them is there first time living away from home. We were responsible for the safety and wellbeing of the group of first years during the first week, and during this time I made good friends with all of them.}
vspace{6pt}
item{I am a member of a number of university societies. I was also the vice president and co-founder of the flash mob society. My roles in this included recruiting members, in which during "fresher's fair" we enlisted over 200 new members. This was regarded as very successful, considering other societies averaged around 50. I also appeared in an interview on the university television station, set up a society bank account, and helped organise the events. One of these events was featured in the local newspaper.}
vspace{6pt}
item{I am also an avid hiker, having completed the national 3 peaks challenge last summer. Other interest include guitar, which I am self-taught, and home brewing.}
end{itemize}
section{References}
vspace{6pt}
begin{itemize}
item{Up to 4 references available on request}
end{itemize}
end{document}
you get the following header:
BTW: You are using item
before cventry
. Please have a look to my answer https://tex.stackexchange.com/a/418629/16550 to get a better right margin ...
edited Oct 12 '18 at 19:55
answered Oct 12 '18 at 11:45
KurtKurt
41k950164
41k950164
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f454864%2fhow-to-fix-underfull-hbox-in-a-template%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to TeX.SX! Underfull boxes are no errors, but warnings and you may treat them as such (ignore if there is no visible problem). If you want to remove them nevertheless, please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
Oct 12 '18 at 6:54
Your question is not clear: in particular, I cannot see how an underfull hbox can cause “an extra line to be inserted”. We need to see your source code and the exact transcript of the warnings (and possibly, error messages) issued by LaTeX.
– GuM
Oct 12 '18 at 10:43
If you like my answer and it was helpful, please consider upvoting (by clicking on the arrows next to the score) and/or marking it as the accepted answer (by clicking on the checkmark ✓).
– Kurt
Dec 28 '18 at 12:20