Tag Info

New answers tagged


Use etoolbox and setspace and write in your preamble things like: \AtBeginEnvironment{mytheorem}{\singlespacing} or \BeforeBeginEnvironment{mytheorem}{\singlespacing} (not tested which one works — see the documentation of etoolbox). and restore the document global spacing with: \AtEndEnvironment{mytheorem}{\linespread{…}} or ...


\bf shouldn't really be used in latex probably \textbf{MEMBERSHIP} \vspace{-5pt} \rule{\textwidth}{1pt} does what you want although really such space and font commands should always be hidden in a sectioning macro so the document looks like \mysection{MEMBERSHIP}


You would use \setlist[mylist]{label=\textbullet,topsep=1ex,itemsep=1em,partopsep=.5ex,...} (no \setlength macros) and whatever you can find in the horizontal/vertical list spacing elements of enumitem.


Put \singlespacing before longtable and \doublespacing after if you want to return to that setting.


Here I put it in a \parbox. \documentclass{article} \usepackage{setspace} \usepackage{marginnote} \begin{document} \setstretch{1.25} \renewcommand{\a}{One Two Three Four Five } \newcommand{\newdef}[1]{\marginnote{\setstretch{.6}\parbox[t]{\marginparwidth}{\emph{#1}}}} \a\a\a\a\a\a\a\a\a\a on this line\newdef{spanning multiple lines we can try this} ...


Delete a spurious {} group that is reverting the change before the end of the note: \documentclass{article} \usepackage{setspace} \usepackage{marginnote} \begin{document} \setstretch{1.25} \renewcommand{\a}{One Two Three Four Five } \newcommand{\newdef}[2][0]{\marginnote{\setstretch{0.8}\emph{#2}}[#1\baselineskip]} ...


At least with your MWE you can solve it by setting lineskip to zero (without having to set a higher baselineskip as suggested in another comment). \documentclass[10pt]{book} \usepackage{blindtext} \usepackage{eledmac} \usepackage{eledpar} \setlength{\lineskip}{0pt}%<======== here \begin{document} \begin{pages} \begin{Leftside} \beginnumbering ...


Use the build in stuff from memoir. Thus drop titlesec and use \linespread{1.5} \setaftersecskip{1sp} I'd even use something else than linespread, just cannot remember the name of that memoir macro


You can do something very similar to Can I redefine a command to contain itself? \documentclass{article} \usepackage{blindtext} \usepackage{letltxmacro} \begin{document} \blindtext \footnote{\blindtext} \LetLtxMacro{\niekasFootnote}{\footnote} \makeatletter \renewcommand{\footnote}[1]{\niekasFootnote{\def\baselinestretch{1.25}\@currsize#1}} \makeatother ...


(Aside: I updated/simplified significantly after the OP indicated the method he/she uses to change the default line spacing of the document as well as the packages needed to make the code compilable.) I have several suggestions: Since you're using the setspace package and the instruction \onehalfspacing to change the default line spacing for the document ...

Top 50 recent answers are included