8
votes
1answer
237 views

How I can customize fbox and hrule?

I want to customization a sample exercises for a book. I like so much this style: I think that is possible with fbox and hrule, but I don't know how I can do it. No need to use fbox and hrule if ...
7
votes
2answers
284 views

Redefining \hrule to do nothing

Discl.: I have been using LaTeX for many years, but I am a beginner on the more advanced macro stuff. For a specific hack of a latex document of mine, I want to override the use of \hrule within a ...
5
votes
3answers
1k views

Defining rules for line breaks in \newcommand

Thanks to the help of this answer, I've defined a command for creating a blank line: \newcommand{\blank}[1]{\rule{#1}{0.4pt}} However, because this is a user-defined command, LaTeX doesn't seem to ...
4
votes
1answer
122 views

Problem with LetLtxMacro

I'm trying to redefine \rule to make cleaner underscores, but my book file (in memoir class) is having problems with the following: \RequirePackage{letltxmacro} \LetLtxMacro{\oldrule}{\rule} ...
8
votes
2answers
1k views

Signature in preface

I would like to make a signature field in the preface which looks like this: City(#1) \today ___________________ ______________________ ...