I am not able to write bold text. Please help!












6














I am a beginner in LaTeX and I have been using Textstudio as my main LaTeX editor for several weeks. My problem is that i am not able to write any bold characters.



textbf will not work in this case.



I am sure there must be something in my code that is not allowing to write bold text.



Here you have my code



documentclass[12pt,a4paper]{article}
usepackage{tikz}
usepackage[top=2cm, bottom=2cm, outer=0cm, inner=0cm, left=1.5cm, right=1.5cm]{geometry}
usepackage{mathptmx}
usepackage{amsmath}
usepackage{color}


begin{document}

tikz[remember picture,overlay] node[opacity=0.9,inner sep=0pt] at (current page.center){includegraphics[width=paperwidth,height=paperheight]{lol.jpg}};
thispagestyle{empty}
newpage

begin{titlepage}

textnormal{}\\\\
hrule
{fontsize{50}{60}selectfont begin{center}
APARTHEID end{center}}
hrule
textnormal{}\\\\\

begin{center}
{LARGE An article on Racism}
end{center}


textnormal{}\\\\\\\\\\\\\

begin{center}
{Large Ramai Alejandria - 5I}
end{center}

thispagestyle{empty}

end{titlepage}

newpage

begin{titlepage}

textnormal{}\
begin{center}
{fontsize{35}{60}selectfont textbf{Table of Contents}}
end{center}


end{titlepage}


end{document}


Here you have a screenshot too



enter image description here



Please help me!



Thanks a lot










share|improve this question






















  • Welcome to TeX SX! What would you like to have bold?
    – Bernard
    Dec 14 at 19:44






  • 1




    Out of topic, but why would you need the package amsmath to write about apartheid?
    – sztruks
    Dec 14 at 19:46










  • Don't use usepackage{mathptmx} together with xelatex.
    – Ulrike Fischer
    Dec 14 at 19:46










  • what should i use instead?
    – alex108
    Dec 14 at 19:48






  • 1




    #David Carlisle I just wanted to create whitespace. Remember i am a beginner :)
    – alex108
    Dec 14 at 22:38
















6














I am a beginner in LaTeX and I have been using Textstudio as my main LaTeX editor for several weeks. My problem is that i am not able to write any bold characters.



textbf will not work in this case.



I am sure there must be something in my code that is not allowing to write bold text.



Here you have my code



documentclass[12pt,a4paper]{article}
usepackage{tikz}
usepackage[top=2cm, bottom=2cm, outer=0cm, inner=0cm, left=1.5cm, right=1.5cm]{geometry}
usepackage{mathptmx}
usepackage{amsmath}
usepackage{color}


begin{document}

tikz[remember picture,overlay] node[opacity=0.9,inner sep=0pt] at (current page.center){includegraphics[width=paperwidth,height=paperheight]{lol.jpg}};
thispagestyle{empty}
newpage

begin{titlepage}

textnormal{}\\\\
hrule
{fontsize{50}{60}selectfont begin{center}
APARTHEID end{center}}
hrule
textnormal{}\\\\\

begin{center}
{LARGE An article on Racism}
end{center}


textnormal{}\\\\\\\\\\\\\

begin{center}
{Large Ramai Alejandria - 5I}
end{center}

thispagestyle{empty}

end{titlepage}

newpage

begin{titlepage}

textnormal{}\
begin{center}
{fontsize{35}{60}selectfont textbf{Table of Contents}}
end{center}


end{titlepage}


end{document}


Here you have a screenshot too



enter image description here



Please help me!



Thanks a lot










share|improve this question






















  • Welcome to TeX SX! What would you like to have bold?
    – Bernard
    Dec 14 at 19:44






  • 1




    Out of topic, but why would you need the package amsmath to write about apartheid?
    – sztruks
    Dec 14 at 19:46










  • Don't use usepackage{mathptmx} together with xelatex.
    – Ulrike Fischer
    Dec 14 at 19:46










  • what should i use instead?
    – alex108
    Dec 14 at 19:48






  • 1




    #David Carlisle I just wanted to create whitespace. Remember i am a beginner :)
    – alex108
    Dec 14 at 22:38














6












6








6


0





I am a beginner in LaTeX and I have been using Textstudio as my main LaTeX editor for several weeks. My problem is that i am not able to write any bold characters.



textbf will not work in this case.



I am sure there must be something in my code that is not allowing to write bold text.



Here you have my code



documentclass[12pt,a4paper]{article}
usepackage{tikz}
usepackage[top=2cm, bottom=2cm, outer=0cm, inner=0cm, left=1.5cm, right=1.5cm]{geometry}
usepackage{mathptmx}
usepackage{amsmath}
usepackage{color}


begin{document}

tikz[remember picture,overlay] node[opacity=0.9,inner sep=0pt] at (current page.center){includegraphics[width=paperwidth,height=paperheight]{lol.jpg}};
thispagestyle{empty}
newpage

begin{titlepage}

textnormal{}\\\\
hrule
{fontsize{50}{60}selectfont begin{center}
APARTHEID end{center}}
hrule
textnormal{}\\\\\

begin{center}
{LARGE An article on Racism}
end{center}


textnormal{}\\\\\\\\\\\\\

begin{center}
{Large Ramai Alejandria - 5I}
end{center}

thispagestyle{empty}

end{titlepage}

newpage

begin{titlepage}

textnormal{}\
begin{center}
{fontsize{35}{60}selectfont textbf{Table of Contents}}
end{center}


end{titlepage}


end{document}


Here you have a screenshot too



enter image description here



Please help me!



Thanks a lot










share|improve this question













I am a beginner in LaTeX and I have been using Textstudio as my main LaTeX editor for several weeks. My problem is that i am not able to write any bold characters.



textbf will not work in this case.



I am sure there must be something in my code that is not allowing to write bold text.



Here you have my code



documentclass[12pt,a4paper]{article}
usepackage{tikz}
usepackage[top=2cm, bottom=2cm, outer=0cm, inner=0cm, left=1.5cm, right=1.5cm]{geometry}
usepackage{mathptmx}
usepackage{amsmath}
usepackage{color}


begin{document}

tikz[remember picture,overlay] node[opacity=0.9,inner sep=0pt] at (current page.center){includegraphics[width=paperwidth,height=paperheight]{lol.jpg}};
thispagestyle{empty}
newpage

begin{titlepage}

textnormal{}\\\\
hrule
{fontsize{50}{60}selectfont begin{center}
APARTHEID end{center}}
hrule
textnormal{}\\\\\

begin{center}
{LARGE An article on Racism}
end{center}


textnormal{}\\\\\\\\\\\\\

begin{center}
{Large Ramai Alejandria - 5I}
end{center}

thispagestyle{empty}

end{titlepage}

newpage

begin{titlepage}

textnormal{}\
begin{center}
{fontsize{35}{60}selectfont textbf{Table of Contents}}
end{center}


end{titlepage}


end{document}


Here you have a screenshot too



enter image description here



Please help me!



Thanks a lot







bold






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 14 at 19:41









alex108

312




312












  • Welcome to TeX SX! What would you like to have bold?
    – Bernard
    Dec 14 at 19:44






  • 1




    Out of topic, but why would you need the package amsmath to write about apartheid?
    – sztruks
    Dec 14 at 19:46










  • Don't use usepackage{mathptmx} together with xelatex.
    – Ulrike Fischer
    Dec 14 at 19:46










  • what should i use instead?
    – alex108
    Dec 14 at 19:48






  • 1




    #David Carlisle I just wanted to create whitespace. Remember i am a beginner :)
    – alex108
    Dec 14 at 22:38


















  • Welcome to TeX SX! What would you like to have bold?
    – Bernard
    Dec 14 at 19:44






  • 1




    Out of topic, but why would you need the package amsmath to write about apartheid?
    – sztruks
    Dec 14 at 19:46










  • Don't use usepackage{mathptmx} together with xelatex.
    – Ulrike Fischer
    Dec 14 at 19:46










  • what should i use instead?
    – alex108
    Dec 14 at 19:48






  • 1




    #David Carlisle I just wanted to create whitespace. Remember i am a beginner :)
    – alex108
    Dec 14 at 22:38
















Welcome to TeX SX! What would you like to have bold?
– Bernard
Dec 14 at 19:44




Welcome to TeX SX! What would you like to have bold?
– Bernard
Dec 14 at 19:44




1




1




Out of topic, but why would you need the package amsmath to write about apartheid?
– sztruks
Dec 14 at 19:46




Out of topic, but why would you need the package amsmath to write about apartheid?
– sztruks
Dec 14 at 19:46












Don't use usepackage{mathptmx} together with xelatex.
– Ulrike Fischer
Dec 14 at 19:46




Don't use usepackage{mathptmx} together with xelatex.
– Ulrike Fischer
Dec 14 at 19:46












what should i use instead?
– alex108
Dec 14 at 19:48




what should i use instead?
– alex108
Dec 14 at 19:48




1




1




#David Carlisle I just wanted to create whitespace. Remember i am a beginner :)
– alex108
Dec 14 at 22:38




#David Carlisle I just wanted to create whitespace. Remember i am a beginner :)
– alex108
Dec 14 at 22:38










1 Answer
1






active

oldest

votes


















7














Don't use usepackage{mathptmx} together with xelatex. The package is meant for pdflatex only. If you want a times like font use e.g.



usepackage{amsmath}
usepackage{unicode-math}
setmainfont{TeX Gyre Termes}
setmathfont{TeX Gyre Termes Math}





share|improve this answer





















  • Helpful Answer. Thank you! It works now
    – alex108
    Dec 14 at 20:09











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%2f464886%2fi-am-not-able-to-write-bold-text-please-help%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









7














Don't use usepackage{mathptmx} together with xelatex. The package is meant for pdflatex only. If you want a times like font use e.g.



usepackage{amsmath}
usepackage{unicode-math}
setmainfont{TeX Gyre Termes}
setmathfont{TeX Gyre Termes Math}





share|improve this answer





















  • Helpful Answer. Thank you! It works now
    – alex108
    Dec 14 at 20:09
















7














Don't use usepackage{mathptmx} together with xelatex. The package is meant for pdflatex only. If you want a times like font use e.g.



usepackage{amsmath}
usepackage{unicode-math}
setmainfont{TeX Gyre Termes}
setmathfont{TeX Gyre Termes Math}





share|improve this answer





















  • Helpful Answer. Thank you! It works now
    – alex108
    Dec 14 at 20:09














7












7








7






Don't use usepackage{mathptmx} together with xelatex. The package is meant for pdflatex only. If you want a times like font use e.g.



usepackage{amsmath}
usepackage{unicode-math}
setmainfont{TeX Gyre Termes}
setmathfont{TeX Gyre Termes Math}





share|improve this answer












Don't use usepackage{mathptmx} together with xelatex. The package is meant for pdflatex only. If you want a times like font use e.g.



usepackage{amsmath}
usepackage{unicode-math}
setmainfont{TeX Gyre Termes}
setmathfont{TeX Gyre Termes Math}






share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 14 at 19:59









Ulrike Fischer

186k7289669




186k7289669












  • Helpful Answer. Thank you! It works now
    – alex108
    Dec 14 at 20:09


















  • Helpful Answer. Thank you! It works now
    – alex108
    Dec 14 at 20:09
















Helpful Answer. Thank you! It works now
– alex108
Dec 14 at 20:09




Helpful Answer. Thank you! It works now
– alex108
Dec 14 at 20:09


















draft saved

draft discarded




















































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


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

But avoid



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

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


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





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


Please pay close attention to the following guidance:


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

But avoid



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

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


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




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464886%2fi-am-not-able-to-write-bold-text-please-help%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

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix