Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

TeX/unskip

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Synopsis \unskip will remove the last glue from the current list. Description IF the last item on the current list is glue, \unskip removes it; otherwise \unskip has no effectTeX: Reference and Examples by David Bausum https://www.tug.org/utilities/plain/cseq.html#unskip-rp 2024-04-22 www.tug.org. It does not remove kernsWhen is it good practice to use \unskip https://tex.stackexchange.com/a/104036 2024-04-22 TeX - LaTeX Stack Exchange en. The command may not be used in vertical mode if the main vertical list-so-far has been entirely contributed to the current page [280]. However, \vskip-\lastskip has almost the same effect. \unskip is used where you want to allow some flexibility in the input syntax. For example, it's used in some of the centring code to avoid a space at the start of a line messing up the alignment. Examples %! See = [2] https://tex.stackexchange.com/a/104036 \space\space\unskip % similar to `\space` \space\space\unskip\unskip % similar to `` \space\kern0pt\unskip % similar to `\space\kern0pt` (kern doesn't get removed) %! See = [1] https://www.tug.org/utilities/plain/cseq.html#unskip-rp \ifdim\lastskip=0pt %test for glue. \else \skip1=\lastskip %store last glue in \skip1. \unskip %remove glue from list \fi