Tag Info

Hot answers tagged

17

There is not much choice: There is no place for (DPPH) on the first line. If (DPPH) is put on the second line, the inter word spaces are too much for a pleasant result. In this case, package microtype helps (pdfTeX), because it adds more flexibility by allowing the letters to shrink or stretch a little. This helps to reduce the large inter word spaces in ...


7

There aren't enough places where Latex can adjust inter-word spacing. In these cases, I either rewrite or change textwidth, if your margin sizes aren't dictated by someone else. I've been using the simplemargins package for ages. Change \textwidth: \documentclass{article} \usepackage{simplemargins} \setleftmargin{1.75in} \setrightmargin{1.75in} ...


7

Here a partial solution Update: New solution this is (a new package baseline.sty) \NeedsTeXFormat{LaTeX2e}% \ProvidesPackage{baseline}% \edef\mtf@size{\f@size} \edef\mtf@baselineskip{\f@baselineskip} \renewcommand\normalsize{% \@setfontsize\normalsize\mtf@size\mtf@baselineskip \abovedisplayskip \mtf@baselineskip \abovedisplayshortskip ...


4

If you don't want to rewrite the text, use the sloppypar environment to relax the spacing rules for the paragraph. \documentclass{article} \begin{document} \begin{sloppypar} The substance used in this experiment is 1,1-diphenyl-2-picryl-hydrazyl (DPPH). This organic compound is a relatively stable free radical which has an unpaired valence electron at ...


4

The space you see is the topsep that is left just before a list. While the default value of this vertical space is too much or not is subjective, if you add more text in the second paragraph, things don't look that bad. However, the space can be controlled as you wish. For all list related customizations, I prefer the powerful enumitem, which provides many ...


3

In order to answer your question: No, I do not know any package which does this. But well... I do not know all of them. In any case, I would define my own custom commands which give you the flexibility to change your rules afterwards. Just imagine that your lector does not like the superscript version. With custom commands you can change that in a second. ...


3

The right answer IMHO for Overfull \hbox ... problems is microtype, but just for the record, specially if you are using xelatex (where the MWE of Heiko Oberdiek do not work), exactly the same ouput for this paragraph is obtained simply with \emergencystretch1em (or \setlength{\emergencystretch}{1em} for the purist): \documentclass{article} ...


2

I'd use align* environment. \begin{align*} y_{0}=\frac{\pm\sqrt{1-z^{2}}}{z} &\Longleftrightarrow y_{0}z=\pm\sqrt{1-z^{2}}\\ &\Longleftrightarrow y_{0}^{2}z^{2}=1-z^{2}\\ &\Longleftrightarrow (1+y_{0})z^{2}=1\\ &\Longleftrightarrow ...


2

You have another possibility with the mathtools package: it defines an \ArrowBetweenLines command which places by default an \Updownarrow between the lines of an alignat environment, on the left. There is a starred version which places it on the right. It accepts as an optional argument the symbol that will be used, and I took advantage of this feature to ...


2

You need to expand \TextA before feeding it to \textit: \expandafter\textit\expandafter{\TextA} If you like you can redefine \textit in such a way that it expands its argument one time first: \ExplSyntaxOn \cs_generate_variant:Nn \embrac_textit:nn {no} \RenewDocumentCommand \textit {sm} { \IfBooleanTF {#1} { \embrac_textit:no {*} {#2} }% ...


1

Untested as you don't provide working code, but for the second question \newenvironment{exercises}[1][Exercises] {\section*{\Hrulefill\quad% {\bfseries #1}\quad\Hrulefill}% \let\enumerate\exenumerate\let\endenumerate\endexenumerate} {} would let you say \begin{exercises} \item items with Exercises as title \end{exercises} or ...



Only top voted, non community-wiki answers of a minimum length are eligible