Search found 258 matches

by rais
Fri Apr 03, 2020 9:31 pm
Forum: Text Formatting
Topic: Minus in code listing
Replies: 1
Views: 63

Minus in code listing

The code provided does not result in the error shown.
And why should it? A - in the text is just a hyphen, not a minus sign...
You seem to be doing something else than shown.

KR
Rainer
by rais
Fri Apr 03, 2020 9:25 pm
Forum: Graphics, Figures & Tables
Topic: Questions about TikZ with position ("at" and "anchor") Topic is solved
Replies: 5
Views: 110

Questions about TikZ with position ("at" and "anchor") Topic is solved

Well, \node[anchor=north] (box) at (current page.north) {..}; creates a node called `box' at pgf/tikz special node `current page' to the north. In other words, the new `box' node is to be created at the top of the (current) page. To prevent the contents of this new node from spilling...
by rais
Tue Jan 07, 2020 12:06 am
Forum: General
Topic: Cannot locate xindy module for language dutch in codepage utf8?
Replies: 3
Views: 783

Cannot locate xindy module for language dutch in codepage utf8?

AFAIUI, Xindy offers two variants for Dutch spelling, where `ij' is sorted differently---as `ij' or as `y'. Simply prepend the variant you want to `utf8' in your codepage statement, such as \usepackage[automake,xindy={language=dutch,codepage=ij-as-y-utf8}]{glossaries} then Xindy should load Loading ...
by rais
Sat Jan 04, 2020 6:57 pm
Forum: Page Layout
Topic: sidebar question
Replies: 7
Views: 629

sidebar question

The sidebar is generated but it’s all squished on the bottom side of the page (if I use the X parameter). You're limiting the `width' of your tabularx to \textwidth . Then you have raised \tabcolsep to 1 cm, which is inserted `left' and `right' of each of the three columns, that leaves \textwidth -...
by rais
Wed Jan 01, 2020 12:39 pm
Forum: Graphics, Figures & Tables
Topic: Longtable hide column
Replies: 4
Views: 239

Longtable hide column

Come to think of it,
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \newcolumntype{H}{>{\iffalse}c<{\fi}@{}}

would be even easier.

KR
Rainer
by rais
Tue Dec 31, 2019 7:05 pm
Forum: Graphics, Figures & Tables
Topic: Longtable hide column
Replies: 4
Views: 239

Longtable hide column

I guess that's just it---an H column is not specified. If I had to create one, I'd do s.th. like \documentclass{article} \usepackage{array} \newsavebox\dummy \newcolumntype{H}{>{\begin{lrbox}{\dummy}}c<{\end{lrbox}}@{}} \begin{document} \raggedright \begin{tabular}{rl} one & two\\ three & fo...
by rais
Fri Dec 27, 2019 6:42 pm
Forum: General
Topic: Limiter Topic is solved
Replies: 2
Views: 853

Limiter Topic is solved

Hi,
each \left command must be accompanied by a matching \right command within the same line (and group).
Use \right. just before the & sign of the first line and
\left. at the beginning of the second line.

KR
Rainer
by rais
Sat Dec 14, 2019 12:31 am
Forum: Text Formatting
Topic: delete subsection Topic is solved
Replies: 4
Views: 420

delete subsection Topic is solved

Isn't `deleting part of the source' a function of the text editor you're using?
Or are you after something to `keep in .tex file, but strip from .pdf'? That should be doable by
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \iffalse
  2. whatever stands here won't show up in output
  3. \fi

which should work for all TeX engines.

KR

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

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: 738

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, \\ ...

Go to advanced search