Search found 10 matches
- 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 ...
- 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 ...
- 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:
For more information on what this is doing, see http://stackoverflow.com/questions/2498 ... -at-symbol.
Code: Select all
\catcode`\%=12
\DeclareMathSymbol{%}{\mathpunct}{mymathvariables}{"25}
\catcode`\%=14
- 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 ...
\DeclareSymbolFont{mymathvariables}{<encoding>}{<fontfamily>}{<weight>}{<style>}
\DeclareSymbolFontAlphabet{\mathnormal}{mymathvariables ...
- 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 ...
\renewcommand{\frac}[2]{ \mathchoice{\begingroup \raisebox{-3pt}{$\displaystyle #1$} \endgroup \over #2}{\begingroup \raisebox{-2pt}{$\scriptstyle ...
- 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 ...
\frac{\raisebox{-2pt}{1}}{2}
which lowers the top text by 2 pts, however this ...
- 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 ...
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 ...
- 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 ...
text ...
- 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!
- 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 ...
Where I run into trouble ...