하이픈 마이너스

Hyphen-minus
-
하이픈 마이너스
유니코드에서U+002D - 하이픈 마이너스
와는 다릅니다.
와는 다릅니다.U+2010 하이픈

U+2011 깨지지 않는 하이픈
U+2212 마이너스 부호
U+2013 EN DASH

U+2014 EM DASH

하이픈 마이너스 - 디지털 문서에서 널리 사용되는 가장 일반적인 하이픈 유형입니다.ASCII나 대부분의 키보드에서 마이너스 기호나 대시와 비슷한 유일한 문자이므로 이러한 문자에도 사용됩니다.[1]"하이픈 마이너스"라는 이름은 원래의 ASCII 표준에서 따온 것으로, "하이픈 – (마이너스)"라고 불렸습니다.[2][3]문자는 사용되는 상황에 따라 "하이픈", "마이너스 기호" 또는 "대시"로 불립니다.

묘사

-+
-+
하이픈 minus, 플러스 기호, 마이너스 기호
비례체와 단일체 글꼴로

초기의 단일 공간 글꼴 타이프라이터문자 인코딩에서는 하이픈, 마이너스, 다양한 대시, 스트라이크 스루에 하나의 키/코드가 거의 항상 사용되었는데, 이는 모두 외형이 거의 유사하기 때문입니다.현재 유니코드 표준은 U+2212 코드 포인트에서 모호하지 않은 마이너스 기호("Unicode minus"), U+2010 코드 포인트에서 모호하지 않은 "Unicode hypen", U+002D 하이픈-마이너스를 포함한 다양한 종류의 하이픈에 대해 고유한 문자를 지정합니다.하이픈이 필요할 때 하이픈 마이너스는 잘 알려진 대로 일반적인 선택이고 키보드에 입력하기 쉬우며 여전히 많은 데이터 형식과 컴퓨터 언어에서 인식되는 유일한 형태입니다.유니코드 표준에는 U+2010 하이픈이 하이픈 마이너스보다 "선호"된다고 명시되어 있지만,[4] 표준 자체는 하이픈 마이너스를 하이픈 문자로 사용합니다.[5]

대부분의 현대 글꼴에서 하이픈 마이너스는 "유니코드 하이픈"과 동일하거나 매우 유사합니다.[6][a]

플러스 기호가 포함된 수학 텍스트에서 하이픈 마이너스 기호를 마이너스 기호로 사용하면 일반적으로 매력적이지 않은 모양이 됩니다.유니코드 마이너스 기호와 달리 하이픈 마이너스 기호는 일반적으로 플러스 기호의 수평선보다 작고 높이가 다릅니다. 이미지를 참조하십시오.[b]

많은 워드 프로세서들은 하이픈 마이너스로 워드 랩을 하지만 "유니코드 하이픈" 기호 뒤에 워드 랩을 붙이지 않습니다.[citation needed]

사용하다

타자 치기

이 문자는 하이픈이나 마이너스 기호가 필요할 때 입력됩니다.오래된 타자기 규칙에 따라 한 쌍을 사용하여 엠대시를 표시하고 [7][8]주위에 공백을 두는 것이 일반적입니다.[citation needed] 일부 워드 프로세서자동으로 를 올바른 대시로 변환합니다.문자를 여러 번 입력하여 가로줄을 시뮬레이션할 수도 있습니다(대부분의 경우 밑줄을 반복 입력하면 실선이 생성됩니다).하이픈 마이너스를 공백과 교대하면 "대시" 선이 생성되며, 종이를 자를 위치를 나타내는 경우가 많습니다.타자기에서 텍스트의 섹션을 오버스트라이크하는 것은 스트라이크 쓰루에 사용됩니다.

프로그래밍 언어

대부분의 프로그래밍 언어는 뺄셈과 음수를 나타내기 위해 하이픈 마이너스를 사용합니다.[9][10]뺄셈으로 모호하기 때문에 범위를 나타내는 데 거의 사용되지 않습니다.일반적으로 유니코드 U+2212 - MINUS SIGN과 같은 다른 문자는 인식되지 않습니다.[citation needed]

일부 프로그래밍 언어(예: MySQL)--(2개의 하이픈 minus)은 코멘트의 첫 부분을 표시합니다.유즈넷 뉴스 시스템에서 시그니처 블록을 시작하는 데 사용할 수 있습니다.YAML 용도---(하이픈 마이너스 3개) 섹션을 끝냅니다.

명령줄

하이픈 마이너스 문자는 유닉스에서 널리 사용되는 규칙인 명령줄 옵션을 지정할 때 자주 사용됩니다."짧은" 형태의 예는 다음과 같습니다.-R아니면-q. 사용자는 다음을 사용하여 두 가지를 모두 지정할 수 있습니다.-Rq. 일부 구현에서는 두 하이픈-마이너스가 "긴" 옵션 이름을 다음과 같이 지정할 수 있습니다.--recursive아니면--quiet. 명령어를 읽을 때 이러한 내용을 쉽게 이해할 수 있습니다(일부 소프트웨어는 하이픈 마이너스의 수에 신경 쓰지 않고 한 글자 옵션 조합을 허용하지 않거나 사용자에게 재배치를 요구하여 긴 옵션과 일치하지 않음).하이픈 마이너스 자체가 두 배(공백 뒤에)이면 더 이상 옵션이 없음을 나타내며 하이픈 마이너스로 시작하는 파일 이름을 지정해야 할 때 유용합니다.파일 이름 대신 하이픈 마이너스(공백 뒤에) 옵션을 인식할 수 있으며 stdin을 읽어야 함을 나타냅니다.

diff산출량

-컨텍스트 형식 또는 통합 형식의 출력에서 삭제된 줄을 표시하는 데 사용됩니다.

인코딩

글리프의 유니코드 코드 포인트는 U+002D - HYPEN-MINUS입니다.같은 값의 ASCII에도 있습니다.

참고 항목

해설서

  1. ^ Lucida Sans Unicode에서 하이픈 마이너스는 엔데시와 동일하게 그려집니다.
  2. ^ 정확한 관계는 서체 설계 선택에 따라 달라집니다.

참고문헌

  1. ^ Korpela, Jukka K. (2006). Unicode explained. O'Reilly. p. 382. ISBN 978-0-596-10121-3.[데드링크]
  2. ^ "3.1 General scripts" (PDF). Unicode Version 1.0 · Character Blocks. p. 30. Archived (PDF) from the original on 21 November 2021. Retrieved 10 December 2021. Loose vs. Precise Semantics. Some ASCII characters have multiple uses, either through ambiguity in the original standards or through accumulated reinterpretations of a limited codeset. For example, 27 hex is defined in ANSI X3.4 as apostrophe (closing single quotation mark; acute accent), and 2D hex as hyphen minus. In general, the Unicode standard provides the same interpretation for the equivalent code values, without adding to or subtracting from their semantics. The Unicode standard supplies unambiguous codes elsewhere for the most useful particular interpretations of these ASCII values; the corresponding unambiguous characters are cross-referenced in the character names list for this block. In a few cases, the Unicode standard indicates the generic interpretation of an ASCII code in the name of the corresponding Unicode character, for example U+0027 is APOSTROPHE-QUOTE'.
  3. ^ "American National Standard X3.4-1977: American Standard Code for Information Interchange" (PDF). National Institute of Standards and Technology. p. 10 (4.2 Graphic characters). Archived (PDF) from the original on 9 October 2022. Retrieved 10 December 2021.
  4. ^ "The Unicode Standard, Version 13.0, Chapter 6.2" (PDF). 2020. General Punctuation § Dashes and Hyphens. Archived (PDF) from the original on 22 January 2021. Retrieved 30 December 2020.
  5. ^ Korpela, Jukka. "Dashes and Hyphens § Typographic Usage". Archived from the original on 26 January 2021. Retrieved 30 December 2020.
  6. ^ Marian, Jakub. "Hyphen, minus, en-dash, and em-dash: difference and usage in English". Archived from the original on 25 December 2020. Retrieved 23 December 2020. A hyphen is usually very short (it has its own Unicode character, but you can use the hyphen-minus instead because it looks the same) ...
  7. ^ French, Nigel (2006). InDesign Type: Professional Typography with Adobe InDesign CS2. Adobe Press. p. 72. ISBN 9780321385444. Retrieved 4 July 2020.
  8. ^ Bringhurst, Robert (2004). The elements of typographic style (third ed.). Hartley & Marks, Publishers. p. 80. ISBN 978-0-88179-206-5. Retrieved 10 November 2020. In typescript, a double hyphen (--) is often used for a long dash. Double hyphens in a typeset document are a sure sign that the type was set by a typist, not a typographer. A typographer will use an em dash, three-quarter em, or en dash, depending on context or personal style. The em dash is the nineteenth-century standard, still prescribed in many editorial style books, but the em dash is too long for use with the best text faces. Like the oversized space between sentences, it belongs to the padded and corseted aesthetic of Victorian typography.
  9. ^ Ritchie, Dennis (c. 1975). "C Reference Manual" (PDF). Bell Labs. Archived (PDF) from the original on 3 April 2017. Retrieved 7 December 2016.
  10. ^ Marlow, Simon (ed.). Haskell 2010 Language Report (PDF). Archived (PDF) from the original on 4 December 2016. Retrieved 7 December 2016.[페이지 필요]

외부 링크

  • - at Wiktionary의 사전 정의