Search found 280 matches

by rais
Sat Dec 14, 2019 12:13 am
Forum: Page Layout
Topic: sidebar question
Replies: 7
Views: 1457

sidebar question

Well, instead of a single \parbox inside the \rotatebox , you could use 3 smaller ones: {\rotatebox{90}{% \parbox{10cm}{% \raggedleft\textcolor{black}{\bfseries\scshape\thechapter.\leftmark}% }% \hspace{2cm}% \parbox{4cm}{\centering\color{red!70!black} company name}% \hspace{2cm}% \parbox{10cm}{\rag...
by rais
Mon Dec 02, 2019 6:07 am
Forum: Math & Science
Topic: What should be the natural spacement between equations?
Replies: 12
Views: 1523

What should be the natural spacement between equations?

perhaps \vphantom is what you're really after: \documentclass[11pt,letterpaper,twoside]{book} \usepackage{lmodern} \usepackage{amsmath} %\setlength{\jot}{\baselineskip} \newcommand*\bigstrut{\vphantom{\frac{A^2}{y^2}}} \begin{document} Blabla: \begin{gather} \bigstrut x^2 - \frac{1}{2} \, x = 3, \\ ...
by rais
Sat Nov 30, 2019 6:18 pm
Forum: LyX
Topic: Wrong page numbers in index
Replies: 12
Views: 2134

Wrong page numbers in index

Well, I'm not a LyX user, but it sounds like it runs ⋅ pdfLaTeX (probably more than once to resolve TOC/LOF/LOT) ⋅ BibTeX ⋅ makeindex (or vice versa) ⋅ pdfLaTeX (again, probably more than once) When BibTeX is run, it creates a .bbl file which is read by the ne...
by rais
Sat Nov 30, 2019 2:37 am
Forum: LyX
Topic: Wrong page numbers in index
Replies: 12
Views: 2134

Wrong page numbers in index

I'm totally guessing now, but it has "\makeindex" in the middle of the package imports. I don't see a problem with that. \makeindex basically creates a file handle for the .idx file, opens it for writing, (re)defines \index so it will write into this .idx file, and lets itself to `don't-d...
by rais
Sat Nov 30, 2019 1:04 am
Forum: Text Formatting
Topic: Customizing the ToC with toclof
Replies: 2
Views: 784

Customizing the ToC with toclof

Well, if I would try s.th. like that, I'd use the parent's values to create the indent for the current entry, e.g., \cftsecindent + \cftsecnumwidth for \cftsubsecindent . Should you later decide on, say, a different indent for section entries, you'll just need to change it in one place (and not seve...
by rais
Sat Nov 30, 2019 12:42 am
Forum: Math & Science
Topic: What should be the natural spacement between equations?
Replies: 12
Views: 1523

What should be the natural spacement between equations?

0.5\baselineskip, perhaps?

KR
Rainer
by rais
Sat Nov 30, 2019 12:39 am
Forum: LyX
Topic: Wrong page numbers in index
Replies: 12
Views: 2134

Wrong page numbers in index

Well, the index processor can't get confused, it only ouputs what it is told by way of the .idx file. The only ways I can see to get a wrong page number in the index are ⋅ some weird changes in page numbering ⋅ some material gets inserted before the \index command in question, af...
by rais
Sat Nov 23, 2019 12:44 am
Forum: Text Formatting
Topic: unexpected linebreak with makebox
Replies: 1
Views: 441

unexpected linebreak with makebox

That't because the title argument to \chapterlinesformat (#3) contains an internal paragraph break, hence the new line. Since you want to put the number into the margin, try \renewcommand*{\chapterlinesformat}[3]{% #3\marginline{\usekomafont{disposition}\usekomafont{chapter}#2}% } You don't need to ...
by rais
Wed Nov 20, 2019 1:34 am
Forum: Text Formatting
Topic: How to typeset double rule with text interrupting it? Topic is solved
Replies: 9
Views: 2675

How to typeset double rule with text interrupting it? Topic is solved

well, if tabularx is needed, try \documentclass{article} \usepackage[USenglish,ngerman]{babel}%%% The main language is German \usepackage{lipsum} \usepackage{tabularx} \usepackage{xcolor} \pagestyle{empty} \newlength\drulesep% separation between the two lines of adouble rule \newlength\druleshift% d...
by rais
Mon Nov 18, 2019 10:44 pm
Forum: Text Formatting
Topic: How to typeset double rule with text interrupting it? Topic is solved
Replies: 9
Views: 2675

How to typeset double rule with text interrupting it? Topic is solved

\documentclass{article} \usepackage[USenglish,ngerman]{babel}%%% The main language is German \usepackage{lipsum} \pagestyle{empty} \newlength\drulesep% separation between the two lines of adouble rule \newlength\druleshift% distance for lower rule of a double rule to baseline \newlength\druleweight...

Go to advanced search