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











up vote
1
down vote

favorite












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 11 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 at 17:50

















up vote
1
down vote

favorite












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 11 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 at 17:50















up vote
1
down vote

favorite









up vote
1
down vote

favorite











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 at 2:34









Kurt

35k847158




35k847158










asked Aug 21 at 22:09









sumanth umesh

61




61





bumped to the homepage by Community 11 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 11 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 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 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 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 at 17:50












1 Answer
1






active

oldest

votes

















up vote
0
down vote













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








    up vote
    0
    down vote













    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



























      up vote
      0
      down vote













      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

























        up vote
        0
        down vote










        up vote
        0
        down vote









        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 at 2:29

























        answered Oct 27 at 2:32









        Kurt

        35k847158




        35k847158






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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

            Contact image not getting when fetch all contact list from iPhone by CNContact

            count number of partitions of a set with n elements into k subsets

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks