Questions tagged [dotfill]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

Is there other ways in writing this macro (centered dotfill)?

I'm using a little macro found on Stack Exchange to define a vertically centered dotfill, but I don't understand it at all and it feels like an "hack" to me. Is there other ways in writing ...
Cham's user avatar
  • 2,190
3 votes
2 answers
164 views

Remove horizontal spacing between \makebox and \dotfill

I want to present some information in a format which has a scenario described then dotfill to a right aligned result. If the scenario+result would fill the line, I want it to break to the next line ...
jw5801's user avatar
  • 95
0 votes
1 answer
48 views

Dotfill in cases environment

I'm trying to use \dotfill in a cases environment within an equation. I've adopted the solution here: Alignment and dotfill in cases However, I'd like to be able to write something to the left of the ...
DavidH's user avatar
  • 77
1 vote
2 answers
93 views

\dotfill with minimal length

I want to build a \dotfill command where I can specify a minimum length. I have tried: \makebox[0.88em]{\dotfill}\dotfill As the standard spacing of dotfill is 0.44em, so I get exactly two dots. ...
ljjs's user avatar
  • 13
1 vote
1 answer
48 views

Place middle dots in place of spaces

Is it possible to get middle dots (·) in place of space like in classical Latin inscriptions? As example, the following code … \dotseparation{SENATUS POPULUSQUE ROMANUS} … should appear like this “...
fauve's user avatar
  • 2,437
0 votes
1 answer
43 views

Raggedleft in tabular with dotfill

I would like to make a tabular with three columns, the first two should be raggedright and the last one should be raggedleft. The lines should be filled with dotfill. Here my (hopefully working) ...
phasefieldguy's user avatar
3 votes
1 answer
66 views

Dotfill after hypenation break

It seems there is an issue with \dotfill after a hyphenation break, minimal example \documentclass{article} \begin{document} hippopotamus, hippopotamus, hippopotamus, hippopotamus, hippopotamus \...
J.J. Green's user avatar
0 votes
1 answer
67 views

How to add a dot after the number and the name of the parts, but only in the TOC, TOF and TOT?

I want to add a dot after the number part (roman numeral) and also after the part name, but only in the TOC, TOF and TOT. I can put or remove the dot both in the titles of the part and in the TOC, but ...
Eterno Sirviente de Dios's user avatar
0 votes
0 answers
25 views

How to add a dot after the number and the name of the parts in the TOC? [duplicate]

I want to add a dot after the number part (roman numeral) and also after the part name, but only in the TOC. I can put or remove the dot both in the titles of the part and in the TOC, but not only in ...
Eterno Sirviente de Dios's user avatar
1 vote
1 answer
52 views

How to Selectively Eliminate the Dotfill in a TOC Chapter Entry

This question is an extension of the one posed in How to Selectively Turn Chapter Page Numbers Off in the Table of Contents I am using dotfill for chapter entries in the TOC; however, I would like to ...
jean-marie's user avatar
  • 1,014
3 votes
3 answers
209 views

Left align text after dotfill

I have been trying to align text after \dotfill such that both (text) in the first line and (long text) in the second line are left aligned such that white space will be after the word (text) in the ...
Faiz Lotfy's user avatar
0 votes
1 answer
52 views

Having Trouble Extending Dotfill in the Usual Way with Book Class

Consider the code: \documentclass[10pt]{book} \usepackage[showframe,margin=.3in,paperwidth=4in,paperheight=6in]{geometry} \textheight=5.25in \usepackage[frame,noinfo,center]{crop} \usepackage{tocloft}...
mlchristians's user avatar
  • 7,724
2 votes
1 answer
111 views

Dotfill in align math mode

I want to be able to make \dotfill in math \begin{align*} mode Here is my code \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} & M=E-e \sin E \makebox[5cm]{\dotfill} \...
Jacques's user avatar
  • 23
1 vote
1 answer
53 views

How to Add a Dotfill for a TOC Chapter When There were None Earlier

Consider the code \documentclass{book} \usepackage{tocloft} \let\cleardoublepage\clearpage % Clears all blank pages \renewcommand\cftchapafterpnum{\vspace*{5pt}} % Space after each Chapter in the ...
mlchristians's user avatar
  • 7,724
0 votes
1 answer
84 views

How can I make the dotted lines go all the way to the margin?

In the exam package, I'm trying to put in writing space in the form of dotted lines. To do so, I created the command "\lines{X}" to insert X amount of dotted lines on the page at a set ...
Pen and Paper's user avatar
1 vote
0 answers
121 views

Page number (or dot fill) in Index not placed in the right place

In my configuration of the Index, the .mst file contains the following: delim_0 "\\IndexDotfill " % Filler between section heading and page number delim_1 "\\IndexDotfill " % ...
Jinwen's user avatar
  • 7,816
1 vote
3 answers
273 views

\dotfill spanning over line break

I want to write a simple glossary, using something like the code below. \documentclass{article} \usepackage{multicol} \newcommand{\itemlex}[2]{% \mbox{#1} \dotfill{} \mbox{\itshape #2}% \par} \...
sparusaurata's user avatar
0 votes
2 answers
67 views

scrartcl toc sectionentrywithdots formatting

Im pretty new to tex. I managed to get everything I wanted. But I am stuck with the table of contents. \documentclass[12pt,oneside,titlepage,listof=totoc,bibliography=totoc,toc=sectionentrywithdots]{...
lublak's user avatar
  • 7
2 votes
2 answers
319 views

move from tocstyle to tocbasic

I have been using tocstyle until it was removed. Here is my definition \usepackage[% %%% toc width calculation tocindentauto, % all widths at the TOCs are calculated by tocindentauto %%% ...
Matthias Pospiech's user avatar
2 votes
0 answers
116 views

How to achieve \dotfill in math mode?

Here is an MWE: \documentclass{article} \usepackage[a4paper]{geometry} \usepackage{amsmath} \makeatletter \ExplSyntaxOn \NewDocumentCommand { \score } { O{} m } { \mode_if_math:TF { \...
xdyy's user avatar
  • 581
2 votes
1 answer
134 views

Line-breaking problem produced by \dotfill and long index entries

First an MWE and its index page are as follows. \documentclass[12pt]{article} %%%index setting%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{imakeidx} \usepackage[colorlinks,linkcolor=blue]{hyperref} \...
M. Logic's user avatar
  • 3,961