Why is the minipage indented on the left?












8















I am trying to create a CV and for the heading information I am using a minipage to display my name and Curriculum Vitae inline with smaller text containing my contact information.



The code works fine, but I cannot figure out why the left edge of the minipage is indented further than the section heading and text and which come below it.



Any ideas and help would be very appreciate.



Here is the code:



%-------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%-------------------------------------------------------------------
documentclass[10pt]{article}
usepackage{array, xcolor, lipsum, bibentry}
usepackage[
paper=letterpaper,
includefoot, % Uncomment to put page number above margin
marginparwidth=1in, % Length of section titles
marginparsep=.05in, % Space between titles and text
margin=1in, % 1 inch margins
]{geometry}

usepackage{showframe}

% Shrink spacing around section headings
usepackage{titlesec}
titleformat*{section}{largebfseries}
titlespacingsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}

% Break tables across pages
usepackage{supertabular}

% Set column sizes and color
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.1225textwidth}}
newcolumntype{R}{p{0.81textwidth}}
newcolumntype{X}{>{raggedleft}p{0.05textwidth}}
newcolumntype{Y}{p{0.9textwidth}}

% Commands to simplify starting a table
newcommandVRule{color{lightgray}vrule width 0.5pt}
newcommandsmalltab{begin{supertabular}{L!{VRule}R}}
newcommandmedtab{begin{supertabular}{X!{VRule}Y}}
newcommandlongtab{begin{supertabular}{L!{VRule}R}}

begin{document}
%-------------------------------------------------------------------
% NAME AND CONTACT INFO
%-------------------------------------------------------------------

begin{minipage}[b]{0.65textwidth}
begin{flushleft}
Huge{textsc{Here is my name\}}
Large{Curriculum Vitae}
end{flushleft}
end{minipage}
begin{minipage}[b]{0.35textwidth}
small{Street Address\
City, State 12345\
emailaddress@gmail.com\
www.website.com\
1-555-555-5551}
end{minipage}

%-------------------------------------------------------------------
% EDUCATION
%-------------------------------------------------------------------
section*{Education}
smalltab
2011--present & PhD in Stuff, Very Awesome School.\[2.5pt]
2009--2011 & Masters in Stuff, Just OK School.\[2.5pt]
2004--2008 & Bachelors in Things, Relatively Awesome School.\
end{supertabular}

end{document}









share|improve this question

























  • a minipage is positioned line a letter so there is a paragraph indentation before the first and a word-space before the second. Note small large etc do not take an argument so the {} are superfluous.

    – David Carlisle
    Jan 5 '14 at 20:21








  • 1





    LaTeX doesn't care but using smalltab ... end{supertabular} totally obscures the environment nesting in your source which will most likely confuse any syntax highlighting in your editor (and any human readers of the source:-)

    – David Carlisle
    Jan 5 '14 at 20:25











  • Certainly confused me!

    – cfr
    Jan 5 '14 at 20:58











  • David, thank you very much for your comments and suggestions. Perhaps you can tell, this is my first LaTeX document... I will fix these things. I suppose I was doing the smalltab things limit the amount of typing (and also to get a hang on creating commands), but you're right, it obscures things a little.

    – double c
    Jan 5 '14 at 20:59
















8















I am trying to create a CV and for the heading information I am using a minipage to display my name and Curriculum Vitae inline with smaller text containing my contact information.



The code works fine, but I cannot figure out why the left edge of the minipage is indented further than the section heading and text and which come below it.



Any ideas and help would be very appreciate.



Here is the code:



%-------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%-------------------------------------------------------------------
documentclass[10pt]{article}
usepackage{array, xcolor, lipsum, bibentry}
usepackage[
paper=letterpaper,
includefoot, % Uncomment to put page number above margin
marginparwidth=1in, % Length of section titles
marginparsep=.05in, % Space between titles and text
margin=1in, % 1 inch margins
]{geometry}

usepackage{showframe}

% Shrink spacing around section headings
usepackage{titlesec}
titleformat*{section}{largebfseries}
titlespacingsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}

% Break tables across pages
usepackage{supertabular}

% Set column sizes and color
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.1225textwidth}}
newcolumntype{R}{p{0.81textwidth}}
newcolumntype{X}{>{raggedleft}p{0.05textwidth}}
newcolumntype{Y}{p{0.9textwidth}}

% Commands to simplify starting a table
newcommandVRule{color{lightgray}vrule width 0.5pt}
newcommandsmalltab{begin{supertabular}{L!{VRule}R}}
newcommandmedtab{begin{supertabular}{X!{VRule}Y}}
newcommandlongtab{begin{supertabular}{L!{VRule}R}}

begin{document}
%-------------------------------------------------------------------
% NAME AND CONTACT INFO
%-------------------------------------------------------------------

begin{minipage}[b]{0.65textwidth}
begin{flushleft}
Huge{textsc{Here is my name\}}
Large{Curriculum Vitae}
end{flushleft}
end{minipage}
begin{minipage}[b]{0.35textwidth}
small{Street Address\
City, State 12345\
emailaddress@gmail.com\
www.website.com\
1-555-555-5551}
end{minipage}

%-------------------------------------------------------------------
% EDUCATION
%-------------------------------------------------------------------
section*{Education}
smalltab
2011--present & PhD in Stuff, Very Awesome School.\[2.5pt]
2009--2011 & Masters in Stuff, Just OK School.\[2.5pt]
2004--2008 & Bachelors in Things, Relatively Awesome School.\
end{supertabular}

end{document}









share|improve this question

























  • a minipage is positioned line a letter so there is a paragraph indentation before the first and a word-space before the second. Note small large etc do not take an argument so the {} are superfluous.

    – David Carlisle
    Jan 5 '14 at 20:21








  • 1





    LaTeX doesn't care but using smalltab ... end{supertabular} totally obscures the environment nesting in your source which will most likely confuse any syntax highlighting in your editor (and any human readers of the source:-)

    – David Carlisle
    Jan 5 '14 at 20:25











  • Certainly confused me!

    – cfr
    Jan 5 '14 at 20:58











  • David, thank you very much for your comments and suggestions. Perhaps you can tell, this is my first LaTeX document... I will fix these things. I suppose I was doing the smalltab things limit the amount of typing (and also to get a hang on creating commands), but you're right, it obscures things a little.

    – double c
    Jan 5 '14 at 20:59














8












8








8


1






I am trying to create a CV and for the heading information I am using a minipage to display my name and Curriculum Vitae inline with smaller text containing my contact information.



The code works fine, but I cannot figure out why the left edge of the minipage is indented further than the section heading and text and which come below it.



Any ideas and help would be very appreciate.



Here is the code:



%-------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%-------------------------------------------------------------------
documentclass[10pt]{article}
usepackage{array, xcolor, lipsum, bibentry}
usepackage[
paper=letterpaper,
includefoot, % Uncomment to put page number above margin
marginparwidth=1in, % Length of section titles
marginparsep=.05in, % Space between titles and text
margin=1in, % 1 inch margins
]{geometry}

usepackage{showframe}

% Shrink spacing around section headings
usepackage{titlesec}
titleformat*{section}{largebfseries}
titlespacingsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}

% Break tables across pages
usepackage{supertabular}

% Set column sizes and color
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.1225textwidth}}
newcolumntype{R}{p{0.81textwidth}}
newcolumntype{X}{>{raggedleft}p{0.05textwidth}}
newcolumntype{Y}{p{0.9textwidth}}

% Commands to simplify starting a table
newcommandVRule{color{lightgray}vrule width 0.5pt}
newcommandsmalltab{begin{supertabular}{L!{VRule}R}}
newcommandmedtab{begin{supertabular}{X!{VRule}Y}}
newcommandlongtab{begin{supertabular}{L!{VRule}R}}

begin{document}
%-------------------------------------------------------------------
% NAME AND CONTACT INFO
%-------------------------------------------------------------------

begin{minipage}[b]{0.65textwidth}
begin{flushleft}
Huge{textsc{Here is my name\}}
Large{Curriculum Vitae}
end{flushleft}
end{minipage}
begin{minipage}[b]{0.35textwidth}
small{Street Address\
City, State 12345\
emailaddress@gmail.com\
www.website.com\
1-555-555-5551}
end{minipage}

%-------------------------------------------------------------------
% EDUCATION
%-------------------------------------------------------------------
section*{Education}
smalltab
2011--present & PhD in Stuff, Very Awesome School.\[2.5pt]
2009--2011 & Masters in Stuff, Just OK School.\[2.5pt]
2004--2008 & Bachelors in Things, Relatively Awesome School.\
end{supertabular}

end{document}









share|improve this question
















I am trying to create a CV and for the heading information I am using a minipage to display my name and Curriculum Vitae inline with smaller text containing my contact information.



The code works fine, but I cannot figure out why the left edge of the minipage is indented further than the section heading and text and which come below it.



Any ideas and help would be very appreciate.



Here is the code:



%-------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%-------------------------------------------------------------------
documentclass[10pt]{article}
usepackage{array, xcolor, lipsum, bibentry}
usepackage[
paper=letterpaper,
includefoot, % Uncomment to put page number above margin
marginparwidth=1in, % Length of section titles
marginparsep=.05in, % Space between titles and text
margin=1in, % 1 inch margins
]{geometry}

usepackage{showframe}

% Shrink spacing around section headings
usepackage{titlesec}
titleformat*{section}{largebfseries}
titlespacingsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}

% Break tables across pages
usepackage{supertabular}

% Set column sizes and color
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.1225textwidth}}
newcolumntype{R}{p{0.81textwidth}}
newcolumntype{X}{>{raggedleft}p{0.05textwidth}}
newcolumntype{Y}{p{0.9textwidth}}

% Commands to simplify starting a table
newcommandVRule{color{lightgray}vrule width 0.5pt}
newcommandsmalltab{begin{supertabular}{L!{VRule}R}}
newcommandmedtab{begin{supertabular}{X!{VRule}Y}}
newcommandlongtab{begin{supertabular}{L!{VRule}R}}

begin{document}
%-------------------------------------------------------------------
% NAME AND CONTACT INFO
%-------------------------------------------------------------------

begin{minipage}[b]{0.65textwidth}
begin{flushleft}
Huge{textsc{Here is my name\}}
Large{Curriculum Vitae}
end{flushleft}
end{minipage}
begin{minipage}[b]{0.35textwidth}
small{Street Address\
City, State 12345\
emailaddress@gmail.com\
www.website.com\
1-555-555-5551}
end{minipage}

%-------------------------------------------------------------------
% EDUCATION
%-------------------------------------------------------------------
section*{Education}
smalltab
2011--present & PhD in Stuff, Very Awesome School.\[2.5pt]
2009--2011 & Masters in Stuff, Just OK School.\[2.5pt]
2004--2008 & Bachelors in Things, Relatively Awesome School.\
end{supertabular}

end{document}






minipage






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 5 '14 at 20:23









azetina

16.6k1174161




16.6k1174161










asked Jan 5 '14 at 20:12









double cdouble c

43113




43113













  • a minipage is positioned line a letter so there is a paragraph indentation before the first and a word-space before the second. Note small large etc do not take an argument so the {} are superfluous.

    – David Carlisle
    Jan 5 '14 at 20:21








  • 1





    LaTeX doesn't care but using smalltab ... end{supertabular} totally obscures the environment nesting in your source which will most likely confuse any syntax highlighting in your editor (and any human readers of the source:-)

    – David Carlisle
    Jan 5 '14 at 20:25











  • Certainly confused me!

    – cfr
    Jan 5 '14 at 20:58











  • David, thank you very much for your comments and suggestions. Perhaps you can tell, this is my first LaTeX document... I will fix these things. I suppose I was doing the smalltab things limit the amount of typing (and also to get a hang on creating commands), but you're right, it obscures things a little.

    – double c
    Jan 5 '14 at 20:59



















  • a minipage is positioned line a letter so there is a paragraph indentation before the first and a word-space before the second. Note small large etc do not take an argument so the {} are superfluous.

    – David Carlisle
    Jan 5 '14 at 20:21








  • 1





    LaTeX doesn't care but using smalltab ... end{supertabular} totally obscures the environment nesting in your source which will most likely confuse any syntax highlighting in your editor (and any human readers of the source:-)

    – David Carlisle
    Jan 5 '14 at 20:25











  • Certainly confused me!

    – cfr
    Jan 5 '14 at 20:58











  • David, thank you very much for your comments and suggestions. Perhaps you can tell, this is my first LaTeX document... I will fix these things. I suppose I was doing the smalltab things limit the amount of typing (and also to get a hang on creating commands), but you're right, it obscures things a little.

    – double c
    Jan 5 '14 at 20:59

















a minipage is positioned line a letter so there is a paragraph indentation before the first and a word-space before the second. Note small large etc do not take an argument so the {} are superfluous.

– David Carlisle
Jan 5 '14 at 20:21







a minipage is positioned line a letter so there is a paragraph indentation before the first and a word-space before the second. Note small large etc do not take an argument so the {} are superfluous.

– David Carlisle
Jan 5 '14 at 20:21






1




1





LaTeX doesn't care but using smalltab ... end{supertabular} totally obscures the environment nesting in your source which will most likely confuse any syntax highlighting in your editor (and any human readers of the source:-)

– David Carlisle
Jan 5 '14 at 20:25





LaTeX doesn't care but using smalltab ... end{supertabular} totally obscures the environment nesting in your source which will most likely confuse any syntax highlighting in your editor (and any human readers of the source:-)

– David Carlisle
Jan 5 '14 at 20:25













Certainly confused me!

– cfr
Jan 5 '14 at 20:58





Certainly confused me!

– cfr
Jan 5 '14 at 20:58













David, thank you very much for your comments and suggestions. Perhaps you can tell, this is my first LaTeX document... I will fix these things. I suppose I was doing the smalltab things limit the amount of typing (and also to get a hang on creating commands), but you're right, it obscures things a little.

– double c
Jan 5 '14 at 20:59





David, thank you very much for your comments and suggestions. Perhaps you can tell, this is my first LaTeX document... I will fix these things. I suppose I was doing the smalltab things limit the amount of typing (and also to get a hang on creating commands), but you're right, it obscures things a little.

– double c
Jan 5 '14 at 20:59










2 Answers
2






active

oldest

votes


















6














This avoids the problem, I think:



%-------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%-------------------------------------------------------------------
documentclass[10pt]{article}
usepackage{array, xcolor, lipsum, bibentry}
usepackage[
paper=letterpaper,
includefoot, % Uncomment to put page number above margin
marginparwidth=1in, % Length of section titles
marginparsep=.05in, % Space between titles and text
margin=1in, % 1 inch margins
]{geometry}

usepackage{showframe}

% Shrink spacing around section headings
usepackage{titlesec}
titleformat*{section}{largebfseries}
titlespacingsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}

% Break tables across pages
usepackage{supertabular}

% Set column sizes and color
definecolor{lightgray}{gray}{0.8}
newcolumntype{L}{>{raggedleft}p{0.1225textwidth}}
newcolumntype{R}{p{0.81textwidth}}
newcolumntype{X}{>{raggedleft}p{0.05textwidth}}
newcolumntype{Y}{p{0.9textwidth}}

% Commands to simplify starting a table
newcommandVRule{color{lightgray}vrule width 0.5pt}
newcommandsmalltab{begin{supertabular}{L!{VRule}R}}
newcommandmedtab{begin{supertabular}{X!{VRule}Y}}
newcommandlongtab{begin{supertabular}{L!{VRule}R}}

begin{document}
%-------------------------------------------------------------------
% NAME AND CONTACT INFO
%-------------------------------------------------------------------

hspace*{-parindent}%
begin{minipage}[b]{0.65textwidth}
begin{flushleft}
Huge{textsc{Here is my name\}}
Large{Curriculum Vitae}
end{flushleft}
end{minipage}%
begin{minipage}[b]{0.35textwidth}
small{Street Address\
City, State 12345\
emailaddress@gmail.com\
www.website.com\
1-555-555-5551}
end{minipage}

%-------------------------------------------------------------------
% EDUCATION
%-------------------------------------------------------------------
section*{Education}
smalltab
2011--present & PhD in Stuff, Very Awesome School.\[2.5pt]
2009--2011 & Masters in Stuff, Just OK School.\[2.5pt]
2004--2008 & Bachelors in Things, Relatively Awesome School.\
end{supertabular}

end{document}


Basically, TeX is treating the first minipage as the beginning of a paragraph and indenting it accordingly. Putting in negative space equal to the paragraph indentation fixes the problem:



set minipage left with negative horizontal space equal to paragraph indent






share|improve this answer





















  • 8





    Would it not be simpler to use noindent?

    – Charles Staats
    Jan 5 '14 at 21:01











  • Thanks very much cfr for the explanation of what's going on and the fix!

    – double c
    Jan 5 '14 at 21:02











  • Charles, I just tried noindent and it worked as well. Thanks!

    – double c
    Jan 5 '14 at 21:07











  • Indeed, that also works. Whether it is simpler or not I don't know. For me, it is not but that's just habit. Are there any advantages to one method versus the other?

    – cfr
    Jan 5 '14 at 21:09






  • 2





    @cfr: As a general rule that does admit exceptions, I tend to assume that commands designed for a particular purpose (such as noindent for preventing indentation) will be the safest way to accomplish that purpose, since whoever wrote the command may have included subtleties that I would overlook. In this case, I would venture to say that noindent is more readable and has fewer potential typos than hspace*{-parindent}, but I don't know if there are any technical differences in how the two commands behave.

    – Charles Staats
    Jan 5 '14 at 21:51



















0














Use noindent:



noindent
begin{minipage}[b]{0.65textwidth}


Thanks Charles Staats






share|improve this answer








New contributor




user1338062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    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%2f152582%2fwhy-is-the-minipage-indented-on-the-left%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    This avoids the problem, I think:



    %-------------------------------------------------------------------
    % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
    %-------------------------------------------------------------------
    documentclass[10pt]{article}
    usepackage{array, xcolor, lipsum, bibentry}
    usepackage[
    paper=letterpaper,
    includefoot, % Uncomment to put page number above margin
    marginparwidth=1in, % Length of section titles
    marginparsep=.05in, % Space between titles and text
    margin=1in, % 1 inch margins
    ]{geometry}

    usepackage{showframe}

    % Shrink spacing around section headings
    usepackage{titlesec}
    titleformat*{section}{largebfseries}
    titlespacingsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}

    % Break tables across pages
    usepackage{supertabular}

    % Set column sizes and color
    definecolor{lightgray}{gray}{0.8}
    newcolumntype{L}{>{raggedleft}p{0.1225textwidth}}
    newcolumntype{R}{p{0.81textwidth}}
    newcolumntype{X}{>{raggedleft}p{0.05textwidth}}
    newcolumntype{Y}{p{0.9textwidth}}

    % Commands to simplify starting a table
    newcommandVRule{color{lightgray}vrule width 0.5pt}
    newcommandsmalltab{begin{supertabular}{L!{VRule}R}}
    newcommandmedtab{begin{supertabular}{X!{VRule}Y}}
    newcommandlongtab{begin{supertabular}{L!{VRule}R}}

    begin{document}
    %-------------------------------------------------------------------
    % NAME AND CONTACT INFO
    %-------------------------------------------------------------------

    hspace*{-parindent}%
    begin{minipage}[b]{0.65textwidth}
    begin{flushleft}
    Huge{textsc{Here is my name\}}
    Large{Curriculum Vitae}
    end{flushleft}
    end{minipage}%
    begin{minipage}[b]{0.35textwidth}
    small{Street Address\
    City, State 12345\
    emailaddress@gmail.com\
    www.website.com\
    1-555-555-5551}
    end{minipage}

    %-------------------------------------------------------------------
    % EDUCATION
    %-------------------------------------------------------------------
    section*{Education}
    smalltab
    2011--present & PhD in Stuff, Very Awesome School.\[2.5pt]
    2009--2011 & Masters in Stuff, Just OK School.\[2.5pt]
    2004--2008 & Bachelors in Things, Relatively Awesome School.\
    end{supertabular}

    end{document}


    Basically, TeX is treating the first minipage as the beginning of a paragraph and indenting it accordingly. Putting in negative space equal to the paragraph indentation fixes the problem:



    set minipage left with negative horizontal space equal to paragraph indent






    share|improve this answer





















    • 8





      Would it not be simpler to use noindent?

      – Charles Staats
      Jan 5 '14 at 21:01











    • Thanks very much cfr for the explanation of what's going on and the fix!

      – double c
      Jan 5 '14 at 21:02











    • Charles, I just tried noindent and it worked as well. Thanks!

      – double c
      Jan 5 '14 at 21:07











    • Indeed, that also works. Whether it is simpler or not I don't know. For me, it is not but that's just habit. Are there any advantages to one method versus the other?

      – cfr
      Jan 5 '14 at 21:09






    • 2





      @cfr: As a general rule that does admit exceptions, I tend to assume that commands designed for a particular purpose (such as noindent for preventing indentation) will be the safest way to accomplish that purpose, since whoever wrote the command may have included subtleties that I would overlook. In this case, I would venture to say that noindent is more readable and has fewer potential typos than hspace*{-parindent}, but I don't know if there are any technical differences in how the two commands behave.

      – Charles Staats
      Jan 5 '14 at 21:51
















    6














    This avoids the problem, I think:



    %-------------------------------------------------------------------
    % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
    %-------------------------------------------------------------------
    documentclass[10pt]{article}
    usepackage{array, xcolor, lipsum, bibentry}
    usepackage[
    paper=letterpaper,
    includefoot, % Uncomment to put page number above margin
    marginparwidth=1in, % Length of section titles
    marginparsep=.05in, % Space between titles and text
    margin=1in, % 1 inch margins
    ]{geometry}

    usepackage{showframe}

    % Shrink spacing around section headings
    usepackage{titlesec}
    titleformat*{section}{largebfseries}
    titlespacingsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}

    % Break tables across pages
    usepackage{supertabular}

    % Set column sizes and color
    definecolor{lightgray}{gray}{0.8}
    newcolumntype{L}{>{raggedleft}p{0.1225textwidth}}
    newcolumntype{R}{p{0.81textwidth}}
    newcolumntype{X}{>{raggedleft}p{0.05textwidth}}
    newcolumntype{Y}{p{0.9textwidth}}

    % Commands to simplify starting a table
    newcommandVRule{color{lightgray}vrule width 0.5pt}
    newcommandsmalltab{begin{supertabular}{L!{VRule}R}}
    newcommandmedtab{begin{supertabular}{X!{VRule}Y}}
    newcommandlongtab{begin{supertabular}{L!{VRule}R}}

    begin{document}
    %-------------------------------------------------------------------
    % NAME AND CONTACT INFO
    %-------------------------------------------------------------------

    hspace*{-parindent}%
    begin{minipage}[b]{0.65textwidth}
    begin{flushleft}
    Huge{textsc{Here is my name\}}
    Large{Curriculum Vitae}
    end{flushleft}
    end{minipage}%
    begin{minipage}[b]{0.35textwidth}
    small{Street Address\
    City, State 12345\
    emailaddress@gmail.com\
    www.website.com\
    1-555-555-5551}
    end{minipage}

    %-------------------------------------------------------------------
    % EDUCATION
    %-------------------------------------------------------------------
    section*{Education}
    smalltab
    2011--present & PhD in Stuff, Very Awesome School.\[2.5pt]
    2009--2011 & Masters in Stuff, Just OK School.\[2.5pt]
    2004--2008 & Bachelors in Things, Relatively Awesome School.\
    end{supertabular}

    end{document}


    Basically, TeX is treating the first minipage as the beginning of a paragraph and indenting it accordingly. Putting in negative space equal to the paragraph indentation fixes the problem:



    set minipage left with negative horizontal space equal to paragraph indent






    share|improve this answer





















    • 8





      Would it not be simpler to use noindent?

      – Charles Staats
      Jan 5 '14 at 21:01











    • Thanks very much cfr for the explanation of what's going on and the fix!

      – double c
      Jan 5 '14 at 21:02











    • Charles, I just tried noindent and it worked as well. Thanks!

      – double c
      Jan 5 '14 at 21:07











    • Indeed, that also works. Whether it is simpler or not I don't know. For me, it is not but that's just habit. Are there any advantages to one method versus the other?

      – cfr
      Jan 5 '14 at 21:09






    • 2





      @cfr: As a general rule that does admit exceptions, I tend to assume that commands designed for a particular purpose (such as noindent for preventing indentation) will be the safest way to accomplish that purpose, since whoever wrote the command may have included subtleties that I would overlook. In this case, I would venture to say that noindent is more readable and has fewer potential typos than hspace*{-parindent}, but I don't know if there are any technical differences in how the two commands behave.

      – Charles Staats
      Jan 5 '14 at 21:51














    6












    6








    6







    This avoids the problem, I think:



    %-------------------------------------------------------------------
    % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
    %-------------------------------------------------------------------
    documentclass[10pt]{article}
    usepackage{array, xcolor, lipsum, bibentry}
    usepackage[
    paper=letterpaper,
    includefoot, % Uncomment to put page number above margin
    marginparwidth=1in, % Length of section titles
    marginparsep=.05in, % Space between titles and text
    margin=1in, % 1 inch margins
    ]{geometry}

    usepackage{showframe}

    % Shrink spacing around section headings
    usepackage{titlesec}
    titleformat*{section}{largebfseries}
    titlespacingsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}

    % Break tables across pages
    usepackage{supertabular}

    % Set column sizes and color
    definecolor{lightgray}{gray}{0.8}
    newcolumntype{L}{>{raggedleft}p{0.1225textwidth}}
    newcolumntype{R}{p{0.81textwidth}}
    newcolumntype{X}{>{raggedleft}p{0.05textwidth}}
    newcolumntype{Y}{p{0.9textwidth}}

    % Commands to simplify starting a table
    newcommandVRule{color{lightgray}vrule width 0.5pt}
    newcommandsmalltab{begin{supertabular}{L!{VRule}R}}
    newcommandmedtab{begin{supertabular}{X!{VRule}Y}}
    newcommandlongtab{begin{supertabular}{L!{VRule}R}}

    begin{document}
    %-------------------------------------------------------------------
    % NAME AND CONTACT INFO
    %-------------------------------------------------------------------

    hspace*{-parindent}%
    begin{minipage}[b]{0.65textwidth}
    begin{flushleft}
    Huge{textsc{Here is my name\}}
    Large{Curriculum Vitae}
    end{flushleft}
    end{minipage}%
    begin{minipage}[b]{0.35textwidth}
    small{Street Address\
    City, State 12345\
    emailaddress@gmail.com\
    www.website.com\
    1-555-555-5551}
    end{minipage}

    %-------------------------------------------------------------------
    % EDUCATION
    %-------------------------------------------------------------------
    section*{Education}
    smalltab
    2011--present & PhD in Stuff, Very Awesome School.\[2.5pt]
    2009--2011 & Masters in Stuff, Just OK School.\[2.5pt]
    2004--2008 & Bachelors in Things, Relatively Awesome School.\
    end{supertabular}

    end{document}


    Basically, TeX is treating the first minipage as the beginning of a paragraph and indenting it accordingly. Putting in negative space equal to the paragraph indentation fixes the problem:



    set minipage left with negative horizontal space equal to paragraph indent






    share|improve this answer















    This avoids the problem, I think:



    %-------------------------------------------------------------------
    % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
    %-------------------------------------------------------------------
    documentclass[10pt]{article}
    usepackage{array, xcolor, lipsum, bibentry}
    usepackage[
    paper=letterpaper,
    includefoot, % Uncomment to put page number above margin
    marginparwidth=1in, % Length of section titles
    marginparsep=.05in, % Space between titles and text
    margin=1in, % 1 inch margins
    ]{geometry}

    usepackage{showframe}

    % Shrink spacing around section headings
    usepackage{titlesec}
    titleformat*{section}{largebfseries}
    titlespacingsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}

    % Break tables across pages
    usepackage{supertabular}

    % Set column sizes and color
    definecolor{lightgray}{gray}{0.8}
    newcolumntype{L}{>{raggedleft}p{0.1225textwidth}}
    newcolumntype{R}{p{0.81textwidth}}
    newcolumntype{X}{>{raggedleft}p{0.05textwidth}}
    newcolumntype{Y}{p{0.9textwidth}}

    % Commands to simplify starting a table
    newcommandVRule{color{lightgray}vrule width 0.5pt}
    newcommandsmalltab{begin{supertabular}{L!{VRule}R}}
    newcommandmedtab{begin{supertabular}{X!{VRule}Y}}
    newcommandlongtab{begin{supertabular}{L!{VRule}R}}

    begin{document}
    %-------------------------------------------------------------------
    % NAME AND CONTACT INFO
    %-------------------------------------------------------------------

    hspace*{-parindent}%
    begin{minipage}[b]{0.65textwidth}
    begin{flushleft}
    Huge{textsc{Here is my name\}}
    Large{Curriculum Vitae}
    end{flushleft}
    end{minipage}%
    begin{minipage}[b]{0.35textwidth}
    small{Street Address\
    City, State 12345\
    emailaddress@gmail.com\
    www.website.com\
    1-555-555-5551}
    end{minipage}

    %-------------------------------------------------------------------
    % EDUCATION
    %-------------------------------------------------------------------
    section*{Education}
    smalltab
    2011--present & PhD in Stuff, Very Awesome School.\[2.5pt]
    2009--2011 & Masters in Stuff, Just OK School.\[2.5pt]
    2004--2008 & Bachelors in Things, Relatively Awesome School.\
    end{supertabular}

    end{document}


    Basically, TeX is treating the first minipage as the beginning of a paragraph and indenting it accordingly. Putting in negative space equal to the paragraph indentation fixes the problem:



    set minipage left with negative horizontal space equal to paragraph indent







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jan 5 '14 at 20:47

























    answered Jan 5 '14 at 20:23









    cfrcfr

    156k7187382




    156k7187382








    • 8





      Would it not be simpler to use noindent?

      – Charles Staats
      Jan 5 '14 at 21:01











    • Thanks very much cfr for the explanation of what's going on and the fix!

      – double c
      Jan 5 '14 at 21:02











    • Charles, I just tried noindent and it worked as well. Thanks!

      – double c
      Jan 5 '14 at 21:07











    • Indeed, that also works. Whether it is simpler or not I don't know. For me, it is not but that's just habit. Are there any advantages to one method versus the other?

      – cfr
      Jan 5 '14 at 21:09






    • 2





      @cfr: As a general rule that does admit exceptions, I tend to assume that commands designed for a particular purpose (such as noindent for preventing indentation) will be the safest way to accomplish that purpose, since whoever wrote the command may have included subtleties that I would overlook. In this case, I would venture to say that noindent is more readable and has fewer potential typos than hspace*{-parindent}, but I don't know if there are any technical differences in how the two commands behave.

      – Charles Staats
      Jan 5 '14 at 21:51














    • 8





      Would it not be simpler to use noindent?

      – Charles Staats
      Jan 5 '14 at 21:01











    • Thanks very much cfr for the explanation of what's going on and the fix!

      – double c
      Jan 5 '14 at 21:02











    • Charles, I just tried noindent and it worked as well. Thanks!

      – double c
      Jan 5 '14 at 21:07











    • Indeed, that also works. Whether it is simpler or not I don't know. For me, it is not but that's just habit. Are there any advantages to one method versus the other?

      – cfr
      Jan 5 '14 at 21:09






    • 2





      @cfr: As a general rule that does admit exceptions, I tend to assume that commands designed for a particular purpose (such as noindent for preventing indentation) will be the safest way to accomplish that purpose, since whoever wrote the command may have included subtleties that I would overlook. In this case, I would venture to say that noindent is more readable and has fewer potential typos than hspace*{-parindent}, but I don't know if there are any technical differences in how the two commands behave.

      – Charles Staats
      Jan 5 '14 at 21:51








    8




    8





    Would it not be simpler to use noindent?

    – Charles Staats
    Jan 5 '14 at 21:01





    Would it not be simpler to use noindent?

    – Charles Staats
    Jan 5 '14 at 21:01













    Thanks very much cfr for the explanation of what's going on and the fix!

    – double c
    Jan 5 '14 at 21:02





    Thanks very much cfr for the explanation of what's going on and the fix!

    – double c
    Jan 5 '14 at 21:02













    Charles, I just tried noindent and it worked as well. Thanks!

    – double c
    Jan 5 '14 at 21:07





    Charles, I just tried noindent and it worked as well. Thanks!

    – double c
    Jan 5 '14 at 21:07













    Indeed, that also works. Whether it is simpler or not I don't know. For me, it is not but that's just habit. Are there any advantages to one method versus the other?

    – cfr
    Jan 5 '14 at 21:09





    Indeed, that also works. Whether it is simpler or not I don't know. For me, it is not but that's just habit. Are there any advantages to one method versus the other?

    – cfr
    Jan 5 '14 at 21:09




    2




    2





    @cfr: As a general rule that does admit exceptions, I tend to assume that commands designed for a particular purpose (such as noindent for preventing indentation) will be the safest way to accomplish that purpose, since whoever wrote the command may have included subtleties that I would overlook. In this case, I would venture to say that noindent is more readable and has fewer potential typos than hspace*{-parindent}, but I don't know if there are any technical differences in how the two commands behave.

    – Charles Staats
    Jan 5 '14 at 21:51





    @cfr: As a general rule that does admit exceptions, I tend to assume that commands designed for a particular purpose (such as noindent for preventing indentation) will be the safest way to accomplish that purpose, since whoever wrote the command may have included subtleties that I would overlook. In this case, I would venture to say that noindent is more readable and has fewer potential typos than hspace*{-parindent}, but I don't know if there are any technical differences in how the two commands behave.

    – Charles Staats
    Jan 5 '14 at 21:51











    0














    Use noindent:



    noindent
    begin{minipage}[b]{0.65textwidth}


    Thanks Charles Staats






    share|improve this answer








    New contributor




    user1338062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      Use noindent:



      noindent
      begin{minipage}[b]{0.65textwidth}


      Thanks Charles Staats






      share|improve this answer








      New contributor




      user1338062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        Use noindent:



        noindent
        begin{minipage}[b]{0.65textwidth}


        Thanks Charles Staats






        share|improve this answer








        New contributor




        user1338062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Use noindent:



        noindent
        begin{minipage}[b]{0.65textwidth}


        Thanks Charles Staats







        share|improve this answer








        New contributor




        user1338062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        user1338062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 16 mins ago









        user1338062user1338062

        1011




        1011




        New contributor




        user1338062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        user1338062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        user1338062 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f152582%2fwhy-is-the-minipage-indented-on-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

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

            Calculate evaluation metrics using cross_val_predict sklearn

            Insert data from modal to MySQL (multiple modal on website)