General ⇒ Wrong right margin
-
- Posts: 18
- Joined: Tue Mar 20, 2007 7:42 pm
Wrong right margin
I've written an article, but the right margin is remarquably wider than the left. I've tried to exclude the Xyling document class, but that didn't have any effect. What should I do?
Here's my preamble:
\documentclass[12pt,b5paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[cyr]{aeguill}
\usepackage{tipa}
\usepackage {linguex}
\usepackage{xyling}
\usepackage {chicago}
\usepackage{graphicx}
\renewcommand{\baselinestretch}{1.5}
% \strikeout{text}: prints a struck-out version of #1
\newlength{\howlong}
\newcommand{\strikeout}[1]{
\settowidth{\howlong}{#1}%
#1\unitlength0.5ex%
\begin{picture}(0,0)
\put(0,1){\line(-1,0){\howlong\divide\unitlength}}
\end{picture}%
}
Any suggestions?
Christine
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Wrong right margin
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 18
- Joined: Tue Mar 20, 2007 7:42 pm
Re: Wrong right margin
C
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Wrong right margin
perhaps provide a minimal working example (compilable) showing the margin problem. I've tested this preamble and got equal left and right margins, the problem could be caused by other code that you didn't post or by external tools used like driver or converter.
Stefan
Wrong right margin
Although you don't ask anything about your \strikeout command, perhaps you may find useful the following code:
Code: Select all
\newcommand{\Strikeout}[1]{\settowidth{\howlong}{#1}\makebox[0pt][l]{\rule[0.5ex]{\howlong}{0.4pt}}#1}
Code: Select all
The \Strikeout{quick brown fox} jumps over the \Strikeout{lazy dog}
The \strikeout{quick brown fox} jumps over the \strikeout{lazy dog}