tex file. 0pt). 5ex} The new day dawned cold. linespread {1. More information on the vspace command is available on TeXBlog. You should try using vspace. Equation. – Jesse. I believe even ewline will do. 1 Answer. Sorted by: 7. 1 Answer. For example displayed formulas insert certain space ( \abovedisplayskip or abovedisplayshortskip ), list environments like itemize, enumerate and description but also center and quote insert space of the length \topsep. item Form - Permite crearea de ecrane compuse din alte componente, cum ar fi imagini (I. Latex espace horizontal: qquad,hspace, thinspace,enspace; Latex ensemble vide; Latex empty set; Latex écrire du texte dans les équations ou en mode mathématique; Latex dérivée, limite, somme, produit et intégrale; LateX Derivatives, Limits, Sums, Products and Integrals; Latex degree symbol; Latex dagger symbol or dual symbolbreaks the line without filling the current line. I am new to LaTeX. LaTeX help 1. e. I tested out that anywhere the \mspace command takes effect then the \hspace command takes effect as well. You can add negative as well as positive space with an vspace command. Hay dos comandos que insertan espacios en blanco en este ejemplo:A quick way would be to use vspace {} with negative length as input. 垂直方向のスペースを入れるには, \vspace コマンド を用います。これは, \vspace{<distance>} の形で使用します。以下に例を挙げましょう。 おはようございます こんにちは \vspace{10mm} こんばんは 118. extfloatsep: space between last top float or first bottom float and the text (20. Actually the default vertical space before the title is 2em. documentclass [a5paper, 12pt] {article} ewcommand ewpiece {vspace {stretch {1}}} egin {document} Text hfill Text2 par Text hfill Text par hfill King of Denmark’s Galliard ewpiece John Loeillet hfill Sonate No. \quad and \qquad generates a horizontal blank space with a width of 1em and 2em respectively. g. documentclass {article} itle {vspace {-7cm}} author {} date {} egin {document} maketitle Hello there. created using phantom {text}, with some other (shorter) text. vspace if used mid paragraph, as here, stores the vertical space in a special place (a vadjust node) which is then inserted after the paragraph has been broken into lines, after the line on which the space is added. If you don't want LaTeX to remove this space, include the optional * argument. If you have an line Ending you can type the wanted distance in brackets. center doesn't really add a blank line (LaTeX almost never does that) but it does add vertical space. Place the figure at the bottom of a text page. . The solution was to disable interlineskip with either offinterlineskip or ointerlineskip. \vfill Text at the bottom of the page. Long answer: I am not getting this extra spacing you are referring to, but in any case I can show you an example so you see how you can reduce the space between lines. 5cm,right=2. 这是因为 tcolorbox 的内部文本框与固定高度设置分离。. to combine two equations with one number in parentheses but the two equations are very close to each other and using 'vspace{} not working . )Here's a tocloft way that has not been mentioned so far:. Text at the top of the page. この記事では、LaTeXで横方向または縦方向の空白(スペース)を調整する方法を紹介します。 横方向の空白 hspace hspace{幅}によって、スペースの間隔の長さを数値で指定できます。 単位は「pt」,「pc」,「mm」,「cm」などが使えます。avspace {1cm} b. 3) There's a spurious blank space in your code. You have to specify where your images is allowed to be placed. 128. 5em} So to tighten up the space a bit you might write instead:これは、多くの場合 vspace {fill} と同じ方法で使用されますが、 vfill が現在の段落を終了するのに対し、 vspace {fill} は段落構造に関係なく、その行の下に無限の垂直スペースを追加する点が異なります。. Lastly, I tried inserting \vspace but this does not move everything, just one cell. 3 Answers. The commands to store your title data can be used in the preamble. 它通常用于将文本在页面上垂直居中,或填充页面上的剩余空间。. I use the command enewcommand* {Authfont} {fseries}. tex document I. I think more technically, \vspace only has effect when LaTeX is in vertical mode. The advantage of this method is that you don't need a closing statement, such as end {} or a curly bracket. lindtext probably doesn't end with par or a blank line, so it's still in horizontal mode when the environment ends. For LaTeX, horizontal spacing is achieved using hspace{<len>} where <len> is a length (either positive or negative); TeX's equivalent to hskip. There are a number of horizontal spacing macros for LaTeX: \, inserts a . 1 Answer. documentclass{article} usepackage{showframe} egin{document} vspace*{0pt}% ASDF end{document} Compare that to vspace{0pt} (or simply omitting the vspace line altogether). I have tried to follow the instructions for titlesec but I am not successful. it does not need to be stretched to fill the whole space. The mentioned commands all represent skips with a rubber length. , points, inches, etc. Space produced by quad and qquad simultaneously can be demonstrated:⏹ ⏹ and ⏹ ⏹. The behaviour in horizontal mode is sort of justifiable but rarely wanted so the simple. ) as well as adding links to the pdf and using your favourite citation style. 5in} At the indentation of this sentence, TeX went into horizontal mode. You mark the starting of page 2 with. If LaTeX decides to break between lines at a point in the document where an \hspace is specified, then no white space is produced. 2) ex is the height of the x character; for proper alignment you'll need to use 0. The vspace* is adding unwanted space. You could add something invisible like mbox{} before it. You can make your "title" a removal of vertical space. Why isn't there a simple function to add add vertical space of arbitrary length like there is in latex: vspace{. documentclass [tikz] {standalone} colorlet {materialblue} {blue!40} colorlet {lightgray} {black!15} ewcommandprogramming [1] { egin {tikzpicture} [scale = 0. It's important you use the \vspace* command instead of \vspace, otherwise LaTeX can silently ignore the extra space. 5in}x_{pm} =. Very rarely, for example when creating a title page, you might need to add explicit horizontal or vertical space. Note the use of hspace* {fill} on either side of the subfigures, while hfill suffices between them. If igskip is too much for your taste, try using medskip. cls makes it straightforward create exam papers and typeset questions. The difference is almost unnoticeable. 1cm} after LaTeX{} (adjust the size of the space to get the effect you want). The \usepackage[showframe]{geometry} was used to show the margins. It will work if the vspace is not the first thing in the column. If LaTeX is not currently in vertical mode, LaTeX saves the \vspace until next time it enters vertical mode. The book by Leslie Lamport, LaTeX: a document preparation system (1994) has a figure like the one you asked for on page 113, which explains, among other things, that the vertical space at the bottom of a list is always the same as the space at the top. " so vspace*{fill} works. documentclass {article} usepackage {enumitem}. The body of the environment goes into the box, and then at the end it sets. pdf} part of the command, a more straight forward way is the `trim=left bottom right top` option. 1. It only takes a minute to sign up. If vspace appears in the middle of a paragraph the space is added after the line containing it. vspace is the road to ruin. Text at the top of the page. Simply use addvspace instead of vspace and you will get the maximum of the lengths instead of the sum of the lengths whenever you have multiple consecutive spaces. Shortly speaking, what are the differences between parvspace{2cm} oindent and [2cm]? When do we have to only use one rather than the other one? If MWE is really needed, see the following. Operators spacing. If it is added in horizontal mode it is deferred until the paragraph is broken into lines and then the space is added after the line that contained the node carrying the deferred space. Text at the top of the page. 5mm}} Then, you can use the command squeezeup throughout your document for reducing the free space after/before figures, formulas, etc. \vfill 命令在 tcolorbox 内不起作用。. 2aselineskip minus 0. Here, left, bottom, right, and top are units of length, which trim the graphic for positive values and add space for negative values. And if you want to use any other size of spacing, you can use []. This command should be inserted just before the text line that shows the big gap. . b. egin{itemize}[topsep=0pt] item Item 1 item Item 2 end{itemize} vspace*{aselineskip} Now there is a good amount of space between the end of the previous list and the beginning of this paragraph, but a bit too much and achieved via a ``hack''. Mar 17, 2014 at 3:50. I ended up here after googling "lyx extra space in tables for dfrac", so this is an answer for LyX, but it probably also applies to plain LaTeX code. 2 Answers. You can add negative as well as positive space with an vspace. Although. If you use @ {…} the code of the argument of @ is added instead of the distance. instead LaTeX's vspace*. – Werner ♦. 数学话题下的优秀答主. documentclass [12pt] {article} usepackage {caption} usepackage {tikz} usepackage {listings} colorlet {punct} {red!60. I have seen similar questions on the matter (Question 1, Question 2) of adding vertical space and not breaking vertical lines, the solutions suggested are to add space after the using [0. a vspace {1cm} b. Original answer, keeping scale=0. documentclass{article} usepackage[T1]{fontenc} egin{document} Some text hspace{1cm} more text. But for binary operators such as + +, − − and × ×, the medmuskip space is set. It only takes a minute to sign up. I have some problems when customizing author and affiliation using authblk. You are trying to reinvent the wheel! 😉. I'm new to LaTeX altogether and discovered something strange while fiddling around with a few commands. The argument could also have been in inches, e. Thanks, this looks good, but still seems a bit un-LaTeX-ish, having to provide manual spacing every time (and with a fixed dimension at that. 04\textwidth} between the two images. sty % were suited for document font sizes other than 10, 11 and 12 pt. g. It is a rubber length—it may contain a component (see. To produce (vertical) blank space between paragraphs, use vspace. Is there a way to set the default length unit in a latex? For instance, I would like to write vspace {7} instead of vspace {7pt}. Just try some extreme values for vspace {-15mm}, such as 30mm or -30mm. The wrapfig package documentation explicitly warns about this: The environment should be placed so as to not run over a page break. will typeset a b and then add 1cm of space after that line. An alternative to use if hfill is more intuitive than hspace* {fill}, is to insert dummy text (like ull or mbox {}) at the (start and) end of the line. tex'. For instance if you wish to have the quote 1/3 down the page you can do. vspace{25mm} %25mm vertical space This text is. You can make your "title" a removal of vertical space. You're adding unwanted spaces, though (in front of all \hfill commands, to be precise). For increase vertical space between successive tikz images with captions insert \medskip or bigskipor \vspace{<desired distance>} before the second tikz images. Use hspace{amount} or hfill if you want the right subfigure get shifted to the right margin between the two subfigures: egin{figure} centering egin{subfigure. markdown. It is just acknowledging that risk happens, and taking measures to ensure we are completely prepared for it. 8. I tried using the vspace command again, but encounter the following problem, with the code as follows: documentclass [12pt,. vspace{2cm} adds 2 cm, vspace{2in} would add 2 inch, vspace{12pt} would add space equal to 12 pt (points). Oct 6, 2013 at 7:40. Putting the two images(top and bottom) in one subfigure environment and use vspace{-xx} to close the gap. There are a number of horizontal spacing macros for LaTeX: , inserts a . In the following MWE the space between figures is maximized thanks to a stretchable vertical space. This reduces the space between the main CAPTION and the last subfigure. I've done this successfully for Rnw files by adding the following to my preamble see this answer: enewenvironment {knitrout} {vspace {1em}} {vspace {1em}} I tried adding this line to. A simple vertical space will not make it clear to the reader, that the former subsection has ended and we're structurally back on the section level. Short answer: Put vspace{-0. igskip will also do the trick. To use the exam class you must put the line. Following example enlarges tikzpictures. Usually, everything that is general to one section comes before all subsections. I think more technically, \vspace only has effect when LaTeX is in vertical mode. Apart of use of centering of Werner answer, you can also control the space below the captions with elowcaptionskip (for example elowcaptionskip-1em) in the preamble or adjust manually a particular space with a negative vspace (for example vspace {-1cm}) in the text under the float. More precisley, vspace* adds an invisible horizontal rule to prevent the space it inserts from disappearing at a page break: now, setting opskip to zero prevents unwanted vertical space from being inserted above this invisible rule; on the other hand, issuing the onterlineskip command prevents the interline glue (and hence, the vertical. vspace{10cm} Even more text. vspace {1ex plus 0. 15pageheight} egin {quote} centering quote end {quote} ewpage. To "make the footnote number bold" you. documentclass {article} egin {document} x y vspace {2cm} z. But most of the time it doesn't work properly. It should simply fill the white space for as far as the replacing text reaches, i. Option 1: Add a non-breaking space between the line terminators: ~. Just use the vspace {-xxpt} to reduce the space in the beginning of the letter. showboxdepth=1 showboxbreadth=10000 racingonline=1 setbox0=vbox { First linehfilreak Second line } showbox0 end. png} caption{M1. to see. By inserting a par between each increment and leaving vertical mode, the final elements of the loop are executed on the subsequent page. 1} A similar question (and thus answer) is asked here: difference between \vspace and \vspace* for negative arguments. Additionally, LaTeX provides the following advanced option for line break. . Wrapfigure environment has excessive whitespace BELOW the caption. fill is defined as skip20 (well allocated with ewskipfill, so the number might differ in different formats and builds), so it calls the skip register 20, which's value is 0pt plus 1fill. Inserting negative vspace just shifts the position of the caption relative to the image, actually increasing the 2+ lines of pointless space that usually sit below it. 6. Which one you choose is up to what spacing you wish. To definitely place a paragraph after a figure, use the command FloatBarrier somewhere between the figure and the paragraph. Eventually, the options any LaTeX beginner desired were born! The new (May 2021) package tabularray has two options to set the space before and after the table rows: abovesep and belowsep of the parameter rows!. Here one employs TABstacks in lieu of the bmatrix environment. As you can see, no space is added between the third and the fourth row. The space added by vspace is deleted at the beginning of the page, as you have seen. Sorted by: 9. 1 Answer. Spacing around operators and relations in math mode are governed by specific skip widths: For relational operators, such as < <, > > and = =, LaTeX establishes hickmuskip space. On line 173 of developercv. You can replace the size with some other value to adjust the vertical spacing, for example vspace*{-5mm}. To compensate for the remaining space I suggest setbeamertemplate {headline} {vskip3pt} instead (you might have to experiment with the exact value of the vertical space) Don't manually put formatting instructions like LARGE in macro arguments, change the respective font instead: setbeamerfont {frametitle}. There is some display math mode here too: $$\vspace{. TeX features some macros for fixed-length spacing. documentclass {article} egin {document} I am new to LateX@. Horizontal hspace{ 1cm } spaces can be inserted manually. You can add negative as well as positive space with an \vspace command. Combinedly it will work for putting an extra blank line. @MinhNghĩa You would have to ask Mr. e. 0 | Ubuntu 10. It only takes a minute to sign up. vspace*{-2em} lipsum[2] end{document} I want to do this globally, getting rid of the spacing denoted by the red rectangles. ) -form inserts vertical space that is non-discardable. You could add something invisible like \mbox{} before it. \vspace{ 5mm } %5mm vertical space This text still at the top, 5mm below the first paragraph. Open this example in Overleaf. egin {itemize} setlengthitemsep {1em} item one item two item three end {itemize} Don't do that. 04\textwidth. 5cm}. For instance, it puts in a little extra space around Theorems to separate them from the text. vspace {1ex plus 0. the first line of the answer seems to imply that the empty lines should go before/after the tabular (which is incorrect), and since my. This will produce the same result as ewline and . g. 5cm}. A simple. 1. 2 Answers. But, most common method here is to use twocolumn optional argument with document class. zref's savepos module allows you to capture the x-coordinates of a point on a page via zsaveposx{<label>}. quad and qquad generates a horizontal blank space with a width of 1em and 2em respectively. The following code generate the desired output except the last entry. doublespacing. However, using R (or L) instead of r (or l) your figure will float, so simply changing r to R in the above code, as in. e. I want to increase the spacing between the vertical lines, I can use vspace{2mm} but that is not possible to write at end of every line. Then, the added buffer will end up symmetric. It can. But when I am using setlength {intextsep} {5mm}, the space below the float is more than the one above it. 472. 1 Answer. 1 Answer Sorted by: 3 Fill before and after. yes, but sometimes the fight is too much to handle. Here is the code of one of the. Just load the parskip package and don't change the parskip and parindent lengths manually. \renewcommand*\arraystretch{1. will result in three spaces between the two words (the space after vspace{10pt} is swallowed, but the others remain). xvspace {} {} allows you to specify a number #1 of vspace increments to execute, of units #2. g. 5aselineskip} after end {eventlist}: % itle {My two column CV} % % tccv (two columns curriculum vitae) is a LaTeX class inspired by % the. Operators spacing. Let's see the two commands that insert vertical blank spaces. Only add that the first two are not exactly the same (see What is the difference between vskip and vspace?) and well as the later two, but vspace or vskip could be also rubber lengths (e. sffamily A switch changes the style from this point to the end of the document unless another switch is used. Share. I assume the motivation here is that you have some fixed-height block (of text) at the top of the pages and some variable-height block (of text) at the bottom of the pages. Type H <return> for immediate help. Well, after all I~think that two lines would be even better. 6. To "introduce some additional space in between one foot note and the next one, and between the first footnote and the line that separates it from the regular text" you can add the following line to your preamble (change 5mm to 1mm or whatever you need): addtolength {footnotesep} {5mm} % change to 1mm. It allows you to adjust the spacing based on your specific needs. For the other types of units the spacing is fixed at the given measurement. After the paragraph break you may insert vertical. 5cm} color {gray} item Field of application color. So you get an overful box and the bbb is somewhere outside the page. I'm not sure why vspace is ignored; vspace*, which preserves space at the top of a page is ignored as well. The space added by \vspace is deleted at the beginning of the page, as you have seen. in your example the vspace is added in the last line of the paragraph so the space comes after the paragraph. I put together a minimal working example (MWE) for generating a list of publications (e. Some more information. Know someone who can answer?In some cases one wants to have spaces that don't disappear at line breaks: for instance blanks that should filled by hand in an exercise. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. ; Add a vertical space on each line where necessary via [<amount>]. And now, we use our new command exactly here\vspacebeforeline {18pt plus 6pt minus 6pt}, followed by a few other words to end the test. Play with the values; the captionsetup. Lengths are units of distance relative to some document elements. I need to adjust to vertical space between the last line that fits in the page and the bottom of the page itselft beacuse at the moment it looks like 1/4 of the page is empty because the "writable" part of the page ends too soon. }, that is: vspace* {5mm} section {Section 1} Some text subsection {Section 1. For example, the following code will insert a one-inch empty line: vspace {72pt} You can also use negative values for the length argument,. 0pt minus 4. I have tried the following two setups without any changes occuring. vfill Text at the bottom of the page. This puts space between the two paragraphs. Here’s a complete guide on its usage and functionality. Here's a minimal example demonstrating the problem. The main difference between space and ␣ is that the former obeys the space factor and the latter doesn't. 167. LaTeX help 1. When using enewcommand {arraystretch} {1. Use setlength {parskip} {0pt} setlength {itemsep} {0pt plus 1pt} after egin {itemize} And for the space after the list, use vspace. 5pt, that is hardly noticed. you do get the extra vertical space, but you also get the message Underfull hbox. 【LaTeX】空白(スペース)の調節. LaTeX starts horizontal mode when a image is inserted by includegraphic. Code \documentclass[]{article. In LaTeX, there are several ways to create a two-column layout depending on your requirements. You can use \setlength to change them as desired -- e. I don't think you need those vbox which are not really LaTeX commands anyway, simply put a vspace between the rows. vertical space after algorithm. Basically oalign (which is a TeX primitive and not a supported LaTeX command) has to come as the first thing in a table row and its argument is evaluated as vertical mode material that is placed between rather than in the table rows. See full list on latex-tutorial. . Thanks for this really helpful answer. Note that approach two requires a scalable font, which is why I added the lmodern package. Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Home; Questions; Tags; Users. I could use vspace to control it, but in this case, I should add the command to all of my listings. Using the titlesec package you can use \titlespacing* you can change the spacing before and after the title; the syntax of the command is: \titlespacing* {<command>} {<left>} {<before-sep>} {<after-sep>} (there's an additional optional argument, but it's not important here). This might serve your need. This will effect all figures. \vspace {\fill. documentclass {article} usepackage {parskip} egin {document} We explain in this. 它通常用于将文本在页面上垂直居中,或填充页面上的剩余空间。. igskip & medskip & smallskip, for common inter-paragraph spaces. The vspace is one large block. The \vspace*{-\baselineskip} eliminates the space between the first line and the table. 5ex} The new day dawned cold. This puts space between the two paragraphs. It only takes a minute to sign up. this MWE: documentclass{article. In general it's best to issue \vspace between paragraphs, but the "in-paragraph" feature may come up handy in some cases. Note, addvspace rather than vspace is used, because it ensures that there is at least this amount of vertical space, rather than blindly adding more. 2 Box lengths 3 Length manipulation 3. Sep 10, 2014 at 4:05. Impact: 0* additional characters. table of contents. Type the following text in 'quiz. In that case you shouldn't wonder when the result doesn't look good. . 5. vspace[*]{length} The vspace command adds vertical space. In your set-up there is a parskip before the minipage and once the minipage starts there is an abovedisplayskip at the top each set of equations. In the first video we made a rather makeshift title page using the maketitle command and by using an includegraphics command in the itle command. Spacing around operators and relations in math mode are governed by specific skip widths: hinmuskip (by default it is equal to 3 mu) medmuskip (by default it is equal to 4 mu) hickmuskip (by default it is equal to 5 mu) egin{ align* } 3ax+4by=5cz 3ax<4by+5cz end{ align* } Open this example in Overleaf. Setting the default length unit in latex. LaTeX Error: There's no line here to end. 2 spacings within math mode in L A T E X. , points, inches, etc. If that doesn´t work, a full, but minimal file. Sep 10, 2014 at 4:05. The numbers specify how much. So you have the distance abcolsep before the first and after the last column and 2 abcolsep between two columns. which means that a paragraph is marked with indentation. cls, you have. LaTeX removes horizontal space that comes at the end of a line. vspace {aselineskip} % Whitespace before the section title. Normally the lines are not spread, so the default line spread factor is 1. 0. documentclass[10pt. LaTeX will decide that if it moves some material to the next page because the current page cannot hold it. I guess they referred to the font (size of 12pt) so. Aparently, since you are asking to decrease the skip. 2 Answers. It will give an extra empty line between the two lines. Here is my solution for vertical padding based on vphantom. The placement specifier parameter allows us to have control over the location of the figure in text. Just use the enumitem package as described in the answer this question is a duplicate of. The documentation says: The vertical space between the caption and the figure or table contents is controlled by the option skip=amount. Share. boxed - a box is drawn that surrounds the float, and the caption is printed below. A Short Introduction to Making Documents using LaTeX (continued) EXAMPLE 2: Now we walk you through creating a tex file for a simple math quiz for a calculus course. introduce additional vertical white space, making vspace 'necessary', I recommend aggedright etc. \hspace {<skip>} is a general horizontal spacing command, that tells TeX to leave that amount of horizontal space. I want to create (horizontal) space of some length, e. So to move to the right by 5cm and 1 cm from the. for this. For example: [2in] This will put an extra 2-inch space between the two lines. <left> increases the left margin; <before-sep> controls the. Understanding minipages - aligning at top ). 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. 5cm} with vspace*{6. . Notice that the \vspace has to come first. e. something with mu unit which makes sense in math mode. }, that is: \vspace* {5mm} \section {Section 1} Some text \subsection {Section 1. LaTeX 命令 vfill 插入无限长度的垂直橡胶,因此它可以根据需要拉伸或收缩。. vspace{2cm} One line. 1 Plain TeX 4 LaTeX default lengths 5 Fixed-length spaces 6 Rubber/Stretching lengths 6. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. The difference between vspace and vspace* is clear. I have 2 subfigures vertically arranged using the subcaption package. I have already reduced \floatsep, \textfloatsep and \intextsep but it does not seem to help. 1 Answer. In the previous post we looked at adding a bibliography to our thesis using the biblatex package. I have tried using vspace or to lower the sentence. Try this: ewboxmybox ewenvironment {mytextbox} [1] {vskip-aselineskipsetboxmybox=vboxgroupvskip#1 elax} {egrouphtmybox=0ptoxmybox} At the beginning of the environment it starts a box and puts the appropriate vertical space at the top of it. Learn how to use the LaTeX command vspace to add the vertical space length between the two paragraphs. Here is a variant on Herbert's answer, using dimexpr instead (inspired from the thread ifnum for real numbers of comp. This is the code I have:. Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top. You can also use usepackage {showpage} to see the page borders etc. tocloft provides the cftbeforeXtitleskip and cftafterXtitleskip lengths, where X stands for toc, lof or lot, depending on the specific needs. left- ight and centerline are odd constructs in latex, they are almost the only box commands that don't start a paragraph if in vmode,. I think more technically, vspace only has effect when LaTeX is in. Alternatively you could use smallskip medskip or igskip. answered May 19, 2014 at 16:20.