I have no idea where it goes wrong. IS&T Contributions I use \setstretch {1. Then you use. The command in the setspace package is setstretch{value}. Hot Network Questions What's. It does increase line spacing in tabular environments as well, which is what I want. The syntax for this command is setstretch {baselinestretch} Horizontal space: Horizontal space is automatically flexible in LaTeX so that LaTeX can achieve justification. 5} If you want your line-spacing calculation to be based on that of Microsoft Word, then you should know that in MS Word “single line spacing” depends on the typeface/font. latex aipsamp % 2) bibtex aipsamp % 3) latex aipsamp % 4) latex aipsamp % % Use this file as a source of example code for your aip document. The second issue relates to the lipsum [] material commonly used in MWEs. 655}. The latter, that is. usepackage{setspace} setstretch{1. you will need to manually add more space between the. lim_ {x ightarrow 0}How to put an arabic title in the abstract. 2. How do I insert a blank space in LaTeX? Horizontal blank spaces hspace{1cm} Inserts a horizontal space whose length is 1cm. my entire preambule. I attempted to use the setspace package with the command setstretch, but this only seems to work in the case where the stretch factor is >1, so I. The. 1em,parsep=0em,partopsep=0em} \setlist*[itemize]{first=\vspace{\baselineskip}\setstretch{1}\vspace{-\baselineskip}} % This undesirably affects the spacing before the list \begin{document} \def. Otherwise, if a. 5}, where the number after. It is a command, not a length, and does not take effect until a font change happens, so set the scale factor like this: enewcommand {aselinestretch} {1. Viewed 19k times. LaTeX forum ⇒ Text Formatting ⇒ line spacing Information and discussion about LaTeX's general text formatting features (e. It only takes a minute to sign up. 5} So you can out comment whatever command you want to choose, either setspace or baselinestretch. 数字越高,请求越强烈。. 3. The aim is to put an equation inside the block and use the block as a highlighter for this equation. 8} setlengthparsep{1ex} setlengthitemsep{1ex}} item Item one item Item two item Item three item Four score. The analogous of the \hspace command for vertical spacing is, of course, called \vspace. I have a long document. Improve this question. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. I've been experimenting a little and in the end, satisfying solution is that I've declared a negative lineskiplimit for the whole doc (because I have many arabic terms inline with latin text and want those lines too with equal spacing) and then have corrected too tight spacing using package setspace (setstretch {1. Introduction. 14. 5} % That just does body text -- if you want to expand *everything*, % including footnotes and tables, use this instead: % enewcommand{aselinestretch}{1. If someone (LaTeX team) can enlighten me as to the % general rule, please do! It would be very pleasant if setspace. LaTeX vspace 命令添加垂直空间。 空格的长度可以用 LaTeX 理解的任何术语表示,即点、英寸等。您可以使用 vspace 命令添加负空格和正空格。 vspace 命令通常用于在文档的段落、节或其他元素之间添加空格。 它还可用于调整页面上元素的位置,例如表格或图形。to use upper case for the section titles: If you don't want to use the titlesec package, you can redefine the section command, as implemented in article. In the code below, the bibliography is typeset in the smaller font footnotesize. Otherwise the type of tabular is determined by the type key (default tabular). 1em,itemsep=. 1 Answer. So you could fix it by defining @currsize yourself, such as by. 本文の書き方 LaTeX文書の文書クラスとそのオプション、プリアンブルを設定したら、次は文書の本文を書きます。本文は、「¥begin{document}」でdocument環境の始まりを宣言し、「¥end{document}」で終わりを宣言した間に入れます。文書クラスの指定には「コマンド」を使いましたが、本文には「環境. Here's an example code: The result is, to my taste, to much spacing between the text "Let z1 and z2. %%% %%% GT: Sat 28 Sep 1996: Added call to %%% setspace@size in setstretch, as suggested %%% by David Hull %%% on Wed 24 July 1996. 7} (or some appropriate value) before the % egin{document} command. How do I get MS Word style single line spacing in LaTeX? I tried singlespacing, setstretch {1} and linespread {1} but the line-spacing stays too wide. Table of content. 1 À propos de ce document. Posts: 2 Joined: Mon May 06, 2013 8:12 am setstretch after the abstract Postby aredonda » Mon May 06, 2013 8:25 am Hi there, I'm using setstretch but I would. % Set up the document documentclass [a4paper, 11pt, oneside] {Thesis} % Use the "Thesis" style,. 3} which increases the baseline skip of a 1. author {Name1} affil {Affiliation1} author {Name2a} author {Name2b} affil {Affiliation 2} (any number of authors can precede an affil command, that will refer to that group of authors). I think you can also move all the style declarations to the preamble, and there is no need to repeat them. Sign up to join this community. sty % were suited for document font sizes other than 10, 11 and 12 pt. 0} immediately after AtBeginEnvironment{longtable}{small, single-spacing will be in force automatically for all longtable environments. ; Inserting linespread{1. Synopsis: stretch { number } Produces a rubber length with zero natural length and number times fill units of stretchability (see Lengths ). 5} in the document's scope results in a line spacing of 1. Viewed 11k times. The algorithmic environment is not a floating environment, you have to use the algorithm wrapper environment. The ewline commands can be removed once the correct keywords are used. See the LaTeX manual or LaTeX Companion for explanation. 35 times the original line width). You can play with th keys of enumitem, and if you want to change line spacing within item, use setstretch: documentclass [11pt,BCOR8mm,final,a4paper] {scrbook} usepackage {enumitem, setspace, lipsum} egin {document} lipsum [11] egin {itemize} [nosep] item Christopher Columbus was born in. the best practice, and recommended, method of using LaTeX packages such as setspace and parskip which provide options and user-level commands to change the spacing of your LaTeX documents;; use of low-level TeX/LaTeX parameter. In the example and also in your code the par (or equivalent blank line) is found when. sty. – PascalVKooten. And better remove this flushleft environment, just type aggedright at the beginning if you don't want full. If you want to increase row spacing uniformly in a multiline group of equations without having to type [vertical spacing] at each line break, you can use setstretch (from the setspace package) at the beginning of such an environment. 655} is doublespaced and setstretch {1. This article explores two methods of making changes to various aspects of paragraph spacing: . ewcommand{\setstretch}[1]{% \def\baselinestretch{#1}% \@currsize} % GT: Sat 28 Sep 1996: spacing commands and environments modified to % use \setstretch instead of \baselinestretch. enskip, quad, qquad leave a horizontal space of respectively half an em, one em and two ems. This works fine if I don't have a sub-list: However, if there is a sub-list, the item following the sub-list would not be stretched. Thelanguagemodulesofthispackagearemadepossiblethankstothefollowing contributors: AnderZarketa-Astigarraga(Basque);AugustoRitterStoffel,MateusAraújo,Gus-Changing default width of blocks in LaTeX Beamer. 5}. How to set all titles levels of a document following strict. 5}. The chosen packages (not all are presented in the MWE) is specifically used for obtaining, 1. I know this is being "too particular", but my teacher has a strict requirement and noticed that my spacing is off. This happens with both inline vertical bars and. Note that it's necessary to . sty % were suited for document font sizes other than 10, 11 and 12 pt. 1. Is there a drawback to using setstretch outside the preamble? 5 vbox append: Insufficient line spacing between last line of first vbox, and first line of second vbox. the setstretch{baselinestretch amount} command sets a custom spacing (via changes to aselinestretch)—it can also be used in the document preamble; the environments singlespace , singlespace* onehalfspace and doublespace allow line spacing to be changed for selected parts of the document’s text;TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. The number can be positive or negative. The imsart class is for submissions to some journal, so you shouldn't monkey with the spacing they want. %Using BibTeX with article document class. \onehalfspacing. `Curiouser and curiouser!' cried Alice. appendix. I have tried to write clearpage instead, but this gives the same answer. LaTex Error: File ´' not found. 35 to your needs) \setstretch {1. I am writing a thesis in APA style. 26. 1. Simply setting vspace {-. 基本距离: 在Latex中有个值aselineskip 表示基本距离。每个字号都对应一个自然的基本距离(为字号的1. your a) is simular or better part of headheight. The supplied code specifies a 12pt font on a 0pt baseline, the linespread multiplies the requested baseline spacing by 1. \documentclass{book} \usepackage. The current plans include: Software choice , Including the installation. the main text to have a line spacing of 1. However, it interacts poorly with some graphics packages. Note, though, that even if you've set. \setstretch {<factor>} Alternatively, the package options singlespacing, onehalfspacing or doublespacing may be used in place of the first three. It's pretty marginal squeezing that expression to fit. Columns of fixed width w can be obtained with p {w} where w is length. Check that the command is spelled correctly. I've performed a number of side by side tests with MS Word and LaTeX to determine which arguments of setstretch correspond to the 1. 25} before your \begin {document} command, and after the \usepackage {setspace} line. My original code is: \documentclass{article} \usepackage{mathtools} \usepackage{setspace} \setstretch{1. Trong LaTeX, các đoạn văn thường được căn đều hai bên,. 2. 241 for 12pt basesize. Sorted by: 5. There's also the spacing environment which takes a mandatory argument for specification of individual spacing beside the predefined values. % % GT: Sat 28 Sep 1996: No, I don’t know understand the line spacing % algorithms! If someone (LaTeX team) can enlighten me as to the % general rule, please do! I don't know this `normal' base line skip from Word, but if it's anywhere near to what LaTeX uses, you should be closer with \linespread{1. The default %% spacing with this style option is single spacing. If it run it without the caption package it works fine. If a different spacing is required then %% the setstretch {baselinestretch} command can be used in the %% preamble to set the baselinestretch appropriately. e. Sorted by: 1. LaTeX Basics. Other pages:lmargin=4cm,rmargin=2cm,tmargin=2cm,bmargin=2cm. – egreg. It only takes a minute to sign up. enewcommand {abstractname} {RL {ملخص}} egin {abstract} setstretch {1. \doublespacing does not correspond to \setstretch{2}, as you can see in the package code, probably because of optical effects which depend on the font size. Option clash with setspace. 2}} But it does nothing useful and generates this warning. or, speaking of setspace package, setstretch{1. The heading was still double spaced in the table of contents but the heading spacing is good in the pdf and the rest of the text was double spaced. But, as for verbatim I need it to be 1. \setstretch {1} and set the distance between items to 10pt through the command. 可选的 zero-to-four 是一个整数,可以让您软化请求。. I am not satisfy how it manages the alignement of each new lines. Type H <return> for immediate help. If you insert the directive setstretch{1. But beware things are not as simple as one might think. \setstretch alters this number by the <factor>, that is a. Improve this question. I have a problem with my LaTeX document. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. As you can see in the picture (red lines), spaces within footnotes is present. For one-and-a-half spacing, instead use the command. different spacing is required then thesetstretch{baselinestretch} com-mand can be used in the preamble to set the baselinestretch appropriately. This uses the LaTeX kernel @tfor to iterate over all the letters and add hfill between them. usepackage {setspace} %singlespacing onehalfspacing %doublespacing %setstretch{1. Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Home; Questions; Tags; Users. As such, you have the frametitle command as a hook that you can use to initiate a different line spacing for the remainder of the frame. The first suggestion works fine. The length of the space can be expressed in any terms that LaTeX understands, i. it should use. The default %% spacing with this style option is single spacing. I'm very confused because I've just follow the instruction of algorithmicx. The journal specifications are that main text be double-spaced ( linespread {2}) and that references and figure/table captions be single-spaced ( linespread {1} ). different spacing is required then thesetstretch{baselinestretch} com-mand can be used in the preamble to set the baselinestretch appropriately. % places where LaTeX uses a strut. onehalfspacing. Furthermore, the package provides the following. This command is robust (see protect ). setstretch{1. which is followed by. gitignore","path":". Please provide a snapshot of your setting or MWE of what you are compiling. onehalfspacing. Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Home; Questions; Tags; Users. I think you can also move all the style declarations to the preamble, and there is no need to repeat them. Undefined control sequence. Run LaTeX here. It is not clear what is the intention of everydisplay{setstretch{1. there are errors in the code: at the end of rows remove the & before \\. The. And, instead of using the traditional linespread {<factor>} to modify the spacing, use setstretch {<factor>} from. I'm using setstretch but I would like it to affect the whole text BUT the abstract. % Normal, bottom of the page, footnotes. Sign up to join this community. This can be listed here. usepackage {setspace} setstretch {2} but nothing happens. ) An example follows. Text would start at the very top of the page. t. usepackage[nodisplayskipstretch]{setspace} setstretch{1. 8} enewcommand{. We. 5} right before egin{abstract}. 0in, inner=1. Im trying to alter the colors on my section, subsection and subsubsection. Rmd"), output_file = "report. Now to the answer: The combination of . 1. 1 Answer. Note that I have 2 x ewpage in the code below, but it's only the second of these that creates a problem. Introduction. The right way to influence the interline distance is via aselinestretch. the setstretch{baselinestretch amount} command sets a custom spacing (via changes to aselinestretch)—it can also be used in the document preamble; the environments singlespace , singlespace* onehalfspace and doublespace allow line spacing to be changed for selected parts of the document’s text;2. Three commands, singlespacing, onehalfspacing, and doublespacing, are for use in the preamble to set the overall spacing for the document. ! LaTeX Error: Missing egin{document}. It either prints out the wrong page number of the chapter of my sources (Version 1), or it jumps to the wrong page (Version 2). Standard LaTeX defines only aselineskip and parskip. Btw. 0pt. 5 in both main text and footnotes, which is undesirable. linespread{1. i'm using the package arabtex to write in arabic , but for the abstract the output is not printed correctly the command that i've used is. cls class defines a "nomenclature" environment as follows: % Nomenclature environment ewbox empbox In order to change the font size for a specific frame, you can issue any one of the font size changing commands at the beginning of the frame (similar to what is discussed in How do I use a particular font for a small section of text in my document?For an interest in the specific size you're after, see What point (pt) font size are Large etc. `Curiouser and curiouser!' cried Alice. You can manually set the title that appears in the TOC like this: section [Lorem ipsum] {Lorem ipsum dolor sit amet} That way the "long title" appears on the section itself, and the "short title" appears in the TOC. Footnotes, figures, and tables will still be singlespaced, however. 3. Your code has \par in the wrong place: it should be before the closing brace limiting the scope of \tiny. Sorted by: 3. It only takes a minute to sign up. The. 7cm This paragraph has an extra indentation at the left. Could you please tell me how to format it. cls file of our university which is supposed to be 1. I use setstretch {1. enewcommand {arraystretch} {2. ewcommand {\reporttitle} { this is a title with a lot of text bla bla bla} i used. I'm using LaTeX for the first time, and I'm having trouble showing the pseudocode for an algorithm. % Use the file aiptemplate. 0} each time a pmatrix* environment is started up. You don't need setspace for this application. 5} This stretching also applies inside my lstlisting, but I would like to have a different spacing only inside the snippets WITHOUT setting the spacing before and after the listing, e. The indentation of the other paragraphs can be changed with this command. Now your problem is caused because the template uses listofpublications wrong. Since the issue is aggravated by the OP's use of setstretch{2}, instead of adding white space at the top, I would have suggested "cancelling" the unwanted vertical space below the figure by setting setlength{elowcaptionskip}{-aselineskip} addtolength{elowcaptionskip}{1. It does increase line spacing in tabular environments as well, which is what I want. Vertical LaTeX space. setstretchコマンド \setstretch {1. Package options include singlespacing, onehalfspacing, and doublespacing. I tried several ways for doublespacing in Beamer but none of them are working. For instance, ‘doublespacing’ does not mean setstretch{2} , but a value which slightly varies with the font size, and is approximately 1. 5ex} (i. – PascalVKooten. @Iris - Good news: the presence of the directive setstretch{1. For one-and-a-half. 3. gitignore. Improve this question. Export (png, jpg, gif, svg, pdf) and save & share with note system10 Follow us on Social Media twitter facebook Setstretch Latex Package With Code Examples With this article, we’ll look at some examples of Setstretch Latex. In particular, here, Sometimes equations are aligned with respect to the begin, other times (in the same environment), with respect to the end of the line. Horizontal spacing commands. your g) is simular to marginparsep. 75 extwidth} {CCCC} Only as a matter of style, I made also some other changes ( removing vertical. Change line spacing in Authblk. %Undefined control sequence. How can I change the spacing in my LaTeX document? sepackage{setspace} after your documentclass line. Your code has par in the wrong place: it should be before the closing brace limiting the scope of iny. sty % were suited for document font sizes other than 10, 11 and 12 pt. 5. } or X if you use packages tabularx or ltablex) where is collected text, i e. dmath and alignement. Here's a solution that uses a parbox for the material to the right of the &= particles; that way, LaTeX can insert linebreaks as needed. As an alternative to suggestion (a) above, consider (a') keep using the align* environments but start using alignment. LaTeX single spaces text by default. Sign up to join this community. 5 spacing. It is a powerful, and free, way to generate professional, dynamic documents. 5 line spacing in both regular text and footnotes. 在水平模式时,它会在当前行结束时空出指定高度的空白。例如vspace 1mm等价于vadjust{vskip 1mm vskip 0pt} (vskip 0pt是必要的,否则 emovelastskip可能会移除你设置的空白高度)In Figure X, on the other hand, the topic is positioned just above the mean value. LaTeX's Friends BibTeX, biblatex and biber MakeIndex, Nomenclature, Glossaries and Acronyms Conversion Tools Viewers for PDF, PS, and DVI XeTeX Others; LaTeX Distributions Decision Guidance MiKTeX and proTeXt TeX Live and MacTeX Others; LaTeX Editors Decision Guidance AUCTeX Kile LEd LyX Scientific Word/Workplace. 3} setcode {utf8} RL { في هذا التقرير، وردت إشارة إلى. When array or tabular are started, the current value of aselineskip is multiplied by arraystretch. You can extend the space between rows manually, write at the end of a row for example. We love good questions. Yes, you can. Logout鼓励或阻止分页。. documentclass {article} usepackage {tabularx. I keep seeing code plagued with underset {x ightarrow 0} {lim}, where the simpler. 2} equivalent to 1. \usepackage {setspace} \setstretch {2} but nothing happens. Finally, do heed the advice already given in the other answers regarding the use the eqnarray environment: don't use eqnarray, use align instead. Share. hl usepackage{setspace} % for setting the linespace for a portion of the text: setstretch. Mainly involves myself in LATEX The problems and solutions encountered during use are updated from time to time. The setspace package implements setstretch. So I think the most unobtrusive solution to your problem is replace doublespacing by setstretch{1. 1. {setstretch{1. When using setstretch{2}, the line spacing in LaTeX is noticeably larger than the double spacing in MS Word. The. So my. Usage: documentclass[. I have some code that currently creates a section title like this: The relevant line in the code which does this is: itleformat {section} [hang] {fontsize {30} {38}selectfontfseries} {color {c1}} {20pt} {egin {tabular} [t] {@ {color {c1}vrule width 3pt}> {hsp}l}#1end {tabular. I want to make the line spacing in table (or table-like) environment to be the same (aselinestretch=1. And then for each appendix: chapter {Title of appendix} Contents of appendix. 该软件包还具有执行任意间距的命令: setstretch{factor} 和 egin. I haven't tried it, but it might be possible to use the same number of words in the square brackets but. % % GT: Based HEAVILY on original LaTeX (2e) code. 1 Answer. Thus you want that arraystretch is set to the reciprocal of aselinestretch. . –. Title page:14pt. if you want to stretch all the letters evenly rather than words you can use: makeatletter defspreadeven#1 {% @tfor ext:=#1do {% exthfill }% } spreadeven {A fox jumped over the lazy dog} madeatother. You could use \vsplit, but for a document like this I believe that visual formatting is better. I use setlengthitemsep{fill} to vertically stretch items in an itemize environment. 15. Yes. The whole document will be double-spaced including bibliography. 9} for example. sty). I think I'd split it or use a smaller font. 5} instead. Other pages:12pt. Somehow, this seems to break bookmark structure in PDFs. 0} The MIT page has more options, including adding different spacing to. For 11 pt, it is \setstretch{1. the best practice, and recommended, method of using LaTeX packages such as setspace and parskip which provide options and user-level commands to change the spacing of your LaTeX documents;; use of low-level TeX/LaTeX parameter. et un interligne 1,5 :usepackage. ) In particular \end {doublespacing} only closes a group and does nothing else. e. CHAPTER I-INTRODUCTION. The asme2e. 5. Follow edited Jan 20, 2009 at 10:34. tex as a template for your document. in it you also need to use its column specifiers ( L, C, R or J ). I would like to reduce the line spacing for some sentences of a paragraph, for example, the blue color sentences as below, how should I do? documentclass {article} usepackage {setspace,lipsum} setstretch {1. Article suivant. report = rmarkdown::render ( knitr_in ("Reports/report. The environment name is onehalfspace, not onehalfspacing AND, it is (for a 10pt document) equivalent to \begin{spacing}{1. 433} it looks good (second picture). LaTeX ignores setstretch or changing aselinestretch in one paragraph. Footnotes, figures, and tables will still be single-spaced. clo which is part of the standard document classes offered by LaTeX (article, report, and book). I do so using the titlesec page: itleformat* {section} {Largefseriessffamilycolor {red}} itleformat* {subsection} {largefseriessffamilycolor {red}} But the problem is i have to enter the font and font size also. The style file I am using is as follow: parindent 0. listofpublications Paper 1 Paper 2. It just stacks. But beware things are not as simple as one might think. This article explores two methods of making changes to various aspects of paragraph spacing: . 0pt. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. % % GT: Based HEAVILY on original LaTeX (2e) code. sty ! letlatex@xfloat=@xfloat def@xfloat #1[#2]{% latex@xfloat #1[#2]% defaselinestretch{setspace@singlespace. from both places in your document, and place it in the preamble instead (Document --> Settings --> LaTeX preamble), after usepackage {tikz}. La page d’accueil de ce document est page contient des liens vers différentes. Other pages:Double. The following is a sample code. lockstep. your b) is simular to headsep. Synopsis: stretch { number } Produces a rubber length with zero natural length and number times fill units of stretchability (see Lengths ). I have a problem with my LaTeX document. The BCOR and DIV value must be set beforehand. Here is a good document on Overleaf: How to change paragraph spacing in LaTeX. time mastering the art of LaTeX, this is the preamble I use right now. For a particular group of text I am using \fontsize and setting to a size(say 8pt) different from the document fontsize(say 12pt) but the spacing between the text is still being rendered with respect to the document’s fontsize hence I am using \setstretch which gives me a spacing of 0 but sets the fontsize back to the document fontsize. LaTeX \vspace 命令添加垂直空间。空格的长度可以用 LaTeX 理解的任何术语表示,即点、英寸等。您可以使用 \vspace 命令添加负空格和正空格。 \vspace 命令通常用于在文档的段落、节或其他元素之间添加空格。它还可用于调整页面上元素的位置,例如表格或图形。 to use upper case for the section titles: If you don't want to use the titlesec package, you can redefine the \section command, as implemented in article. 4pt} By manually trying different values, I can eventually get the table to spread out and fill the space. I am writing a long document using the report class. end {document} The sort of scaling factor mirrors the idea of single- and double-spacing but differs from type leading. Here's an example: \documentclass [10pt] {article} \usepackage. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. The last trick is to rely on @openbib@code as a hook to modify the list parameters that are used to display the. 2}, but it will affect all my tabular. If you have a title on each frame, your generic structure would probably resemble. 3} to increase line spacing. Creating your first LaTeX document; Choosing a LaTeX Compiler; Paragraphs and new lines; Bold, italics and underlining; Lists; Errors; Mathematics. 5}. How do I reduce vertical space in LaTeX? The vspace command adds vertical space. So something like. documentclass [10pt] {article} usepackage {setspace} setstretch {1. setstretch and todonotes. aselinestretch scales the value of aselineskip, and it is. Sorted by: 11. for example SIrange {15} {30} {celsius} instead 15 -- 30 extdegree C. 75} chapter{Chapter title} label{Chapter1} markboth{Chapter title}{Chapter 1} setstretch{2} It worked fine. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"testfiles","path":"testfiles","contentType":"directory"},{"name":". your h) is simular to marginparwidth. For comparison lets look at a default documentclass {article} in LaTeX (with the package showframe to visualise the. It is a common formatting option used to make documents easier to read and more visually appealing. While using minted I can change font size ( Change font size in minted) on each individual place using the fontsize=footnotesize: egin {listing} inputminted [fontsize=footnotesize] {javascript} {file. Using the setspace package with a 10pt document font, a factor between 1. That's why you have "about 4pt " between lines of the same bibliography entry. Then, the spacing beteen lines is such that the subindex of the first line is not too close to the superindex of the second line, whatever the settings of setstretch.