Aligning individual characters/glyphs like a monospace fontCan I turn a variable width font into a fixed-width font?grabbing a single Greek glyph from an alternative font in math mode?Text aligning like numbers aligningLongtable monospace fontMonospaced font with U+1D400..U+1D7FF range (for editing)?Fixing fonts with LuaTeX feature filesalternative to METAFONTAlign decimal point & proportional fontDefining individual glyphs breaks kerningHow is line spacing usually calculated?Taking individual glyphs from another font in fontspec

Is it improper etiquette to ask your opponent what his/her rating is before the game?

Ridge Regression with Gradient Descent Converges to OLS estimates

Fly on a jet pack vs fly with a jet pack?

Is camera lens focus an exact point or a range?

Is it possible to use .desktop files to open local pdf files on specific pages with a browser?

What is this type of notehead called?

Did US corporations pay demonstrators in the German demonstrations against article 13?

Have I saved too much for retirement so far?

Why in book's example is used 言葉(ことば) instead of 言語(げんご)?

Journal losing indexing services

Proving a function is onto where f(x)=|x|.

Proof of Lemma: Every nonzero integer can be written as a product of primes

How to align and center standalone amsmath equations?

Divine apple island

Why has "pence" been used in this sentence, not "pences"?

THT: What is a squared annular “ring”?

What does the Rambam mean when he says that the planets have souls?

Drawing a topological "handle" with Tikz

Why do IPv6 unique local addresses have to have a /48 prefix?

List of people who lose a child in תנ"ך

Do Legal Documents Require Signing In Standard Pen Colors?

Should I install hardwood flooring or cabinets first?

Is it possible to have a strip of cold climate in the middle of a planet?

Does the Mind Blank spell prevent the target from being frightened?



Aligning individual characters/glyphs like a monospace font


Can I turn a variable width font into a fixed-width font?grabbing a single Greek glyph from an alternative font in math mode?Text aligning like numbers aligningLongtable monospace fontMonospaced font with U+1D400..U+1D7FF range (for editing)?Fixing fonts with LuaTeX feature filesalternative to METAFONTAlign decimal point & proportional fontDefining individual glyphs breaks kerningHow is line spacing usually calculated?Taking individual glyphs from another font in fontspec













2















You know how most fonts and typography in general have characters/glyphs of various widths? Like if you compare a regular font:




A E I O U

Z X C V B

a e i o u

z x c v b




They don't quite line up perfectly like a fixed width or monospace font does:



A E I O U 
Z X C V B
a e i o u
z x c v b


I've just discovered how it's possible to align parts of a LaTeX document (still getting the hang of it) and I was curious to find out if it's possible to align and center every individual character of an ordinary font, so as to emulate fixed width characters of monospaced fonts.



If you look closely the actual characters are not all necessarily the same width, but the characters and the empty space around them amount to the same dimensions, which is what makes me think it might be possible:
A E I O U
a e i o u
Z X C V B
z x c v b



Some more obvious comparisons:
1 I ! | .
0 W ?



Anyway, it could be quite useful to me, if it's possible. Might end up just being to ugly for this life, but I'd like to give it a shot if anyone can think of a way to do it.










share|improve this question
























  • Have you seen tex.stackexchange.com/q/182972 ?

    – Thérèse
    5 hours ago











  • @Thérèse I have now, thanks.

    – tjt263
    5 hours ago
















2















You know how most fonts and typography in general have characters/glyphs of various widths? Like if you compare a regular font:




A E I O U

Z X C V B

a e i o u

z x c v b




They don't quite line up perfectly like a fixed width or monospace font does:



A E I O U 
Z X C V B
a e i o u
z x c v b


I've just discovered how it's possible to align parts of a LaTeX document (still getting the hang of it) and I was curious to find out if it's possible to align and center every individual character of an ordinary font, so as to emulate fixed width characters of monospaced fonts.



If you look closely the actual characters are not all necessarily the same width, but the characters and the empty space around them amount to the same dimensions, which is what makes me think it might be possible:
A E I O U
a e i o u
Z X C V B
z x c v b



Some more obvious comparisons:
1 I ! | .
0 W ?



Anyway, it could be quite useful to me, if it's possible. Might end up just being to ugly for this life, but I'd like to give it a shot if anyone can think of a way to do it.










share|improve this question
























  • Have you seen tex.stackexchange.com/q/182972 ?

    – Thérèse
    5 hours ago











  • @Thérèse I have now, thanks.

    – tjt263
    5 hours ago














2












2








2








You know how most fonts and typography in general have characters/glyphs of various widths? Like if you compare a regular font:




A E I O U

Z X C V B

a e i o u

z x c v b




They don't quite line up perfectly like a fixed width or monospace font does:



A E I O U 
Z X C V B
a e i o u
z x c v b


I've just discovered how it's possible to align parts of a LaTeX document (still getting the hang of it) and I was curious to find out if it's possible to align and center every individual character of an ordinary font, so as to emulate fixed width characters of monospaced fonts.



If you look closely the actual characters are not all necessarily the same width, but the characters and the empty space around them amount to the same dimensions, which is what makes me think it might be possible:
A E I O U
a e i o u
Z X C V B
z x c v b



Some more obvious comparisons:
1 I ! | .
0 W ?



Anyway, it could be quite useful to me, if it's possible. Might end up just being to ugly for this life, but I'd like to give it a shot if anyone can think of a way to do it.










share|improve this question
















You know how most fonts and typography in general have characters/glyphs of various widths? Like if you compare a regular font:




A E I O U

Z X C V B

a e i o u

z x c v b




They don't quite line up perfectly like a fixed width or monospace font does:



A E I O U 
Z X C V B
a e i o u
z x c v b


I've just discovered how it's possible to align parts of a LaTeX document (still getting the hang of it) and I was curious to find out if it's possible to align and center every individual character of an ordinary font, so as to emulate fixed width characters of monospaced fonts.



If you look closely the actual characters are not all necessarily the same width, but the characters and the empty space around them amount to the same dimensions, which is what makes me think it might be possible:
A E I O U
a e i o u
Z X C V B
z x c v b



Some more obvious comparisons:
1 I ! | .
0 W ?



Anyway, it could be quite useful to me, if it's possible. Might end up just being to ugly for this life, but I'd like to give it a shot if anyone can think of a way to do it.







fonts horizontal-alignment vertical-alignment






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 3 hours ago









siracusa

5,13011429




5,13011429










asked 6 hours ago









tjt263tjt263

1776




1776












  • Have you seen tex.stackexchange.com/q/182972 ?

    – Thérèse
    5 hours ago











  • @Thérèse I have now, thanks.

    – tjt263
    5 hours ago


















  • Have you seen tex.stackexchange.com/q/182972 ?

    – Thérèse
    5 hours ago











  • @Thérèse I have now, thanks.

    – tjt263
    5 hours ago

















Have you seen tex.stackexchange.com/q/182972 ?

– Thérèse
5 hours ago





Have you seen tex.stackexchange.com/q/182972 ?

– Thérèse
5 hours ago













@Thérèse I have now, thanks.

– tjt263
5 hours ago






@Thérèse I have now, thanks.

– tjt263
5 hours ago











2 Answers
2






active

oldest

votes


















2














I use a tabbed stack, with an input space as the tab character (it does not show in the output). I also force all columns to be equal width, which will take on the widest character in the matrix.



documentclassarticle
usepackage[T1]fontenc
usepackagetabstackengine
begindocument
setstackTAB
fixTABwidthT
tabbedCenterstack .\
0 W ? — …

enddocument


enter image description here



I can employ a negative tab gap, setstacktabbedgap-4pt, to squeeze the columns together, but then the em-dash and ellipsis overlap:



enter image description here






share|improve this answer
































    1














    A simple solution is to use the listingspackage with fixed width columns:



    documentclassarticle

    usepackage[utf8]inputenc
    usepackagelistings

    lstset
    columns=fixed,
    literate=—---1 …...1


    begindocument
    beginlstlisting
    A E I O U
    a e i o u
    Z X C V B
    z x c v b

    1 I ! | .
    0 W ? — …
    endlstlisting
    enddocument


    enter image description here



    Note that listings doesn't work well with Unicode characters (TeX.SX has several questions on that matter), so I used the literate option as a quick fix here.






    share|improve this answer






















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "85"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481269%2faligning-individual-characters-glyphs-like-a-monospace-font%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2














      I use a tabbed stack, with an input space as the tab character (it does not show in the output). I also force all columns to be equal width, which will take on the widest character in the matrix.



      documentclassarticle
      usepackage[T1]fontenc
      usepackagetabstackengine
      begindocument
      setstackTAB
      fixTABwidthT
      tabbedCenterstack .\
      0 W ? — …

      enddocument


      enter image description here



      I can employ a negative tab gap, setstacktabbedgap-4pt, to squeeze the columns together, but then the em-dash and ellipsis overlap:



      enter image description here






      share|improve this answer





























        2














        I use a tabbed stack, with an input space as the tab character (it does not show in the output). I also force all columns to be equal width, which will take on the widest character in the matrix.



        documentclassarticle
        usepackage[T1]fontenc
        usepackagetabstackengine
        begindocument
        setstackTAB
        fixTABwidthT
        tabbedCenterstack .\
        0 W ? — …

        enddocument


        enter image description here



        I can employ a negative tab gap, setstacktabbedgap-4pt, to squeeze the columns together, but then the em-dash and ellipsis overlap:



        enter image description here






        share|improve this answer



























          2












          2








          2







          I use a tabbed stack, with an input space as the tab character (it does not show in the output). I also force all columns to be equal width, which will take on the widest character in the matrix.



          documentclassarticle
          usepackage[T1]fontenc
          usepackagetabstackengine
          begindocument
          setstackTAB
          fixTABwidthT
          tabbedCenterstack .\
          0 W ? — …

          enddocument


          enter image description here



          I can employ a negative tab gap, setstacktabbedgap-4pt, to squeeze the columns together, but then the em-dash and ellipsis overlap:



          enter image description here






          share|improve this answer















          I use a tabbed stack, with an input space as the tab character (it does not show in the output). I also force all columns to be equal width, which will take on the widest character in the matrix.



          documentclassarticle
          usepackage[T1]fontenc
          usepackagetabstackengine
          begindocument
          setstackTAB
          fixTABwidthT
          tabbedCenterstack .\
          0 W ? — …

          enddocument


          enter image description here



          I can employ a negative tab gap, setstacktabbedgap-4pt, to squeeze the columns together, but then the em-dash and ellipsis overlap:



          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 3 hours ago

























          answered 3 hours ago









          Steven B. SegletesSteven B. Segletes

          159k9204412




          159k9204412





















              1














              A simple solution is to use the listingspackage with fixed width columns:



              documentclassarticle

              usepackage[utf8]inputenc
              usepackagelistings

              lstset
              columns=fixed,
              literate=—---1 …...1


              begindocument
              beginlstlisting
              A E I O U
              a e i o u
              Z X C V B
              z x c v b

              1 I ! | .
              0 W ? — …
              endlstlisting
              enddocument


              enter image description here



              Note that listings doesn't work well with Unicode characters (TeX.SX has several questions on that matter), so I used the literate option as a quick fix here.






              share|improve this answer



























                1














                A simple solution is to use the listingspackage with fixed width columns:



                documentclassarticle

                usepackage[utf8]inputenc
                usepackagelistings

                lstset
                columns=fixed,
                literate=—---1 …...1


                begindocument
                beginlstlisting
                A E I O U
                a e i o u
                Z X C V B
                z x c v b

                1 I ! | .
                0 W ? — …
                endlstlisting
                enddocument


                enter image description here



                Note that listings doesn't work well with Unicode characters (TeX.SX has several questions on that matter), so I used the literate option as a quick fix here.






                share|improve this answer

























                  1












                  1








                  1







                  A simple solution is to use the listingspackage with fixed width columns:



                  documentclassarticle

                  usepackage[utf8]inputenc
                  usepackagelistings

                  lstset
                  columns=fixed,
                  literate=—---1 …...1


                  begindocument
                  beginlstlisting
                  A E I O U
                  a e i o u
                  Z X C V B
                  z x c v b

                  1 I ! | .
                  0 W ? — …
                  endlstlisting
                  enddocument


                  enter image description here



                  Note that listings doesn't work well with Unicode characters (TeX.SX has several questions on that matter), so I used the literate option as a quick fix here.






                  share|improve this answer













                  A simple solution is to use the listingspackage with fixed width columns:



                  documentclassarticle

                  usepackage[utf8]inputenc
                  usepackagelistings

                  lstset
                  columns=fixed,
                  literate=—---1 …...1


                  begindocument
                  beginlstlisting
                  A E I O U
                  a e i o u
                  Z X C V B
                  z x c v b

                  1 I ! | .
                  0 W ? — …
                  endlstlisting
                  enddocument


                  enter image description here



                  Note that listings doesn't work well with Unicode characters (TeX.SX has several questions on that matter), so I used the literate option as a quick fix here.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 3 hours ago









                  siracusasiracusa

                  5,13011429




                  5,13011429



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481269%2faligning-individual-characters-glyphs-like-a-monospace-font%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      How to create a command for the “strange m” symbol in latex? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How do you make your own symbol when Detexify fails?Writing bold small caps with mathpazo packageplus-minus symbol with parenthesis around the minus signGreek character in Beamer document titleHow to create dashed right arrow over symbol?Currency symbol: Turkish LiraDouble prec as a single symbol?Plus Sign Too Big; How to Call adfbullet?Is there a TeX macro for three-legged pi?How do I get my integral-like symbol to align like the integral?How to selectively substitute a letter with another symbol representing the same letterHow do I generate a less than symbol and vertical bar that are the same height?

                      Българска екзархия Съдържание История | Български екзарси | Вижте също | Външни препратки | Литература | Бележки | НавигацияУстав за управлението на българската екзархия. Цариград, 1870Слово на Ловешкия митрополит Иларион при откриването на Българския народен събор в Цариград на 23. II. 1870 г.Българската правда и гръцката кривда. От С. М. (= Софийски Мелетий). Цариград, 1872Предстоятели на Българската екзархияПодмененият ВеликденИнформационна агенция „Фокус“Димитър Ризов. Българите в техните исторически, етнографически и политически граници (Атлас съдържащ 40 карти). Berlin, Königliche Hoflithographie, Hof-Buch- und -Steindruckerei Wilhelm Greve, 1917Report of the International Commission to Inquire into the Causes and Conduct of the Balkan Wars

                      Чепеларе Съдържание География | История | Население | Спортни и природни забележителности | Културни и исторически обекти | Религии | Обществени институции | Известни личности | Редовни събития | Галерия | Източници | Литература | Външни препратки | Навигация41°43′23.99″ с. ш. 24°41′09.99″ и. д. / 41.723333° с. ш. 24.686111° и. д.*ЧепелареЧепеларски Linux fest 2002Начало на Зимен сезон 2005/06Национални хайдушки празници „Капитан Петко Войвода“Град ЧепелареЧепеларе – народният ски курортbgrod.orgwww.terranatura.hit.bgСправка за населението на гр. Исперих, общ. Исперих, обл. РазградМузей на родопския карстМузей на спорта и скитеЧепеларебългарскибългарскианглийскитукИстория на градаСки писти в ЧепелареВремето в ЧепелареРадио и телевизия в ЧепелареЧепеларе мами с родопски чар и добри пистиЕвтин туризъм и снежни атракции в ЧепелареМестоположениеИнформация и снимки от музея на родопския карст3D панорами от ЧепелареЧепелареррр