Minipage in a two column CV appears in the center than towards the left Announcing the arrival...
Why wasn't DOSKEY integrated with COMMAND.COM?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
Can a new player join a group only when a new campaign starts?
Circuit to "zoom in" on mV fluctuations of a DC signal?
What would be the ideal power source for a cybernetic eye?
Is the Standard Deduction better than Itemized when both are the same amount?
Why didn't Eitri join the fight?
How to convince students of the implication truth values?
Closed form of recurrent arithmetic series summation
Is it a good idea to use CNN to classify 1D signal?
When the Haste spell ends on a creature, do attackers have advantage against that creature?
What do you call a floor made of glass so you can see through the floor?
Do I really need recursive chmod to restrict access to a folder?
Dating a Former Employee
What causes the direction of lightning flashes?
What does this Jacques Hadamard quote mean?
Is this homebrew Lady of Pain warlock patron balanced?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
What is the meaning of the simile “quick as silk”?
How could we fake a moon landing now?
How come Sam didn't become Lord of Horn Hill?
How do I stop a creek from eroding my steep embankment?
Where are Serre’s lectures at Collège de France to be found?
An adverb for when you're not exaggerating
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
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}
`
horizontal-alignment xetex minipage cv
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I 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}
`
horizontal-alignment xetex minipage cv
bumped to the homepage by Community♦ 3 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 usecentering{...}
, but instead{centering ...}
, or better yetbegin{center} ... end{center}
. This should fix your problem. :-) I do not have your font familyLato
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
add a comment |
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}
`
horizontal-alignment xetex minipage cv
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}
`
horizontal-alignment xetex minipage cv
horizontal-alignment xetex minipage cv
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♦ 3 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♦ 3 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 usecentering{...}
, but instead{centering ...}
, or better yetbegin{center} ... end{center}
. This should fix your problem. :-) I do not have your font familyLato
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
add a comment |
You do not usecentering{...}
, but instead{centering ...}
, or better yetbegin{center} ... end{center}
. This should fix your problem. :-) I do not have your font familyLato
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
add a comment |
1 Answer
1
active
oldest
votes
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:
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%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
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:
add a comment |
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:
add a comment |
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:
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:
edited Nov 19 '18 at 2:29
answered Oct 27 '18 at 2:32
KurtKurt
41.4k950164
41.4k950164
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You do not use
centering{...}
, but instead{centering ...}
, or better yetbegin{center} ... end{center}
. This should fix your problem. :-) I do not have your font familyLato
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