Help with justification of running text

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












This is my class file:



NeedsTeXFormatLaTeX2e
ProvidesClassArponcv[28/9/2018 custom CV class]
LoadClassarticle

usepackage[scaled=1.05,proportional,lightcondensed]zlmtt
renewcommand*familydefaultttdefault
usepackage[T1]fontenc

newcommanddatedsection[2]%%
addvspace3ex%%
noindentmakebox[0pt][l]rule[-3pt]textwidth0.4pt%%
Largescshapettfamilybfseries#1hspacefill#2paraddvspace2ex


newcommanddatedsubsection[2]%%
addvspace1ex%%
noindentlargescshapettfamilybfseries#1hspacefill#2paraddvspace1ex

newcommandinformation[2]%%
noindentnormalsizescshapettfamily#1hspacefill#2paraddvspace5pt


This is my .tex file.



documentclassArponcv
begindocument
datedsectionEducation
datedsubsectionBachelor of Science2015-Now
informationDepartment of Nuclear Engineering, informationUniversity of Dhaka,
Dhaka, Bangladesh
informationCurrent CGPA (Up to 6th Semester): 3.72
datedsubsectionHigher Secondary Certificate2014
informationSt. Joseph Higher Secondary School, Dhaka, Bangladesh
informationGPA: 5.00 out of 5.00
datedsubsectionSecondary School Certificate2012
informationSt. Joseph Higher Secondary School, Dhaka, Bangladesh
informationGPA: 5.00 out of 5.00

datedsectionStandardized Tests
datedsubsectionGraduate Record Examination (GRE)2018
informationTotal- 329. Quantitative Reasoning: 170, Verbal Reasoning: 159
informationAnalytical Writing Analysis: 5.0
datedsubsectionTest Of English as a Foreign Language (TOEFL)2018
informationTotal: 111. Reading: 29, Listening: 29, Speaking: 27, Writing: 26

datedsectionResearch Interests

datedsectionResearch Experience
datedsubsectionUndergraduate ThesisSept 2018-Now
informationTitle: Computer code development for steady-state neutronics analysis of a novel reactor core.
informationDescription: I am currently working on developing a computer code to numerically approximate the steady-state neutronics of a novel reactor core.
datedsubsectionUndergraduate ProjectSept 2017-March 2018
informationTitle: Demonstration of axial neutron flux distribution in a hypothetical reactor core employing control pellets (control material in pellet form).
informationDescription: I demonstrated an evenly balanced axial flux distribution that can be generated if hypothetical control pellets (control material in pellet form) are used instead of regular single-piece control rods. Regular control rods generate uneven axial flux distribution when partially inserted.

datedsectionIndustrial Attachment
datedsubsectionInstitute of ElectronicsMarch 2018-April 2018
informationAtomic Energy Research Establishment (AERE), Savar, Dhaka, Bangladesh. A facility of Bangladesh Atomic Energy Commission (BAEC)

datedsectionPrizes, Awards and Grants
datedsubsection

datedsectionWork Experience
datedsubsectionAdministrative Experience??
datedsubsectionTeaching Experience??

datedsectionVolunteer Work

datedsectionComputer and Programming Skills

enddocument


I want to define the information command, which is defined in the class file, in such a way that whatever I write in the .tex file under information comes out fully justified.



Currently it gives some outputs as justified, and some outputs as left aligned.



For illustration:



The way the title and descriptions of research experiences came out is satisfactory.



enter image description here



But the description of the industrial attachment isn't justified. Or maybe it is justified to a different margin.



enter image description here



How can I remedy this situation?










share|improve this question









New contributor




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



















  • Are you referring to the fact that the word "Bangladesh" near the top of the second page isn't hyphenated and hence protrudes into the right-hand margin? If so, try adding the instruction hyphenationbang-la-desh in the preamble.
    – Mico
    1 hour ago






  • 1




    unrelated to the typesetting, but in the class file the date is in the wrong format 28/9/2018 should be 2018/09/28 or 2018-09-28 (yyy-mm-dd) otherwise any date comparisons will not work.
    – David Carlisle
    38 mins ago











  • Off-topic: (i) The directive noident doesn't take an argument; (ii) The font you're using doesn't feature a small-caps varietal, hence scshape is simply ignored.
    – Mico
    30 mins ago














up vote
2
down vote

favorite












This is my class file:



NeedsTeXFormatLaTeX2e
ProvidesClassArponcv[28/9/2018 custom CV class]
LoadClassarticle

usepackage[scaled=1.05,proportional,lightcondensed]zlmtt
renewcommand*familydefaultttdefault
usepackage[T1]fontenc

newcommanddatedsection[2]%%
addvspace3ex%%
noindentmakebox[0pt][l]rule[-3pt]textwidth0.4pt%%
Largescshapettfamilybfseries#1hspacefill#2paraddvspace2ex


newcommanddatedsubsection[2]%%
addvspace1ex%%
noindentlargescshapettfamilybfseries#1hspacefill#2paraddvspace1ex

newcommandinformation[2]%%
noindentnormalsizescshapettfamily#1hspacefill#2paraddvspace5pt


This is my .tex file.



documentclassArponcv
begindocument
datedsectionEducation
datedsubsectionBachelor of Science2015-Now
informationDepartment of Nuclear Engineering, informationUniversity of Dhaka,
Dhaka, Bangladesh
informationCurrent CGPA (Up to 6th Semester): 3.72
datedsubsectionHigher Secondary Certificate2014
informationSt. Joseph Higher Secondary School, Dhaka, Bangladesh
informationGPA: 5.00 out of 5.00
datedsubsectionSecondary School Certificate2012
informationSt. Joseph Higher Secondary School, Dhaka, Bangladesh
informationGPA: 5.00 out of 5.00

datedsectionStandardized Tests
datedsubsectionGraduate Record Examination (GRE)2018
informationTotal- 329. Quantitative Reasoning: 170, Verbal Reasoning: 159
informationAnalytical Writing Analysis: 5.0
datedsubsectionTest Of English as a Foreign Language (TOEFL)2018
informationTotal: 111. Reading: 29, Listening: 29, Speaking: 27, Writing: 26

datedsectionResearch Interests

datedsectionResearch Experience
datedsubsectionUndergraduate ThesisSept 2018-Now
informationTitle: Computer code development for steady-state neutronics analysis of a novel reactor core.
informationDescription: I am currently working on developing a computer code to numerically approximate the steady-state neutronics of a novel reactor core.
datedsubsectionUndergraduate ProjectSept 2017-March 2018
informationTitle: Demonstration of axial neutron flux distribution in a hypothetical reactor core employing control pellets (control material in pellet form).
informationDescription: I demonstrated an evenly balanced axial flux distribution that can be generated if hypothetical control pellets (control material in pellet form) are used instead of regular single-piece control rods. Regular control rods generate uneven axial flux distribution when partially inserted.

datedsectionIndustrial Attachment
datedsubsectionInstitute of ElectronicsMarch 2018-April 2018
informationAtomic Energy Research Establishment (AERE), Savar, Dhaka, Bangladesh. A facility of Bangladesh Atomic Energy Commission (BAEC)

datedsectionPrizes, Awards and Grants
datedsubsection

datedsectionWork Experience
datedsubsectionAdministrative Experience??
datedsubsectionTeaching Experience??

datedsectionVolunteer Work

datedsectionComputer and Programming Skills

enddocument


I want to define the information command, which is defined in the class file, in such a way that whatever I write in the .tex file under information comes out fully justified.



Currently it gives some outputs as justified, and some outputs as left aligned.



For illustration:



The way the title and descriptions of research experiences came out is satisfactory.



enter image description here



But the description of the industrial attachment isn't justified. Or maybe it is justified to a different margin.



enter image description here



How can I remedy this situation?










share|improve this question









New contributor




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



















  • Are you referring to the fact that the word "Bangladesh" near the top of the second page isn't hyphenated and hence protrudes into the right-hand margin? If so, try adding the instruction hyphenationbang-la-desh in the preamble.
    – Mico
    1 hour ago






  • 1




    unrelated to the typesetting, but in the class file the date is in the wrong format 28/9/2018 should be 2018/09/28 or 2018-09-28 (yyy-mm-dd) otherwise any date comparisons will not work.
    – David Carlisle
    38 mins ago











  • Off-topic: (i) The directive noident doesn't take an argument; (ii) The font you're using doesn't feature a small-caps varietal, hence scshape is simply ignored.
    – Mico
    30 mins ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











This is my class file:



NeedsTeXFormatLaTeX2e
ProvidesClassArponcv[28/9/2018 custom CV class]
LoadClassarticle

usepackage[scaled=1.05,proportional,lightcondensed]zlmtt
renewcommand*familydefaultttdefault
usepackage[T1]fontenc

newcommanddatedsection[2]%%
addvspace3ex%%
noindentmakebox[0pt][l]rule[-3pt]textwidth0.4pt%%
Largescshapettfamilybfseries#1hspacefill#2paraddvspace2ex


newcommanddatedsubsection[2]%%
addvspace1ex%%
noindentlargescshapettfamilybfseries#1hspacefill#2paraddvspace1ex

newcommandinformation[2]%%
noindentnormalsizescshapettfamily#1hspacefill#2paraddvspace5pt


This is my .tex file.



documentclassArponcv
begindocument
datedsectionEducation
datedsubsectionBachelor of Science2015-Now
informationDepartment of Nuclear Engineering, informationUniversity of Dhaka,
Dhaka, Bangladesh
informationCurrent CGPA (Up to 6th Semester): 3.72
datedsubsectionHigher Secondary Certificate2014
informationSt. Joseph Higher Secondary School, Dhaka, Bangladesh
informationGPA: 5.00 out of 5.00
datedsubsectionSecondary School Certificate2012
informationSt. Joseph Higher Secondary School, Dhaka, Bangladesh
informationGPA: 5.00 out of 5.00

datedsectionStandardized Tests
datedsubsectionGraduate Record Examination (GRE)2018
informationTotal- 329. Quantitative Reasoning: 170, Verbal Reasoning: 159
informationAnalytical Writing Analysis: 5.0
datedsubsectionTest Of English as a Foreign Language (TOEFL)2018
informationTotal: 111. Reading: 29, Listening: 29, Speaking: 27, Writing: 26

datedsectionResearch Interests

datedsectionResearch Experience
datedsubsectionUndergraduate ThesisSept 2018-Now
informationTitle: Computer code development for steady-state neutronics analysis of a novel reactor core.
informationDescription: I am currently working on developing a computer code to numerically approximate the steady-state neutronics of a novel reactor core.
datedsubsectionUndergraduate ProjectSept 2017-March 2018
informationTitle: Demonstration of axial neutron flux distribution in a hypothetical reactor core employing control pellets (control material in pellet form).
informationDescription: I demonstrated an evenly balanced axial flux distribution that can be generated if hypothetical control pellets (control material in pellet form) are used instead of regular single-piece control rods. Regular control rods generate uneven axial flux distribution when partially inserted.

datedsectionIndustrial Attachment
datedsubsectionInstitute of ElectronicsMarch 2018-April 2018
informationAtomic Energy Research Establishment (AERE), Savar, Dhaka, Bangladesh. A facility of Bangladesh Atomic Energy Commission (BAEC)

datedsectionPrizes, Awards and Grants
datedsubsection

datedsectionWork Experience
datedsubsectionAdministrative Experience??
datedsubsectionTeaching Experience??

datedsectionVolunteer Work

datedsectionComputer and Programming Skills

enddocument


I want to define the information command, which is defined in the class file, in such a way that whatever I write in the .tex file under information comes out fully justified.



Currently it gives some outputs as justified, and some outputs as left aligned.



For illustration:



The way the title and descriptions of research experiences came out is satisfactory.



enter image description here



But the description of the industrial attachment isn't justified. Or maybe it is justified to a different margin.



enter image description here



How can I remedy this situation?










share|improve this question









New contributor




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











This is my class file:



NeedsTeXFormatLaTeX2e
ProvidesClassArponcv[28/9/2018 custom CV class]
LoadClassarticle

usepackage[scaled=1.05,proportional,lightcondensed]zlmtt
renewcommand*familydefaultttdefault
usepackage[T1]fontenc

newcommanddatedsection[2]%%
addvspace3ex%%
noindentmakebox[0pt][l]rule[-3pt]textwidth0.4pt%%
Largescshapettfamilybfseries#1hspacefill#2paraddvspace2ex


newcommanddatedsubsection[2]%%
addvspace1ex%%
noindentlargescshapettfamilybfseries#1hspacefill#2paraddvspace1ex

newcommandinformation[2]%%
noindentnormalsizescshapettfamily#1hspacefill#2paraddvspace5pt


This is my .tex file.



documentclassArponcv
begindocument
datedsectionEducation
datedsubsectionBachelor of Science2015-Now
informationDepartment of Nuclear Engineering, informationUniversity of Dhaka,
Dhaka, Bangladesh
informationCurrent CGPA (Up to 6th Semester): 3.72
datedsubsectionHigher Secondary Certificate2014
informationSt. Joseph Higher Secondary School, Dhaka, Bangladesh
informationGPA: 5.00 out of 5.00
datedsubsectionSecondary School Certificate2012
informationSt. Joseph Higher Secondary School, Dhaka, Bangladesh
informationGPA: 5.00 out of 5.00

datedsectionStandardized Tests
datedsubsectionGraduate Record Examination (GRE)2018
informationTotal- 329. Quantitative Reasoning: 170, Verbal Reasoning: 159
informationAnalytical Writing Analysis: 5.0
datedsubsectionTest Of English as a Foreign Language (TOEFL)2018
informationTotal: 111. Reading: 29, Listening: 29, Speaking: 27, Writing: 26

datedsectionResearch Interests

datedsectionResearch Experience
datedsubsectionUndergraduate ThesisSept 2018-Now
informationTitle: Computer code development for steady-state neutronics analysis of a novel reactor core.
informationDescription: I am currently working on developing a computer code to numerically approximate the steady-state neutronics of a novel reactor core.
datedsubsectionUndergraduate ProjectSept 2017-March 2018
informationTitle: Demonstration of axial neutron flux distribution in a hypothetical reactor core employing control pellets (control material in pellet form).
informationDescription: I demonstrated an evenly balanced axial flux distribution that can be generated if hypothetical control pellets (control material in pellet form) are used instead of regular single-piece control rods. Regular control rods generate uneven axial flux distribution when partially inserted.

datedsectionIndustrial Attachment
datedsubsectionInstitute of ElectronicsMarch 2018-April 2018
informationAtomic Energy Research Establishment (AERE), Savar, Dhaka, Bangladesh. A facility of Bangladesh Atomic Energy Commission (BAEC)

datedsectionPrizes, Awards and Grants
datedsubsection

datedsectionWork Experience
datedsubsectionAdministrative Experience??
datedsubsectionTeaching Experience??

datedsectionVolunteer Work

datedsectionComputer and Programming Skills

enddocument


I want to define the information command, which is defined in the class file, in such a way that whatever I write in the .tex file under information comes out fully justified.



Currently it gives some outputs as justified, and some outputs as left aligned.



For illustration:



The way the title and descriptions of research experiences came out is satisfactory.



enter image description here



But the description of the industrial attachment isn't justified. Or maybe it is justified to a different margin.



enter image description here



How can I remedy this situation?







horizontal-alignment formatting cv






share|improve this question









New contributor




Amit Hasan Arpon 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 question









New contributor




Amit Hasan Arpon 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 question




share|improve this question








edited 25 mins ago









Mico

264k30355732




264k30355732






New contributor




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









asked 2 hours ago









Amit Hasan Arpon

183




183




New contributor




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





New contributor





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






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











  • Are you referring to the fact that the word "Bangladesh" near the top of the second page isn't hyphenated and hence protrudes into the right-hand margin? If so, try adding the instruction hyphenationbang-la-desh in the preamble.
    – Mico
    1 hour ago






  • 1




    unrelated to the typesetting, but in the class file the date is in the wrong format 28/9/2018 should be 2018/09/28 or 2018-09-28 (yyy-mm-dd) otherwise any date comparisons will not work.
    – David Carlisle
    38 mins ago











  • Off-topic: (i) The directive noident doesn't take an argument; (ii) The font you're using doesn't feature a small-caps varietal, hence scshape is simply ignored.
    – Mico
    30 mins ago
















  • Are you referring to the fact that the word "Bangladesh" near the top of the second page isn't hyphenated and hence protrudes into the right-hand margin? If so, try adding the instruction hyphenationbang-la-desh in the preamble.
    – Mico
    1 hour ago






  • 1




    unrelated to the typesetting, but in the class file the date is in the wrong format 28/9/2018 should be 2018/09/28 or 2018-09-28 (yyy-mm-dd) otherwise any date comparisons will not work.
    – David Carlisle
    38 mins ago











  • Off-topic: (i) The directive noident doesn't take an argument; (ii) The font you're using doesn't feature a small-caps varietal, hence scshape is simply ignored.
    – Mico
    30 mins ago















Are you referring to the fact that the word "Bangladesh" near the top of the second page isn't hyphenated and hence protrudes into the right-hand margin? If so, try adding the instruction hyphenationbang-la-desh in the preamble.
– Mico
1 hour ago




Are you referring to the fact that the word "Bangladesh" near the top of the second page isn't hyphenated and hence protrudes into the right-hand margin? If so, try adding the instruction hyphenationbang-la-desh in the preamble.
– Mico
1 hour ago




1




1




unrelated to the typesetting, but in the class file the date is in the wrong format 28/9/2018 should be 2018/09/28 or 2018-09-28 (yyy-mm-dd) otherwise any date comparisons will not work.
– David Carlisle
38 mins ago





unrelated to the typesetting, but in the class file the date is in the wrong format 28/9/2018 should be 2018/09/28 or 2018-09-28 (yyy-mm-dd) otherwise any date comparisons will not work.
– David Carlisle
38 mins ago













Off-topic: (i) The directive noident doesn't take an argument; (ii) The font you're using doesn't feature a small-caps varietal, hence scshape is simply ignored.
– Mico
30 mins ago




Off-topic: (i) The directive noident doesn't take an argument; (ii) The font you're using doesn't feature a small-caps varietal, hence scshape is simply ignored.
– Mico
30 mins ago










2 Answers
2






active

oldest

votes

















up vote
2
down vote













What's happening is that LaTeX can't make a good choice about how to break the line. If it breaks before "Bangladesh", then there will be too much white space in the line: in other words, the line will be "underfull". You can see this by inserting a linebreak before "Bangladesh".



informationAtomic Energy Research Establishment (AERE), Savar, Dhaka,linebreak Bangladesh. A facility of Bangladesh Atomic Energy Commission (BAEC)


which will result in



enter image description here



If you're fine with that appearance, the story ends there.



Alternatively, you can try to reword your paragraph there so that LaTeX isn't forced into making this sort of decision.



I really don't know the importance of all the wording, but merely rearranging the information in that line as follows



informationAtomic Energy Research Establishment (AERE). A facility of Bangladesh Atomic Energy Commission (BAEC), Savar, Dhaka, Bangladesh. 


results in



enter image description here



Maybe this works for you, maybe it doesn't.



My personal bias is to say that in a resume, full justification looks bad. So many lines are potentially short. As a result, portions of the resume/cv look ragged right and others fully justified. Personally, I would stick with a ragged right approach throughout, but that's opinion, nothing more.



However, even in this case raggedright still results in the offending protrusion of "Bangladesh" into the right margin. Instead of linebreak, you could then use, newline. This gives the following result



enter image description here



Then there's always the option of changing the hyphenation rules for Bangladesh. Maybe something like hyphenationbangla-desh (or otherwise as you see fit). This results in



enter image description here






share|improve this answer





























    up vote
    1
    down vote













    I take it that you're mainly concerned with the fact that, in the section "Industrial Attachment", the word "Bangladesh" isn't hyphenated and thus sticks out into the right-hand margin.



    I can think of two remedies:



    • Inform LaTeX how to hyphenate the word "Bangladesh", by placing the instruction hyphenationbangla-desh in the preamble. Potential downside: Some people might object to hyphenating names of countries. (I'm not one of these people, but ...)


    • Simply drop the word "Bangladesh". Potential downside: The folks reading your cv might be unsure which city called "Dhaka" is being referred to. Honestly, if they really are unsure, they are in lots of trouble -- and you almost certainly don't want to work for them anyway...


    Whatever else you may do, please use -- ("en-dash") rather than just - ("simple or short dash") to connect date ranges. E.g., please write March 2018--April 2018, not March 2018-April 2018. The document contains four instances of where an en-dash should be used, at least in fine typography.



    enter image description here



    datedsectionIndustrial Attachment, Solution 1
    datedsubsectionInstitute of ElectronicsMarch 2018--April 2018
    informationAtomic Energy Research Establishment (AERE), Savar, Dhaka,
    Bangladesh. A facility of the Bangladesh Atomic Energy Commission (BAEC).


    datedsectionIndustrial Attachment, Solution 2
    datedsubsectionInstitute of ElectronicsMarch 2018--April 2018
    informationAtomic Energy Research Establishment (AERE), Savar, Dhaka.
    A facility of the Bangladesh Atomic Energy Commission (BAEC).





    share|improve this answer






















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "85"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );






      Amit Hasan Arpon is a new contributor. Be nice, and check out our Code of Conduct.









       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f453043%2fhelp-with-justification-of-running-text%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      2
      down vote













      What's happening is that LaTeX can't make a good choice about how to break the line. If it breaks before "Bangladesh", then there will be too much white space in the line: in other words, the line will be "underfull". You can see this by inserting a linebreak before "Bangladesh".



      informationAtomic Energy Research Establishment (AERE), Savar, Dhaka,linebreak Bangladesh. A facility of Bangladesh Atomic Energy Commission (BAEC)


      which will result in



      enter image description here



      If you're fine with that appearance, the story ends there.



      Alternatively, you can try to reword your paragraph there so that LaTeX isn't forced into making this sort of decision.



      I really don't know the importance of all the wording, but merely rearranging the information in that line as follows



      informationAtomic Energy Research Establishment (AERE). A facility of Bangladesh Atomic Energy Commission (BAEC), Savar, Dhaka, Bangladesh. 


      results in



      enter image description here



      Maybe this works for you, maybe it doesn't.



      My personal bias is to say that in a resume, full justification looks bad. So many lines are potentially short. As a result, portions of the resume/cv look ragged right and others fully justified. Personally, I would stick with a ragged right approach throughout, but that's opinion, nothing more.



      However, even in this case raggedright still results in the offending protrusion of "Bangladesh" into the right margin. Instead of linebreak, you could then use, newline. This gives the following result



      enter image description here



      Then there's always the option of changing the hyphenation rules for Bangladesh. Maybe something like hyphenationbangla-desh (or otherwise as you see fit). This results in



      enter image description here






      share|improve this answer


























        up vote
        2
        down vote













        What's happening is that LaTeX can't make a good choice about how to break the line. If it breaks before "Bangladesh", then there will be too much white space in the line: in other words, the line will be "underfull". You can see this by inserting a linebreak before "Bangladesh".



        informationAtomic Energy Research Establishment (AERE), Savar, Dhaka,linebreak Bangladesh. A facility of Bangladesh Atomic Energy Commission (BAEC)


        which will result in



        enter image description here



        If you're fine with that appearance, the story ends there.



        Alternatively, you can try to reword your paragraph there so that LaTeX isn't forced into making this sort of decision.



        I really don't know the importance of all the wording, but merely rearranging the information in that line as follows



        informationAtomic Energy Research Establishment (AERE). A facility of Bangladesh Atomic Energy Commission (BAEC), Savar, Dhaka, Bangladesh. 


        results in



        enter image description here



        Maybe this works for you, maybe it doesn't.



        My personal bias is to say that in a resume, full justification looks bad. So many lines are potentially short. As a result, portions of the resume/cv look ragged right and others fully justified. Personally, I would stick with a ragged right approach throughout, but that's opinion, nothing more.



        However, even in this case raggedright still results in the offending protrusion of "Bangladesh" into the right margin. Instead of linebreak, you could then use, newline. This gives the following result



        enter image description here



        Then there's always the option of changing the hyphenation rules for Bangladesh. Maybe something like hyphenationbangla-desh (or otherwise as you see fit). This results in



        enter image description here






        share|improve this answer
























          up vote
          2
          down vote










          up vote
          2
          down vote









          What's happening is that LaTeX can't make a good choice about how to break the line. If it breaks before "Bangladesh", then there will be too much white space in the line: in other words, the line will be "underfull". You can see this by inserting a linebreak before "Bangladesh".



          informationAtomic Energy Research Establishment (AERE), Savar, Dhaka,linebreak Bangladesh. A facility of Bangladesh Atomic Energy Commission (BAEC)


          which will result in



          enter image description here



          If you're fine with that appearance, the story ends there.



          Alternatively, you can try to reword your paragraph there so that LaTeX isn't forced into making this sort of decision.



          I really don't know the importance of all the wording, but merely rearranging the information in that line as follows



          informationAtomic Energy Research Establishment (AERE). A facility of Bangladesh Atomic Energy Commission (BAEC), Savar, Dhaka, Bangladesh. 


          results in



          enter image description here



          Maybe this works for you, maybe it doesn't.



          My personal bias is to say that in a resume, full justification looks bad. So many lines are potentially short. As a result, portions of the resume/cv look ragged right and others fully justified. Personally, I would stick with a ragged right approach throughout, but that's opinion, nothing more.



          However, even in this case raggedright still results in the offending protrusion of "Bangladesh" into the right margin. Instead of linebreak, you could then use, newline. This gives the following result



          enter image description here



          Then there's always the option of changing the hyphenation rules for Bangladesh. Maybe something like hyphenationbangla-desh (or otherwise as you see fit). This results in



          enter image description here






          share|improve this answer














          What's happening is that LaTeX can't make a good choice about how to break the line. If it breaks before "Bangladesh", then there will be too much white space in the line: in other words, the line will be "underfull". You can see this by inserting a linebreak before "Bangladesh".



          informationAtomic Energy Research Establishment (AERE), Savar, Dhaka,linebreak Bangladesh. A facility of Bangladesh Atomic Energy Commission (BAEC)


          which will result in



          enter image description here



          If you're fine with that appearance, the story ends there.



          Alternatively, you can try to reword your paragraph there so that LaTeX isn't forced into making this sort of decision.



          I really don't know the importance of all the wording, but merely rearranging the information in that line as follows



          informationAtomic Energy Research Establishment (AERE). A facility of Bangladesh Atomic Energy Commission (BAEC), Savar, Dhaka, Bangladesh. 


          results in



          enter image description here



          Maybe this works for you, maybe it doesn't.



          My personal bias is to say that in a resume, full justification looks bad. So many lines are potentially short. As a result, portions of the resume/cv look ragged right and others fully justified. Personally, I would stick with a ragged right approach throughout, but that's opinion, nothing more.



          However, even in this case raggedright still results in the offending protrusion of "Bangladesh" into the right margin. Instead of linebreak, you could then use, newline. This gives the following result



          enter image description here



          Then there's always the option of changing the hyphenation rules for Bangladesh. Maybe something like hyphenationbangla-desh (or otherwise as you see fit). This results in



          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 56 mins ago

























          answered 1 hour ago









          A.Ellett

          34.7k1063162




          34.7k1063162




















              up vote
              1
              down vote













              I take it that you're mainly concerned with the fact that, in the section "Industrial Attachment", the word "Bangladesh" isn't hyphenated and thus sticks out into the right-hand margin.



              I can think of two remedies:



              • Inform LaTeX how to hyphenate the word "Bangladesh", by placing the instruction hyphenationbangla-desh in the preamble. Potential downside: Some people might object to hyphenating names of countries. (I'm not one of these people, but ...)


              • Simply drop the word "Bangladesh". Potential downside: The folks reading your cv might be unsure which city called "Dhaka" is being referred to. Honestly, if they really are unsure, they are in lots of trouble -- and you almost certainly don't want to work for them anyway...


              Whatever else you may do, please use -- ("en-dash") rather than just - ("simple or short dash") to connect date ranges. E.g., please write March 2018--April 2018, not March 2018-April 2018. The document contains four instances of where an en-dash should be used, at least in fine typography.



              enter image description here



              datedsectionIndustrial Attachment, Solution 1
              datedsubsectionInstitute of ElectronicsMarch 2018--April 2018
              informationAtomic Energy Research Establishment (AERE), Savar, Dhaka,
              Bangladesh. A facility of the Bangladesh Atomic Energy Commission (BAEC).


              datedsectionIndustrial Attachment, Solution 2
              datedsubsectionInstitute of ElectronicsMarch 2018--April 2018
              informationAtomic Energy Research Establishment (AERE), Savar, Dhaka.
              A facility of the Bangladesh Atomic Energy Commission (BAEC).





              share|improve this answer


























                up vote
                1
                down vote













                I take it that you're mainly concerned with the fact that, in the section "Industrial Attachment", the word "Bangladesh" isn't hyphenated and thus sticks out into the right-hand margin.



                I can think of two remedies:



                • Inform LaTeX how to hyphenate the word "Bangladesh", by placing the instruction hyphenationbangla-desh in the preamble. Potential downside: Some people might object to hyphenating names of countries. (I'm not one of these people, but ...)


                • Simply drop the word "Bangladesh". Potential downside: The folks reading your cv might be unsure which city called "Dhaka" is being referred to. Honestly, if they really are unsure, they are in lots of trouble -- and you almost certainly don't want to work for them anyway...


                Whatever else you may do, please use -- ("en-dash") rather than just - ("simple or short dash") to connect date ranges. E.g., please write March 2018--April 2018, not March 2018-April 2018. The document contains four instances of where an en-dash should be used, at least in fine typography.



                enter image description here



                datedsectionIndustrial Attachment, Solution 1
                datedsubsectionInstitute of ElectronicsMarch 2018--April 2018
                informationAtomic Energy Research Establishment (AERE), Savar, Dhaka,
                Bangladesh. A facility of the Bangladesh Atomic Energy Commission (BAEC).


                datedsectionIndustrial Attachment, Solution 2
                datedsubsectionInstitute of ElectronicsMarch 2018--April 2018
                informationAtomic Energy Research Establishment (AERE), Savar, Dhaka.
                A facility of the Bangladesh Atomic Energy Commission (BAEC).





                share|improve this answer
























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  I take it that you're mainly concerned with the fact that, in the section "Industrial Attachment", the word "Bangladesh" isn't hyphenated and thus sticks out into the right-hand margin.



                  I can think of two remedies:



                  • Inform LaTeX how to hyphenate the word "Bangladesh", by placing the instruction hyphenationbangla-desh in the preamble. Potential downside: Some people might object to hyphenating names of countries. (I'm not one of these people, but ...)


                  • Simply drop the word "Bangladesh". Potential downside: The folks reading your cv might be unsure which city called "Dhaka" is being referred to. Honestly, if they really are unsure, they are in lots of trouble -- and you almost certainly don't want to work for them anyway...


                  Whatever else you may do, please use -- ("en-dash") rather than just - ("simple or short dash") to connect date ranges. E.g., please write March 2018--April 2018, not March 2018-April 2018. The document contains four instances of where an en-dash should be used, at least in fine typography.



                  enter image description here



                  datedsectionIndustrial Attachment, Solution 1
                  datedsubsectionInstitute of ElectronicsMarch 2018--April 2018
                  informationAtomic Energy Research Establishment (AERE), Savar, Dhaka,
                  Bangladesh. A facility of the Bangladesh Atomic Energy Commission (BAEC).


                  datedsectionIndustrial Attachment, Solution 2
                  datedsubsectionInstitute of ElectronicsMarch 2018--April 2018
                  informationAtomic Energy Research Establishment (AERE), Savar, Dhaka.
                  A facility of the Bangladesh Atomic Energy Commission (BAEC).





                  share|improve this answer














                  I take it that you're mainly concerned with the fact that, in the section "Industrial Attachment", the word "Bangladesh" isn't hyphenated and thus sticks out into the right-hand margin.



                  I can think of two remedies:



                  • Inform LaTeX how to hyphenate the word "Bangladesh", by placing the instruction hyphenationbangla-desh in the preamble. Potential downside: Some people might object to hyphenating names of countries. (I'm not one of these people, but ...)


                  • Simply drop the word "Bangladesh". Potential downside: The folks reading your cv might be unsure which city called "Dhaka" is being referred to. Honestly, if they really are unsure, they are in lots of trouble -- and you almost certainly don't want to work for them anyway...


                  Whatever else you may do, please use -- ("en-dash") rather than just - ("simple or short dash") to connect date ranges. E.g., please write March 2018--April 2018, not March 2018-April 2018. The document contains four instances of where an en-dash should be used, at least in fine typography.



                  enter image description here



                  datedsectionIndustrial Attachment, Solution 1
                  datedsubsectionInstitute of ElectronicsMarch 2018--April 2018
                  informationAtomic Energy Research Establishment (AERE), Savar, Dhaka,
                  Bangladesh. A facility of the Bangladesh Atomic Energy Commission (BAEC).


                  datedsectionIndustrial Attachment, Solution 2
                  datedsubsectionInstitute of ElectronicsMarch 2018--April 2018
                  informationAtomic Energy Research Establishment (AERE), Savar, Dhaka.
                  A facility of the Bangladesh Atomic Energy Commission (BAEC).






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 20 mins ago

























                  answered 37 mins ago









                  Mico

                  264k30355732




                  264k30355732




















                      Amit Hasan Arpon is a new contributor. Be nice, and check out our Code of Conduct.









                       

                      draft saved


                      draft discarded


















                      Amit Hasan Arpon is a new contributor. Be nice, and check out our Code of Conduct.












                      Amit Hasan Arpon is a new contributor. Be nice, and check out our Code of Conduct.











                      Amit Hasan Arpon is a new contributor. Be nice, and check out our Code of Conduct.













                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f453043%2fhelp-with-justification-of-running-text%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      What does second last employer means? [closed]

                      List of Gilmore Girls characters

                      One-line joke