Is there a way to not italicize a word in a textit expression?

Is there a way to not italicize a word in a textit expression?



I would like to have a sentence like this:



In the Smith case, the Supreme Court held...



where the entire sentence is in italics except for "Smith" since it is the short name of a case. (You can imagine many other examples like this with movies, etc.)



I would like to be able to do something like:


textitIn the textitSmith case, the Supreme Court held...



However, the above code makes everything italics. Is there something I can do to make Smith non-italicized without resorting to the below code?


textitIn the Smith textitcase, the Supreme Court held...



The only problem I have with that piece of code is that it makes editing problematic if I decide that I'd rather have "Smith" at another place in the sentence.



I appreciate any and all help -- even if the help is simply that the solution I want does not exist.






Upright is the same of the font shape you want. textup.

– Sigur
Sep 17 '18 at 15:47


textup




2 Answers
2



That's exactly what emph does:


emph


documentclassarticle

begindocument

emphIn the emphSmith case, the Supreme Court helddots

enddocument



or, if you prefer to manually control that, then you can use textup:


textup


documentclassarticle

begindocument

textitIn the textupSmith case, the Supreme Court helddots

enddocument






Solution worked. Thank you! I wasn't aware of emph before and couldn't find the solution via a Google search.

– Mason Malone
Sep 17 '18 at 14:36


emph



I usually use:


textitThis is my text, but I want normalfont this to not be in italics.



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



But avoid



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



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)