Minipage in a two column CV appears in the center than towards the left Announcing the arrival...

For a new assistant professor in CS, how to build/manage a publication pipeline

Why are both D and D# fitting into my E minor key?

Circuit to "zoom in" on mV fluctuations of a DC signal?

Maximum summed powersets with non-adjacent items

What's the meaning of "fortified infraction restraint"?

Do jazz musicians improvise on the parent scale in addition to the chord-scales?

When was Kai Tak permanently closed to cargo service?

Why aren't air breathing engines used as small first stages

Trademark violation for app?

Do square wave exist?

How to answer "Have you ever been terminated?"

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Generate an RGB colour grid

Around usage results

How to tell that you are a giant?

How to react to hostile behavior from a senior developer?

An adverb for when you're not exaggerating

Dating a Former Employee

What font is "z" in "z-score"?

Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?

What is the meaning of the simile “quick as silk”?

Fundamental Solution of the Pell Equation

How do I stop a creek from eroding my steep embankment?

Is there such thing as an Availability Group failover trigger?



Minipage in a two column CV appears in the center than towards the left



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)footnotemark and footnotetext in minipageHow to center the minipage?Left margin minipage two figuresWhy is the minipage indented on the left?Left position of minipageCenter content of a minipage inside of a longtabuCenter text in minipage along page centerBeamer column leaves more vertical space than minipage2-column alignment of equations: left-center












1















I have used minipage to make a two column CV. The left column appears in the center of the page rather than the left side, while the right column starts below the left one and continues onto the next page. The code and resulting document are given. Please help



documentclass{article}

usepackage[hmargin=1.25cm, vmargin=0.7cm]{geometry}
usepackage[usenames,dvipsnames]{xcolor}
usepackage{titlesec}
usepackage{ragged2e}
usepackage[absolute]{textpos}
usepackage[UKenglish]{babel}
usepackage[UKenglish]{isodate}
usepackage{fontspec,xltxtra,xunicode}
usepackage{hyperref}
%usepackage[utf8]{inputenc}
usepackage{color,soul}
usepackage{tabularx}

definecolor{headings}{HTML}{E74C3C}
definecolor{gray}{HTML}{808B96}
definecolor{sepline}{HTML}{E74C3C}
definecolor{main}{HTML}{17202A}
setmainfont[Path = fonts/lato/]{Lato-Reg.ttf}

%horizontal line seaparator
newlength{seplinewidth}
newlength{seplinesep}
setlength{seplinewidth}{0.5mm}
setlength{seplinesep}{2mm}
newcommand*{sepline}{%
par
vspace{dimexprseplinesep+.5parskip}%
cleadersvbox{%
begingroup % because of color
color{sepline}%
hrule widthlinewidth heightseplinewidth
endgroup
}vskipseplinewidth
vspace{dimexprseplinesep-.5parskip}%
}

%underline
setul{0.5ex}{0.2ex}
setulcolor{sepline}

setlength{textfloatsep}{0.1cm}
addtolength{parskip}{-0.5mm}

%title formats
newcommand{sectiontitle}[1]{{color{headings} fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Large ul{#1}}}
newcommand{mainline}[1]{{color{main} fontspec[Path = fonts/lato/]{Lato-Bol.ttf}#1}}
newcommand{institute}[1]{{color{main} #1}}
newcommand{gpa}[3]{color{gray} #1 : #2 | #3}
newcommand{guiduration}[2]{{
color{main}
begin{tabularx}{0.6textwidth}{X r}
(#1) & [#2]
end{tabularx}
}}

newenvironment{tightemize}{vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}{end{itemize}vspace{-topsep}}

begin{document}

pagestyle{empty}
fontfb=''[cmr10]''
setlength{titlewidth}{454pt}

centering{
{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
color{gray}
Pre-Final Year B.Tech, Electrical Engineering\
Indian Institute of Technology Jodhpur\
sumanth.2@iitj.ac.in|+91-9632878570
}
sepline
vspace{-topsep}

begin{minipage}[t]{0.33linewidth}

raggedright

%Education

sectiontitle{Education}\[2mm]
mainline{B.Tech in Electrical Engineering}\
institute{Indian Institute of Technology, Jodhpur}\
gpa{GPA}{9.33/10.0}{Expected 2020}\[2mm]

mainline{Higher Secondary (KSEEB)}\
institute{VVS GJ PU College, Mysore}\
gpa{Percentage}{96.3%}{2014-15}\[2mm]

mainline{Secondary (CBSE)}\
institute{Atomic Engery Central School, Mysore}\
gpa{GPA}{10.0/10.0}{2012-13}newline\

%Technical Skills

sectiontitle{Technical Skills}\[2mm]
mainline{Programming Language}\
C++ textbullet{} MATLAB\[0.5mm]
mainline{Hardware Description Language}\
Verilog\[0.5mm]
mainline{Simulation Software}\
Simulink textbullet{} SPICE\[0.5mm]
mainline{Micrcontroller Programming}\
PIC textbullet{} Arduino textbullet{} Embedded Cnewline\

%Coursework

sectiontitle{Coursework}\[2mm]
Computer Architecture\
Microprocessors and Microcontrollers \
Digital Logic and Design \
Physics of Semiconductor Devices \
Analog Electronics \
Communication Systems \
Signals and Systems \
Electromagnetic Theory \
Circuit Theory \
Probability, Statistics and Random Processes \
Complex Analysis and Differential Equation \
Linear Algerbra and Calculus\

end{minipage}%

hfill

begin{minipage}[t]{0.6textwidth}

sectiontitle{Projects}\[2mm]
mainline{Automated Farm Security System}\
guiduration{Self-Project}{Sep 2017 - Mar 2018}


end{minipage}

end{document}


enter image description here`










share|improve this question
















bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • You do not use centering{...}, but instead {centering ...}, or better yet begin{center} ... end{center}. This should fix your problem. :-) I do not have your font family Lato to produce any output though.

    – Ruixi Zhang
    Aug 22 '18 at 17:50













  • 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
    Apr 2 at 22:26
















1















I have used minipage to make a two column CV. The left column appears in the center of the page rather than the left side, while the right column starts below the left one and continues onto the next page. The code and resulting document are given. Please help



documentclass{article}

usepackage[hmargin=1.25cm, vmargin=0.7cm]{geometry}
usepackage[usenames,dvipsnames]{xcolor}
usepackage{titlesec}
usepackage{ragged2e}
usepackage[absolute]{textpos}
usepackage[UKenglish]{babel}
usepackage[UKenglish]{isodate}
usepackage{fontspec,xltxtra,xunicode}
usepackage{hyperref}
%usepackage[utf8]{inputenc}
usepackage{color,soul}
usepackage{tabularx}

definecolor{headings}{HTML}{E74C3C}
definecolor{gray}{HTML}{808B96}
definecolor{sepline}{HTML}{E74C3C}
definecolor{main}{HTML}{17202A}
setmainfont[Path = fonts/lato/]{Lato-Reg.ttf}

%horizontal line seaparator
newlength{seplinewidth}
newlength{seplinesep}
setlength{seplinewidth}{0.5mm}
setlength{seplinesep}{2mm}
newcommand*{sepline}{%
par
vspace{dimexprseplinesep+.5parskip}%
cleadersvbox{%
begingroup % because of color
color{sepline}%
hrule widthlinewidth heightseplinewidth
endgroup
}vskipseplinewidth
vspace{dimexprseplinesep-.5parskip}%
}

%underline
setul{0.5ex}{0.2ex}
setulcolor{sepline}

setlength{textfloatsep}{0.1cm}
addtolength{parskip}{-0.5mm}

%title formats
newcommand{sectiontitle}[1]{{color{headings} fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Large ul{#1}}}
newcommand{mainline}[1]{{color{main} fontspec[Path = fonts/lato/]{Lato-Bol.ttf}#1}}
newcommand{institute}[1]{{color{main} #1}}
newcommand{gpa}[3]{color{gray} #1 : #2 | #3}
newcommand{guiduration}[2]{{
color{main}
begin{tabularx}{0.6textwidth}{X r}
(#1) & [#2]
end{tabularx}
}}

newenvironment{tightemize}{vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}{end{itemize}vspace{-topsep}}

begin{document}

pagestyle{empty}
fontfb=''[cmr10]''
setlength{titlewidth}{454pt}

centering{
{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
color{gray}
Pre-Final Year B.Tech, Electrical Engineering\
Indian Institute of Technology Jodhpur\
sumanth.2@iitj.ac.in|+91-9632878570
}
sepline
vspace{-topsep}

begin{minipage}[t]{0.33linewidth}

raggedright

%Education

sectiontitle{Education}\[2mm]
mainline{B.Tech in Electrical Engineering}\
institute{Indian Institute of Technology, Jodhpur}\
gpa{GPA}{9.33/10.0}{Expected 2020}\[2mm]

mainline{Higher Secondary (KSEEB)}\
institute{VVS GJ PU College, Mysore}\
gpa{Percentage}{96.3%}{2014-15}\[2mm]

mainline{Secondary (CBSE)}\
institute{Atomic Engery Central School, Mysore}\
gpa{GPA}{10.0/10.0}{2012-13}newline\

%Technical Skills

sectiontitle{Technical Skills}\[2mm]
mainline{Programming Language}\
C++ textbullet{} MATLAB\[0.5mm]
mainline{Hardware Description Language}\
Verilog\[0.5mm]
mainline{Simulation Software}\
Simulink textbullet{} SPICE\[0.5mm]
mainline{Micrcontroller Programming}\
PIC textbullet{} Arduino textbullet{} Embedded Cnewline\

%Coursework

sectiontitle{Coursework}\[2mm]
Computer Architecture\
Microprocessors and Microcontrollers \
Digital Logic and Design \
Physics of Semiconductor Devices \
Analog Electronics \
Communication Systems \
Signals and Systems \
Electromagnetic Theory \
Circuit Theory \
Probability, Statistics and Random Processes \
Complex Analysis and Differential Equation \
Linear Algerbra and Calculus\

end{minipage}%

hfill

begin{minipage}[t]{0.6textwidth}

sectiontitle{Projects}\[2mm]
mainline{Automated Farm Security System}\
guiduration{Self-Project}{Sep 2017 - Mar 2018}


end{minipage}

end{document}


enter image description here`










share|improve this question
















bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • You do not use centering{...}, but instead {centering ...}, or better yet begin{center} ... end{center}. This should fix your problem. :-) I do not have your font family Lato to produce any output though.

    – Ruixi Zhang
    Aug 22 '18 at 17:50













  • 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
    Apr 2 at 22:26














1












1








1








I have used minipage to make a two column CV. The left column appears in the center of the page rather than the left side, while the right column starts below the left one and continues onto the next page. The code and resulting document are given. Please help



documentclass{article}

usepackage[hmargin=1.25cm, vmargin=0.7cm]{geometry}
usepackage[usenames,dvipsnames]{xcolor}
usepackage{titlesec}
usepackage{ragged2e}
usepackage[absolute]{textpos}
usepackage[UKenglish]{babel}
usepackage[UKenglish]{isodate}
usepackage{fontspec,xltxtra,xunicode}
usepackage{hyperref}
%usepackage[utf8]{inputenc}
usepackage{color,soul}
usepackage{tabularx}

definecolor{headings}{HTML}{E74C3C}
definecolor{gray}{HTML}{808B96}
definecolor{sepline}{HTML}{E74C3C}
definecolor{main}{HTML}{17202A}
setmainfont[Path = fonts/lato/]{Lato-Reg.ttf}

%horizontal line seaparator
newlength{seplinewidth}
newlength{seplinesep}
setlength{seplinewidth}{0.5mm}
setlength{seplinesep}{2mm}
newcommand*{sepline}{%
par
vspace{dimexprseplinesep+.5parskip}%
cleadersvbox{%
begingroup % because of color
color{sepline}%
hrule widthlinewidth heightseplinewidth
endgroup
}vskipseplinewidth
vspace{dimexprseplinesep-.5parskip}%
}

%underline
setul{0.5ex}{0.2ex}
setulcolor{sepline}

setlength{textfloatsep}{0.1cm}
addtolength{parskip}{-0.5mm}

%title formats
newcommand{sectiontitle}[1]{{color{headings} fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Large ul{#1}}}
newcommand{mainline}[1]{{color{main} fontspec[Path = fonts/lato/]{Lato-Bol.ttf}#1}}
newcommand{institute}[1]{{color{main} #1}}
newcommand{gpa}[3]{color{gray} #1 : #2 | #3}
newcommand{guiduration}[2]{{
color{main}
begin{tabularx}{0.6textwidth}{X r}
(#1) & [#2]
end{tabularx}
}}

newenvironment{tightemize}{vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}{end{itemize}vspace{-topsep}}

begin{document}

pagestyle{empty}
fontfb=''[cmr10]''
setlength{titlewidth}{454pt}

centering{
{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
color{gray}
Pre-Final Year B.Tech, Electrical Engineering\
Indian Institute of Technology Jodhpur\
sumanth.2@iitj.ac.in|+91-9632878570
}
sepline
vspace{-topsep}

begin{minipage}[t]{0.33linewidth}

raggedright

%Education

sectiontitle{Education}\[2mm]
mainline{B.Tech in Electrical Engineering}\
institute{Indian Institute of Technology, Jodhpur}\
gpa{GPA}{9.33/10.0}{Expected 2020}\[2mm]

mainline{Higher Secondary (KSEEB)}\
institute{VVS GJ PU College, Mysore}\
gpa{Percentage}{96.3%}{2014-15}\[2mm]

mainline{Secondary (CBSE)}\
institute{Atomic Engery Central School, Mysore}\
gpa{GPA}{10.0/10.0}{2012-13}newline\

%Technical Skills

sectiontitle{Technical Skills}\[2mm]
mainline{Programming Language}\
C++ textbullet{} MATLAB\[0.5mm]
mainline{Hardware Description Language}\
Verilog\[0.5mm]
mainline{Simulation Software}\
Simulink textbullet{} SPICE\[0.5mm]
mainline{Micrcontroller Programming}\
PIC textbullet{} Arduino textbullet{} Embedded Cnewline\

%Coursework

sectiontitle{Coursework}\[2mm]
Computer Architecture\
Microprocessors and Microcontrollers \
Digital Logic and Design \
Physics of Semiconductor Devices \
Analog Electronics \
Communication Systems \
Signals and Systems \
Electromagnetic Theory \
Circuit Theory \
Probability, Statistics and Random Processes \
Complex Analysis and Differential Equation \
Linear Algerbra and Calculus\

end{minipage}%

hfill

begin{minipage}[t]{0.6textwidth}

sectiontitle{Projects}\[2mm]
mainline{Automated Farm Security System}\
guiduration{Self-Project}{Sep 2017 - Mar 2018}


end{minipage}

end{document}


enter image description here`










share|improve this question
















I have used minipage to make a two column CV. The left column appears in the center of the page rather than the left side, while the right column starts below the left one and continues onto the next page. The code and resulting document are given. Please help



documentclass{article}

usepackage[hmargin=1.25cm, vmargin=0.7cm]{geometry}
usepackage[usenames,dvipsnames]{xcolor}
usepackage{titlesec}
usepackage{ragged2e}
usepackage[absolute]{textpos}
usepackage[UKenglish]{babel}
usepackage[UKenglish]{isodate}
usepackage{fontspec,xltxtra,xunicode}
usepackage{hyperref}
%usepackage[utf8]{inputenc}
usepackage{color,soul}
usepackage{tabularx}

definecolor{headings}{HTML}{E74C3C}
definecolor{gray}{HTML}{808B96}
definecolor{sepline}{HTML}{E74C3C}
definecolor{main}{HTML}{17202A}
setmainfont[Path = fonts/lato/]{Lato-Reg.ttf}

%horizontal line seaparator
newlength{seplinewidth}
newlength{seplinesep}
setlength{seplinewidth}{0.5mm}
setlength{seplinesep}{2mm}
newcommand*{sepline}{%
par
vspace{dimexprseplinesep+.5parskip}%
cleadersvbox{%
begingroup % because of color
color{sepline}%
hrule widthlinewidth heightseplinewidth
endgroup
}vskipseplinewidth
vspace{dimexprseplinesep-.5parskip}%
}

%underline
setul{0.5ex}{0.2ex}
setulcolor{sepline}

setlength{textfloatsep}{0.1cm}
addtolength{parskip}{-0.5mm}

%title formats
newcommand{sectiontitle}[1]{{color{headings} fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Large ul{#1}}}
newcommand{mainline}[1]{{color{main} fontspec[Path = fonts/lato/]{Lato-Bol.ttf}#1}}
newcommand{institute}[1]{{color{main} #1}}
newcommand{gpa}[3]{color{gray} #1 : #2 | #3}
newcommand{guiduration}[2]{{
color{main}
begin{tabularx}{0.6textwidth}{X r}
(#1) & [#2]
end{tabularx}
}}

newenvironment{tightemize}{vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}{end{itemize}vspace{-topsep}}

begin{document}

pagestyle{empty}
fontfb=''[cmr10]''
setlength{titlewidth}{454pt}

centering{
{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
color{gray}
Pre-Final Year B.Tech, Electrical Engineering\
Indian Institute of Technology Jodhpur\
sumanth.2@iitj.ac.in|+91-9632878570
}
sepline
vspace{-topsep}

begin{minipage}[t]{0.33linewidth}

raggedright

%Education

sectiontitle{Education}\[2mm]
mainline{B.Tech in Electrical Engineering}\
institute{Indian Institute of Technology, Jodhpur}\
gpa{GPA}{9.33/10.0}{Expected 2020}\[2mm]

mainline{Higher Secondary (KSEEB)}\
institute{VVS GJ PU College, Mysore}\
gpa{Percentage}{96.3%}{2014-15}\[2mm]

mainline{Secondary (CBSE)}\
institute{Atomic Engery Central School, Mysore}\
gpa{GPA}{10.0/10.0}{2012-13}newline\

%Technical Skills

sectiontitle{Technical Skills}\[2mm]
mainline{Programming Language}\
C++ textbullet{} MATLAB\[0.5mm]
mainline{Hardware Description Language}\
Verilog\[0.5mm]
mainline{Simulation Software}\
Simulink textbullet{} SPICE\[0.5mm]
mainline{Micrcontroller Programming}\
PIC textbullet{} Arduino textbullet{} Embedded Cnewline\

%Coursework

sectiontitle{Coursework}\[2mm]
Computer Architecture\
Microprocessors and Microcontrollers \
Digital Logic and Design \
Physics of Semiconductor Devices \
Analog Electronics \
Communication Systems \
Signals and Systems \
Electromagnetic Theory \
Circuit Theory \
Probability, Statistics and Random Processes \
Complex Analysis and Differential Equation \
Linear Algerbra and Calculus\

end{minipage}%

hfill

begin{minipage}[t]{0.6textwidth}

sectiontitle{Projects}\[2mm]
mainline{Automated Farm Security System}\
guiduration{Self-Project}{Sep 2017 - Mar 2018}


end{minipage}

end{document}


enter image description here`







horizontal-alignment xetex minipage cv






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 27 '18 at 2:34









Kurt

41.4k950164




41.4k950164










asked Aug 21 '18 at 22:09









sumanth umeshsumanth umesh

61




61





bumped to the homepage by Community 2 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 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • You do not use centering{...}, but instead {centering ...}, or better yet begin{center} ... end{center}. This should fix your problem. :-) I do not have your font family Lato to produce any output though.

    – Ruixi Zhang
    Aug 22 '18 at 17:50













  • 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
    Apr 2 at 22:26



















  • You do not use centering{...}, but instead {centering ...}, or better yet begin{center} ... end{center}. This should fix your problem. :-) I do not have your font family Lato to produce any output though.

    – Ruixi Zhang
    Aug 22 '18 at 17:50













  • 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
    Apr 2 at 22:26

















You do not use centering{...}, but instead {centering ...}, or better yet begin{center} ... end{center}. This should fix your problem. :-) I do not have your font family Lato to produce any output though.

– Ruixi Zhang
Aug 22 '18 at 17:50







You do not use centering{...}, but instead {centering ...}, or better yet begin{center} ... end{center}. This should fix your problem. :-) I do not have your font family Lato to produce any output though.

– Ruixi Zhang
Aug 22 '18 at 17:50















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
Apr 2 at 22:26





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
Apr 2 at 22:26










1 Answer
1






active

oldest

votes


















0














Because I do not have your font Lato I simply deleted this font in the following MWE.



The error you made is to use command centering like this:



centering{ 
{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
color{gray}
Pre-Final Year B.Tech, Electrical Engineering\
Indian Institute of Technology Jodhpur\
sumanth.2@iitj.ac.in|+91-9632878570
}


Command centering is not prepared to take an parameter. So you can choose to use



{centering ...}


to allow centering only in the part of text inside {...} or you can use environment center instead:



begin{center} % <======================================================
%{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
{Huge {color{headings} Sumanth } color{main}Umesh} \
color{gray}
Pre-Final Year B.Tech, Electrical Engineering\
Indian Institute of Technology Jodhpur\
sumanth.2@iitj.ac.in|+91-9632878570
end{center} % <========================================================


With the following MWE



documentclass{article}

usepackage[hmargin=1.25cm, vmargin=0.7cm]{geometry}
usepackage[usenames,dvipsnames]{xcolor}
usepackage{titlesec}
usepackage{ragged2e}
usepackage[absolute]{textpos}
usepackage[UKenglish]{babel}
usepackage[UKenglish]{isodate}
usepackage{fontspec,xltxtra,xunicode}

%usepackage[utf8]{inputenc}
usepackage{color,soul}
usepackage{tabularx}
usepackage{hyperref} % <===============================================

definecolor{headings}{HTML}{E74C3C}
definecolor{gray}{HTML}{808B96}
definecolor{sepline}{HTML}{E74C3C}
definecolor{main}{HTML}{17202A}
%setmainfont[Path = fonts/lato/]{Lato-Reg.ttf} % <=====================
%setmainfont{Lato-Reg.ttf} % <=========================================

%horizontal line seaparator
newlength{seplinewidth}
newlength{seplinesep}
setlength{seplinewidth}{0.5mm}
setlength{seplinesep}{2mm}
newcommand*{sepline}{%
par
vspace{dimexprseplinesep+.5parskip}%
cleadersvbox{%
begingroup % because of color
color{sepline}%
hrule widthlinewidth heightseplinewidth
endgroup
}vskipseplinewidth
vspace{dimexprseplinesep-.5parskip}%
}

%underline
setul{0.5ex}{0.2ex}
setulcolor{sepline}

setlength{textfloatsep}{0.1cm}
addtolength{parskip}{-0.5mm}

%title formats
%newcommand{sectiontitle}[1]{{color{headings} fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Large ul{#1}}}
%newcommand{mainline}[1]{{color{main} fontspec[Path = fonts/lato/]{Lato-Bol.ttf}#1}}
newcommand{sectiontitle}[1]{{color{headings} Large ul{#1}}} % <====
newcommand{mainline}[1]{{color{main} #1}} % <========================
newcommand{institute}[1]{{color{main} #1}}
newcommand{gpa}[3]{color{gray} #1 : #2 | #3}
newcommand{guiduration}[2]{{
color{main}
begin{tabularx}{0.6textwidth}{X r}
(#1) & [#2]
end{tabularx}
}}

newenvironment{tightemize}{vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}{end{itemize}vspace{-topsep}}


begin{document}

pagestyle{empty}
fontfb=''[cmr10]''
setlength{titlewidth}{454pt}

begin{center} % <======================================================
%{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
{Huge {color{headings} Sumanth } color{main}Umesh} \
color{gray}
Pre-Final Year B.Tech, Electrical Engineering\
Indian Institute of Technology Jodhpur\
sumanth.2@iitj.ac.in|+91-9632878570
end{center} % <========================================================
sepline
vspace{-topsep}

begin{minipage}[t]{0.33linewidth}

raggedright

%Education

sectiontitle{Education}\[2mm]
mainline{B.Tech in Electrical Engineering}\
institute{Indian Institute of Technology, Jodhpur}\
gpa{GPA}{9.33/10.0}{Expected 2020}\[2mm]

mainline{Higher Secondary (KSEEB)}\
institute{VVS GJ PU College, Mysore}\
gpa{Percentage}{96.3%}{2014-15}\[2mm]

mainline{Secondary (CBSE)}\
institute{Atomic Engery Central School, Mysore}\
gpa{GPA}{10.0/10.0}{2012-13}newline\

%Technical Skills

sectiontitle{Technical Skills}\[2mm]
mainline{Programming Language}\
C++ textbullet{} MATLAB\[0.5mm]
mainline{Hardware Description Language}\
Verilog\[0.5mm]
mainline{Simulation Software}\
Simulink textbullet{} SPICE\[0.5mm]
mainline{Micrcontroller Programming}\
PIC textbullet{} Arduino textbullet{} Embedded Cnewline\

%Coursework

sectiontitle{Coursework}\[2mm]
Computer Architecture\
Microprocessors and Microcontrollers \
Digital Logic and Design \
Physics of Semiconductor Devices \
Analog Electronics \
Communication Systems \
Signals and Systems \
Electromagnetic Theory \
Circuit Theory \
Probability, Statistics and Random Processes \
Complex Analysis and Differential Equation \
Linear Algerbra and Calculus\

end{minipage}%

hfill

begin{minipage}[t]{0.6textwidth}

sectiontitle{Projects}\[2mm]
mainline{Automated Farm Security System}\
guiduration{Self-Project}{Sep 2017 - Mar 2018}


end{minipage}

end{document}


you get the wished result:



enter image description here






share|improve this answer


























    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f447069%2fminipage-in-a-two-column-cv-appears-in-the-center-than-towards-the-left%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









    0














    Because I do not have your font Lato I simply deleted this font in the following MWE.



    The error you made is to use command centering like this:



    centering{ 
    {fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
    color{gray}
    Pre-Final Year B.Tech, Electrical Engineering\
    Indian Institute of Technology Jodhpur\
    sumanth.2@iitj.ac.in|+91-9632878570
    }


    Command centering is not prepared to take an parameter. So you can choose to use



    {centering ...}


    to allow centering only in the part of text inside {...} or you can use environment center instead:



    begin{center} % <======================================================
    %{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
    {Huge {color{headings} Sumanth } color{main}Umesh} \
    color{gray}
    Pre-Final Year B.Tech, Electrical Engineering\
    Indian Institute of Technology Jodhpur\
    sumanth.2@iitj.ac.in|+91-9632878570
    end{center} % <========================================================


    With the following MWE



    documentclass{article}

    usepackage[hmargin=1.25cm, vmargin=0.7cm]{geometry}
    usepackage[usenames,dvipsnames]{xcolor}
    usepackage{titlesec}
    usepackage{ragged2e}
    usepackage[absolute]{textpos}
    usepackage[UKenglish]{babel}
    usepackage[UKenglish]{isodate}
    usepackage{fontspec,xltxtra,xunicode}

    %usepackage[utf8]{inputenc}
    usepackage{color,soul}
    usepackage{tabularx}
    usepackage{hyperref} % <===============================================

    definecolor{headings}{HTML}{E74C3C}
    definecolor{gray}{HTML}{808B96}
    definecolor{sepline}{HTML}{E74C3C}
    definecolor{main}{HTML}{17202A}
    %setmainfont[Path = fonts/lato/]{Lato-Reg.ttf} % <=====================
    %setmainfont{Lato-Reg.ttf} % <=========================================

    %horizontal line seaparator
    newlength{seplinewidth}
    newlength{seplinesep}
    setlength{seplinewidth}{0.5mm}
    setlength{seplinesep}{2mm}
    newcommand*{sepline}{%
    par
    vspace{dimexprseplinesep+.5parskip}%
    cleadersvbox{%
    begingroup % because of color
    color{sepline}%
    hrule widthlinewidth heightseplinewidth
    endgroup
    }vskipseplinewidth
    vspace{dimexprseplinesep-.5parskip}%
    }

    %underline
    setul{0.5ex}{0.2ex}
    setulcolor{sepline}

    setlength{textfloatsep}{0.1cm}
    addtolength{parskip}{-0.5mm}

    %title formats
    %newcommand{sectiontitle}[1]{{color{headings} fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Large ul{#1}}}
    %newcommand{mainline}[1]{{color{main} fontspec[Path = fonts/lato/]{Lato-Bol.ttf}#1}}
    newcommand{sectiontitle}[1]{{color{headings} Large ul{#1}}} % <====
    newcommand{mainline}[1]{{color{main} #1}} % <========================
    newcommand{institute}[1]{{color{main} #1}}
    newcommand{gpa}[3]{color{gray} #1 : #2 | #3}
    newcommand{guiduration}[2]{{
    color{main}
    begin{tabularx}{0.6textwidth}{X r}
    (#1) & [#2]
    end{tabularx}
    }}

    newenvironment{tightemize}{vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}{end{itemize}vspace{-topsep}}


    begin{document}

    pagestyle{empty}
    fontfb=''[cmr10]''
    setlength{titlewidth}{454pt}

    begin{center} % <======================================================
    %{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
    {Huge {color{headings} Sumanth } color{main}Umesh} \
    color{gray}
    Pre-Final Year B.Tech, Electrical Engineering\
    Indian Institute of Technology Jodhpur\
    sumanth.2@iitj.ac.in|+91-9632878570
    end{center} % <========================================================
    sepline
    vspace{-topsep}

    begin{minipage}[t]{0.33linewidth}

    raggedright

    %Education

    sectiontitle{Education}\[2mm]
    mainline{B.Tech in Electrical Engineering}\
    institute{Indian Institute of Technology, Jodhpur}\
    gpa{GPA}{9.33/10.0}{Expected 2020}\[2mm]

    mainline{Higher Secondary (KSEEB)}\
    institute{VVS GJ PU College, Mysore}\
    gpa{Percentage}{96.3%}{2014-15}\[2mm]

    mainline{Secondary (CBSE)}\
    institute{Atomic Engery Central School, Mysore}\
    gpa{GPA}{10.0/10.0}{2012-13}newline\

    %Technical Skills

    sectiontitle{Technical Skills}\[2mm]
    mainline{Programming Language}\
    C++ textbullet{} MATLAB\[0.5mm]
    mainline{Hardware Description Language}\
    Verilog\[0.5mm]
    mainline{Simulation Software}\
    Simulink textbullet{} SPICE\[0.5mm]
    mainline{Micrcontroller Programming}\
    PIC textbullet{} Arduino textbullet{} Embedded Cnewline\

    %Coursework

    sectiontitle{Coursework}\[2mm]
    Computer Architecture\
    Microprocessors and Microcontrollers \
    Digital Logic and Design \
    Physics of Semiconductor Devices \
    Analog Electronics \
    Communication Systems \
    Signals and Systems \
    Electromagnetic Theory \
    Circuit Theory \
    Probability, Statistics and Random Processes \
    Complex Analysis and Differential Equation \
    Linear Algerbra and Calculus\

    end{minipage}%

    hfill

    begin{minipage}[t]{0.6textwidth}

    sectiontitle{Projects}\[2mm]
    mainline{Automated Farm Security System}\
    guiduration{Self-Project}{Sep 2017 - Mar 2018}


    end{minipage}

    end{document}


    you get the wished result:



    enter image description here






    share|improve this answer






























      0














      Because I do not have your font Lato I simply deleted this font in the following MWE.



      The error you made is to use command centering like this:



      centering{ 
      {fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
      color{gray}
      Pre-Final Year B.Tech, Electrical Engineering\
      Indian Institute of Technology Jodhpur\
      sumanth.2@iitj.ac.in|+91-9632878570
      }


      Command centering is not prepared to take an parameter. So you can choose to use



      {centering ...}


      to allow centering only in the part of text inside {...} or you can use environment center instead:



      begin{center} % <======================================================
      %{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
      {Huge {color{headings} Sumanth } color{main}Umesh} \
      color{gray}
      Pre-Final Year B.Tech, Electrical Engineering\
      Indian Institute of Technology Jodhpur\
      sumanth.2@iitj.ac.in|+91-9632878570
      end{center} % <========================================================


      With the following MWE



      documentclass{article}

      usepackage[hmargin=1.25cm, vmargin=0.7cm]{geometry}
      usepackage[usenames,dvipsnames]{xcolor}
      usepackage{titlesec}
      usepackage{ragged2e}
      usepackage[absolute]{textpos}
      usepackage[UKenglish]{babel}
      usepackage[UKenglish]{isodate}
      usepackage{fontspec,xltxtra,xunicode}

      %usepackage[utf8]{inputenc}
      usepackage{color,soul}
      usepackage{tabularx}
      usepackage{hyperref} % <===============================================

      definecolor{headings}{HTML}{E74C3C}
      definecolor{gray}{HTML}{808B96}
      definecolor{sepline}{HTML}{E74C3C}
      definecolor{main}{HTML}{17202A}
      %setmainfont[Path = fonts/lato/]{Lato-Reg.ttf} % <=====================
      %setmainfont{Lato-Reg.ttf} % <=========================================

      %horizontal line seaparator
      newlength{seplinewidth}
      newlength{seplinesep}
      setlength{seplinewidth}{0.5mm}
      setlength{seplinesep}{2mm}
      newcommand*{sepline}{%
      par
      vspace{dimexprseplinesep+.5parskip}%
      cleadersvbox{%
      begingroup % because of color
      color{sepline}%
      hrule widthlinewidth heightseplinewidth
      endgroup
      }vskipseplinewidth
      vspace{dimexprseplinesep-.5parskip}%
      }

      %underline
      setul{0.5ex}{0.2ex}
      setulcolor{sepline}

      setlength{textfloatsep}{0.1cm}
      addtolength{parskip}{-0.5mm}

      %title formats
      %newcommand{sectiontitle}[1]{{color{headings} fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Large ul{#1}}}
      %newcommand{mainline}[1]{{color{main} fontspec[Path = fonts/lato/]{Lato-Bol.ttf}#1}}
      newcommand{sectiontitle}[1]{{color{headings} Large ul{#1}}} % <====
      newcommand{mainline}[1]{{color{main} #1}} % <========================
      newcommand{institute}[1]{{color{main} #1}}
      newcommand{gpa}[3]{color{gray} #1 : #2 | #3}
      newcommand{guiduration}[2]{{
      color{main}
      begin{tabularx}{0.6textwidth}{X r}
      (#1) & [#2]
      end{tabularx}
      }}

      newenvironment{tightemize}{vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}{end{itemize}vspace{-topsep}}


      begin{document}

      pagestyle{empty}
      fontfb=''[cmr10]''
      setlength{titlewidth}{454pt}

      begin{center} % <======================================================
      %{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
      {Huge {color{headings} Sumanth } color{main}Umesh} \
      color{gray}
      Pre-Final Year B.Tech, Electrical Engineering\
      Indian Institute of Technology Jodhpur\
      sumanth.2@iitj.ac.in|+91-9632878570
      end{center} % <========================================================
      sepline
      vspace{-topsep}

      begin{minipage}[t]{0.33linewidth}

      raggedright

      %Education

      sectiontitle{Education}\[2mm]
      mainline{B.Tech in Electrical Engineering}\
      institute{Indian Institute of Technology, Jodhpur}\
      gpa{GPA}{9.33/10.0}{Expected 2020}\[2mm]

      mainline{Higher Secondary (KSEEB)}\
      institute{VVS GJ PU College, Mysore}\
      gpa{Percentage}{96.3%}{2014-15}\[2mm]

      mainline{Secondary (CBSE)}\
      institute{Atomic Engery Central School, Mysore}\
      gpa{GPA}{10.0/10.0}{2012-13}newline\

      %Technical Skills

      sectiontitle{Technical Skills}\[2mm]
      mainline{Programming Language}\
      C++ textbullet{} MATLAB\[0.5mm]
      mainline{Hardware Description Language}\
      Verilog\[0.5mm]
      mainline{Simulation Software}\
      Simulink textbullet{} SPICE\[0.5mm]
      mainline{Micrcontroller Programming}\
      PIC textbullet{} Arduino textbullet{} Embedded Cnewline\

      %Coursework

      sectiontitle{Coursework}\[2mm]
      Computer Architecture\
      Microprocessors and Microcontrollers \
      Digital Logic and Design \
      Physics of Semiconductor Devices \
      Analog Electronics \
      Communication Systems \
      Signals and Systems \
      Electromagnetic Theory \
      Circuit Theory \
      Probability, Statistics and Random Processes \
      Complex Analysis and Differential Equation \
      Linear Algerbra and Calculus\

      end{minipage}%

      hfill

      begin{minipage}[t]{0.6textwidth}

      sectiontitle{Projects}\[2mm]
      mainline{Automated Farm Security System}\
      guiduration{Self-Project}{Sep 2017 - Mar 2018}


      end{minipage}

      end{document}


      you get the wished result:



      enter image description here






      share|improve this answer




























        0












        0








        0







        Because I do not have your font Lato I simply deleted this font in the following MWE.



        The error you made is to use command centering like this:



        centering{ 
        {fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
        color{gray}
        Pre-Final Year B.Tech, Electrical Engineering\
        Indian Institute of Technology Jodhpur\
        sumanth.2@iitj.ac.in|+91-9632878570
        }


        Command centering is not prepared to take an parameter. So you can choose to use



        {centering ...}


        to allow centering only in the part of text inside {...} or you can use environment center instead:



        begin{center} % <======================================================
        %{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
        {Huge {color{headings} Sumanth } color{main}Umesh} \
        color{gray}
        Pre-Final Year B.Tech, Electrical Engineering\
        Indian Institute of Technology Jodhpur\
        sumanth.2@iitj.ac.in|+91-9632878570
        end{center} % <========================================================


        With the following MWE



        documentclass{article}

        usepackage[hmargin=1.25cm, vmargin=0.7cm]{geometry}
        usepackage[usenames,dvipsnames]{xcolor}
        usepackage{titlesec}
        usepackage{ragged2e}
        usepackage[absolute]{textpos}
        usepackage[UKenglish]{babel}
        usepackage[UKenglish]{isodate}
        usepackage{fontspec,xltxtra,xunicode}

        %usepackage[utf8]{inputenc}
        usepackage{color,soul}
        usepackage{tabularx}
        usepackage{hyperref} % <===============================================

        definecolor{headings}{HTML}{E74C3C}
        definecolor{gray}{HTML}{808B96}
        definecolor{sepline}{HTML}{E74C3C}
        definecolor{main}{HTML}{17202A}
        %setmainfont[Path = fonts/lato/]{Lato-Reg.ttf} % <=====================
        %setmainfont{Lato-Reg.ttf} % <=========================================

        %horizontal line seaparator
        newlength{seplinewidth}
        newlength{seplinesep}
        setlength{seplinewidth}{0.5mm}
        setlength{seplinesep}{2mm}
        newcommand*{sepline}{%
        par
        vspace{dimexprseplinesep+.5parskip}%
        cleadersvbox{%
        begingroup % because of color
        color{sepline}%
        hrule widthlinewidth heightseplinewidth
        endgroup
        }vskipseplinewidth
        vspace{dimexprseplinesep-.5parskip}%
        }

        %underline
        setul{0.5ex}{0.2ex}
        setulcolor{sepline}

        setlength{textfloatsep}{0.1cm}
        addtolength{parskip}{-0.5mm}

        %title formats
        %newcommand{sectiontitle}[1]{{color{headings} fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Large ul{#1}}}
        %newcommand{mainline}[1]{{color{main} fontspec[Path = fonts/lato/]{Lato-Bol.ttf}#1}}
        newcommand{sectiontitle}[1]{{color{headings} Large ul{#1}}} % <====
        newcommand{mainline}[1]{{color{main} #1}} % <========================
        newcommand{institute}[1]{{color{main} #1}}
        newcommand{gpa}[3]{color{gray} #1 : #2 | #3}
        newcommand{guiduration}[2]{{
        color{main}
        begin{tabularx}{0.6textwidth}{X r}
        (#1) & [#2]
        end{tabularx}
        }}

        newenvironment{tightemize}{vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}{end{itemize}vspace{-topsep}}


        begin{document}

        pagestyle{empty}
        fontfb=''[cmr10]''
        setlength{titlewidth}{454pt}

        begin{center} % <======================================================
        %{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
        {Huge {color{headings} Sumanth } color{main}Umesh} \
        color{gray}
        Pre-Final Year B.Tech, Electrical Engineering\
        Indian Institute of Technology Jodhpur\
        sumanth.2@iitj.ac.in|+91-9632878570
        end{center} % <========================================================
        sepline
        vspace{-topsep}

        begin{minipage}[t]{0.33linewidth}

        raggedright

        %Education

        sectiontitle{Education}\[2mm]
        mainline{B.Tech in Electrical Engineering}\
        institute{Indian Institute of Technology, Jodhpur}\
        gpa{GPA}{9.33/10.0}{Expected 2020}\[2mm]

        mainline{Higher Secondary (KSEEB)}\
        institute{VVS GJ PU College, Mysore}\
        gpa{Percentage}{96.3%}{2014-15}\[2mm]

        mainline{Secondary (CBSE)}\
        institute{Atomic Engery Central School, Mysore}\
        gpa{GPA}{10.0/10.0}{2012-13}newline\

        %Technical Skills

        sectiontitle{Technical Skills}\[2mm]
        mainline{Programming Language}\
        C++ textbullet{} MATLAB\[0.5mm]
        mainline{Hardware Description Language}\
        Verilog\[0.5mm]
        mainline{Simulation Software}\
        Simulink textbullet{} SPICE\[0.5mm]
        mainline{Micrcontroller Programming}\
        PIC textbullet{} Arduino textbullet{} Embedded Cnewline\

        %Coursework

        sectiontitle{Coursework}\[2mm]
        Computer Architecture\
        Microprocessors and Microcontrollers \
        Digital Logic and Design \
        Physics of Semiconductor Devices \
        Analog Electronics \
        Communication Systems \
        Signals and Systems \
        Electromagnetic Theory \
        Circuit Theory \
        Probability, Statistics and Random Processes \
        Complex Analysis and Differential Equation \
        Linear Algerbra and Calculus\

        end{minipage}%

        hfill

        begin{minipage}[t]{0.6textwidth}

        sectiontitle{Projects}\[2mm]
        mainline{Automated Farm Security System}\
        guiduration{Self-Project}{Sep 2017 - Mar 2018}


        end{minipage}

        end{document}


        you get the wished result:



        enter image description here






        share|improve this answer















        Because I do not have your font Lato I simply deleted this font in the following MWE.



        The error you made is to use command centering like this:



        centering{ 
        {fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
        color{gray}
        Pre-Final Year B.Tech, Electrical Engineering\
        Indian Institute of Technology Jodhpur\
        sumanth.2@iitj.ac.in|+91-9632878570
        }


        Command centering is not prepared to take an parameter. So you can choose to use



        {centering ...}


        to allow centering only in the part of text inside {...} or you can use environment center instead:



        begin{center} % <======================================================
        %{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
        {Huge {color{headings} Sumanth } color{main}Umesh} \
        color{gray}
        Pre-Final Year B.Tech, Electrical Engineering\
        Indian Institute of Technology Jodhpur\
        sumanth.2@iitj.ac.in|+91-9632878570
        end{center} % <========================================================


        With the following MWE



        documentclass{article}

        usepackage[hmargin=1.25cm, vmargin=0.7cm]{geometry}
        usepackage[usenames,dvipsnames]{xcolor}
        usepackage{titlesec}
        usepackage{ragged2e}
        usepackage[absolute]{textpos}
        usepackage[UKenglish]{babel}
        usepackage[UKenglish]{isodate}
        usepackage{fontspec,xltxtra,xunicode}

        %usepackage[utf8]{inputenc}
        usepackage{color,soul}
        usepackage{tabularx}
        usepackage{hyperref} % <===============================================

        definecolor{headings}{HTML}{E74C3C}
        definecolor{gray}{HTML}{808B96}
        definecolor{sepline}{HTML}{E74C3C}
        definecolor{main}{HTML}{17202A}
        %setmainfont[Path = fonts/lato/]{Lato-Reg.ttf} % <=====================
        %setmainfont{Lato-Reg.ttf} % <=========================================

        %horizontal line seaparator
        newlength{seplinewidth}
        newlength{seplinesep}
        setlength{seplinewidth}{0.5mm}
        setlength{seplinesep}{2mm}
        newcommand*{sepline}{%
        par
        vspace{dimexprseplinesep+.5parskip}%
        cleadersvbox{%
        begingroup % because of color
        color{sepline}%
        hrule widthlinewidth heightseplinewidth
        endgroup
        }vskipseplinewidth
        vspace{dimexprseplinesep-.5parskip}%
        }

        %underline
        setul{0.5ex}{0.2ex}
        setulcolor{sepline}

        setlength{textfloatsep}{0.1cm}
        addtolength{parskip}{-0.5mm}

        %title formats
        %newcommand{sectiontitle}[1]{{color{headings} fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Large ul{#1}}}
        %newcommand{mainline}[1]{{color{main} fontspec[Path = fonts/lato/]{Lato-Bol.ttf}#1}}
        newcommand{sectiontitle}[1]{{color{headings} Large ul{#1}}} % <====
        newcommand{mainline}[1]{{color{main} #1}} % <========================
        newcommand{institute}[1]{{color{main} #1}}
        newcommand{gpa}[3]{color{gray} #1 : #2 | #3}
        newcommand{guiduration}[2]{{
        color{main}
        begin{tabularx}{0.6textwidth}{X r}
        (#1) & [#2]
        end{tabularx}
        }}

        newenvironment{tightemize}{vspace{-topsep}begin{itemize}itemsep1pt parskip0pt parsep0pt}{end{itemize}vspace{-topsep}}


        begin{document}

        pagestyle{empty}
        fontfb=''[cmr10]''
        setlength{titlewidth}{454pt}

        begin{center} % <======================================================
        %{fontspec[Path = fonts/lato/]{Lato-Bol.ttf} Huge {color{headings} Sumanth } color{main}Umesh} \
        {Huge {color{headings} Sumanth } color{main}Umesh} \
        color{gray}
        Pre-Final Year B.Tech, Electrical Engineering\
        Indian Institute of Technology Jodhpur\
        sumanth.2@iitj.ac.in|+91-9632878570
        end{center} % <========================================================
        sepline
        vspace{-topsep}

        begin{minipage}[t]{0.33linewidth}

        raggedright

        %Education

        sectiontitle{Education}\[2mm]
        mainline{B.Tech in Electrical Engineering}\
        institute{Indian Institute of Technology, Jodhpur}\
        gpa{GPA}{9.33/10.0}{Expected 2020}\[2mm]

        mainline{Higher Secondary (KSEEB)}\
        institute{VVS GJ PU College, Mysore}\
        gpa{Percentage}{96.3%}{2014-15}\[2mm]

        mainline{Secondary (CBSE)}\
        institute{Atomic Engery Central School, Mysore}\
        gpa{GPA}{10.0/10.0}{2012-13}newline\

        %Technical Skills

        sectiontitle{Technical Skills}\[2mm]
        mainline{Programming Language}\
        C++ textbullet{} MATLAB\[0.5mm]
        mainline{Hardware Description Language}\
        Verilog\[0.5mm]
        mainline{Simulation Software}\
        Simulink textbullet{} SPICE\[0.5mm]
        mainline{Micrcontroller Programming}\
        PIC textbullet{} Arduino textbullet{} Embedded Cnewline\

        %Coursework

        sectiontitle{Coursework}\[2mm]
        Computer Architecture\
        Microprocessors and Microcontrollers \
        Digital Logic and Design \
        Physics of Semiconductor Devices \
        Analog Electronics \
        Communication Systems \
        Signals and Systems \
        Electromagnetic Theory \
        Circuit Theory \
        Probability, Statistics and Random Processes \
        Complex Analysis and Differential Equation \
        Linear Algerbra and Calculus\

        end{minipage}%

        hfill

        begin{minipage}[t]{0.6textwidth}

        sectiontitle{Projects}\[2mm]
        mainline{Automated Farm Security System}\
        guiduration{Self-Project}{Sep 2017 - Mar 2018}


        end{minipage}

        end{document}


        you get the wished result:



        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 19 '18 at 2:29

























        answered Oct 27 '18 at 2:32









        KurtKurt

        41.4k950164




        41.4k950164






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f447069%2fminipage-in-a-two-column-cv-appears-in-the-center-than-towards-the-left%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

            Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

            How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...