[latexrefman] New todo's

Bob solimeno at gmail.com
Mon Oct 15 17:55:19 CEST 2018


On this go-around I tried some lower hanging fruit and attempted to better
follow Jim's example with \footnote. Please let me know if this is closer
to the mark of what is desired.

Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/latexrefman/attachments/20181015/8e9c5403/attachment.html>
-------------- next part --------------
\accent

Synopsis:
			\accent<number> <character>
			
A TeX primitive command used to generate accented characters from accent marks and letters. The accent mark is selected by <number>, a numeric argument, followed by a space and then a <character> argument to construct the accented character in the current font.

Example: These are accented ``e'' characters: \accent18 e, \accent20 e, \accent21 e, \accent22 e,   and \accent23 e.

The position of the accent is determined by the font designer and so the product of \accent use may differ between fonts. In LaTeX it is desirable to have glyphs for accented characters rather than building them using \accent. Using glyphs that already contain the accented characters (as in T1 encoding) allow correct hyphenation whereas \accent disables hyphenation (specifically with OT1 font encoding where accented glyphs are absent).  

There are also issues with using \accent with Cyrillic accented characters. An unavoidable characteristic of some Cyrillic letters (and the majority of accented Cyrillic letters) is that they must be assembled from multiple elements (accents, modifiers, etc.) while \accent provides for a single accent mark and a single letter combination. There are also cases where accents must appear between letters that \accent does not support.  Still other cases exist where the letters I and J jave dots above their lowercase counterparts that conflict with dotted accent marks. The use of \accent in these cases will not work as it cannot analyze upper/lower case.

			
\alph, \Alph

Synopsis:
            \alph{counter}, \Alph{counter}
            
Commands that cause the counter(s) {counter} to be typeset as a lowercase or uppercase letter. Allowed values for {counter} with these commands range from 1 to 26.

Example:   

\documentclass{article}
\usepackage[utf8]{inputenc}

\renewcommand\thesection{\Alph{section}}
\renewcommand\thesubsection{\alph{subsection}}

\begin{document}
	
	\section{Introduction}
	
	\section{Discussion}
	
		\subsection{First point}
		
		\subsection{Second point}
		
\end{document}


Counters can be redefined, as in the example above, to typeset sections and subsections listed alphabetically as opposed to numeric counting of these sectioning commands. The same approach can be used for any document element that relies on a counter thaat normally typesets as a number. These and other related commands (e.g. \Roman and \roman) could also be used in a preamble to define a custom outline style for a nested enumerated environment (i.e. I. A. i. a. levels).
			
			









More information about the latexrefman mailing list