Search found 10 matches

by rhino7890
Mon Nov 19, 2012 8:16 pm
Forum: Text Formatting
Topic: Titlecase formatting
Replies: 1
Views: 8356

Titlecase formatting

The package "stringstrings" can be used to accomplish this task. See the post http://tex.stackexchange.com/a/4829 . This implementation is not the most elegant, nor does it cover all possible cases; however, it is a good first cut for those that want a quick solution. For a more robust solution, you ...
by rhino7890
Thu May 12, 2011 4:25 pm
Forum: Text Formatting
Topic: Titlecase formatting
Replies: 1
Views: 8356

Titlecase formatting

I was wondering if there is a LaTeX command that results in titlecase formatting of text. What I mean by titlecase formatting is capitalization of the first character of every word in a phrase except for small words such as to, the, on, etc (see http://www.editage.com/resources/pdf/case.pdf for a ...
by rhino7890
Sun Mar 27, 2011 6:54 pm
Forum: Fonts & Character Sets
Topic: Redefine % character mapping
Replies: 1
Views: 2131

Redefine % character mapping

So I figured out a solution:

Code: Select all

\catcode`\%=12
\DeclareMathSymbol{%}{\mathpunct}{mymathvariables}{"25}
\catcode`\%=14
For more information on what this is doing, see http://stackoverflow.com/questions/2498 ... -at-symbol.
by rhino7890
Thu Mar 24, 2011 10:10 pm
Forum: Fonts & Character Sets
Topic: Redefine % character mapping
Replies: 1
Views: 2131

Redefine % character mapping

I'm trying to remap the % character in mathmode to a different font. Typically, if I were to remap a character, I would do something like this:

\DeclareSymbolFont{mymathvariables}{<encoding>}{<fontfamily>}{<weight>}{<style>}
\DeclareSymbolFontAlphabet{\mathnormal}{mymathvariables ...
by rhino7890
Thu Mar 24, 2011 9:54 pm
Forum: Math & Science
Topic: Vertical alignment of \frac command
Replies: 1
Views: 3771

Vertical alignment of \frac command

So, I found a potential solution; however, it is not as versatile as the original fraction command (although it suites my purposes). Here is the code:


\renewcommand{\frac}[2]{ \mathchoice{\begingroup \raisebox{-3pt}{$\displaystyle #1$} \endgroup \over #2}{\begingroup \raisebox{-2pt}{$\scriptstyle ...
by rhino7890
Wed Mar 23, 2011 3:06 pm
Forum: Math & Science
Topic: Vertical alignment of \frac command
Replies: 1
Views: 3771

Vertical alignment of \frac command

I would like to modify the vertical alignment of the build in command \frac. Currently, the numerator floats a little too high and I would like to move it down some. I have come up with kind of a hack job by using boxes
\frac{\raisebox{-2pt}{1}}{2}
which lowers the top text by 2 pts, however this ...
by rhino7890
Thu Oct 07, 2010 9:05 pm
Forum: Text Formatting
Topic: Underline each line of a multiline form (using eforms)
Replies: 1
Views: 3674

Underline each line of a multiline form (using eforms)

So I figured out a way to get this to work :D . It may not be the most elegant way, but it works.

I ended up making a background which contained all of the underlines that I wanted in the text field. I then overlay the text field using the \vspace command to shift my current location in the ...
by rhino7890
Fri Oct 01, 2010 6:14 pm
Forum: Text Formatting
Topic: Underline each line of a multiline form (using eforms)
Replies: 1
Views: 3674

Underline each line of a multiline form (using eforms)

I am using the eforms package to make an interactive form. I would like to have an interactive text field that looks something like this

text ...
by rhino7890
Mon Sep 27, 2010 2:39 pm
Forum: Text Formatting
Topic: Measure remaining length of line
Replies: 5
Views: 13613

Re: Measure remaining length of line

Awesome! That did the trick. Thanks so much!
by rhino7890
Fri Sep 24, 2010 7:38 pm
Forum: Text Formatting
Topic: Measure remaining length of line
Replies: 5
Views: 13613

Measure remaining length of line

I am using the package eforms as found in the AcroTex bundle . With it, I am trying to make an electronic form in which the user fills out text fields. With eforms , you can make interactive text boxes in LaTeX using the command \textField{<ID>}{<box width>}{<box height>} .

Where I run into trouble ...